Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (1 vote)
105 views

Experiment-01 AIM - Introduction of Matlab and Its Basic Commands

This document introduces the basics of MATLAB, including its capabilities for numeric computation, data analysis, visualization, and programming. It provides an overview of some basic MATLAB commands for clearing variables, changing directories, displaying dates and directories, and displaying file contents. It also describes some basic plotting commands like plot, stem, loglog, and bar. Finally, it discusses the main panels of the MATLAB interface - the command window, current folder, command history, editor window, figure window, and workspace.

Uploaded by

Devkant Sharma
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
105 views

Experiment-01 AIM - Introduction of Matlab and Its Basic Commands

This document introduces the basics of MATLAB, including its capabilities for numeric computation, data analysis, visualization, and programming. It provides an overview of some basic MATLAB commands for clearing variables, changing directories, displaying dates and directories, and displaying file contents. It also describes some basic plotting commands like plot, stem, loglog, and bar. Finally, it discusses the main panels of the MATLAB interface - the command window, current folder, command history, editor window, figure window, and workspace.

Uploaded by

Devkant Sharma
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

EXPERIMENT- 01

AIM- Introduction of Matlab and its basic commands.

INTRODUCTION:-
MATLAB (Matrix Laboratory) is an interactive, matrix- based system for scientific and
engineering numeric computation and visualization. It integrates computation, visualization
and programming in an easy to use environment where problems and solutions are expressed
in familiar mathematical notations. MATLAB has extensive facilities for displaying vectors
and matrices as graphs as well as annotating and printing these graphs. The name MATLAB
stands for Matrix Laboratory since its basic data element is a matrix (array). MATLAB
contains a number of arithmetic, relational and logical operations on matrices.

MATLAB is the high level language and interactive environment used by the millions of
engineers and scientists worldwide. MATLAB has following capabilities such as Numeric
computations, data analysis and visualization, programming and algorithm development.

Typical uses includes:

Math and computation

Algorithm development

Modelling, simulation, and prototyping

Data analysis, exploration, and visualization

Scientific and engineering graphics

Application development, including Graphical User Interface building .

SOME BASIC MATLAB COMMANDS:-

COMMAND PURPOSE

1. clc clear command window

2. clear removes variables from memory

3. cd changes current directory

4. date displays current date

5. pwd displays current directory

6. type displays contents of file


7. delete deletes a file

8. disp displays contents of an array or string

SIMPLE PLOTTING COMMANDS:-


COMMAND PURPOSE

1. plot plot in linear convolution as a continuous function

2. stem plot in linear coordinates as discrete samples

3. loglog logarithm x and y axes

4. bar bar graph

5. errorbar error bar graph

6.hist histogram

7.polar polar coordinates

COMMAND WINDOW:-
Three commonly used panels : command window, current folder and command history. The
main purpose of command window is to enter variables and run programs. The main purpose
of command history is to shows the logs commands entered in the command window.The
current folder shows the files in the current directory.
EDITOR WINDOW:-
The main purpose of editor window is to create and debugs script and function files.
FIGURE WINDOW:-
A figure window contains graphs created by putting commands in the command window.
The main purpose of figure window is to contains output from graphic commands.

WORKSPACE:-
Workspace displays the workspace browser, a graphical user interface that allows you to view
and manage the contents of the matlab programs. It provides a graphical representation of the
whos display, and allows you to perform the equivalent of the clear , load, open and save
functions.

You might also like