# How to work on Matlab.......

100 %
0 %
Information about How to work on Matlab.......

Published on June 25, 2008

Author: biinoida

Source: slideshare.net

INTRODUCTION TO MATLAB SUBMITTED BY CHINMAYA MAHAPATRA

WHAT IS MATLAB MATLAB stands for matrix laboratory. It is a high-performance language for technical computing. It integrates computation, visualization, and programming in an easy-to-use environment where problems and solutions are expressed in familiar mathematical notation

MATLAB stands for matrix laboratory. It is a high-performance language for technical computing. It integrates computation, visualization, and programming in an easy-to-use environment where problems and solutions are expressed in familiar mathematical notation

USES Math and computation Algorithm development Data acquisition Modeling, simulation, and prototyping Data analysis, exploration, and visualization Scientific and engineering graphics Application development, including graphical user interface building

Math and computation

Algorithm development

Data acquisition

Modeling, simulation, and prototyping

Data analysis, exploration, and visualization

Scientific and engineering graphics

Application development, including graphical user interface building

MATLAB LANGUAGE It accepts only vectors or arrays as inputs. All the valid syntax of ‘c’ and ‘c++’ are valid syntax here. Writing a program in MATLAB is just like writing an algorithm. It is user friendly . Many default commands do those works which require big programs to be written in ‘c’ or ‘c++’.

It accepts only vectors or arrays as inputs.

All the valid syntax of ‘c’ and ‘c++’ are valid syntax here.

Writing a program in MATLAB is just like writing an algorithm.

It is user friendly .

Many default commands do those works which require big programs to be written in ‘c’ or ‘c++’.

STARTING AND QUITTING MATLAB To start MATLAB on Microsoft Windows platform select the Start -> Programs -> MATLAB 7.0 -> MATLAB 7.0 Double-click the MATLAB shortcut icon on your Windows desktop. To quit MATLAB Click the close box × in the MATLAB desktop. Select Exit MATLAB from the desktop File menu. Type quit at the Command Window prompt.

To start MATLAB on Microsoft Windows platform

select the Start -> Programs -> MATLAB 7.0 -> MATLAB 7.0

Double-click the MATLAB shortcut icon on your Windows desktop.

To quit MATLAB

Click the close box × in the MATLAB desktop.

Select Exit MATLAB from the desktop File menu.

Type quit at the Command Window prompt.

MATLAB WINDOW

WRITING A PROGRAM IN MATLAB Follow the steps written and the figure shown Open a mat (.m) file in the MATLAB window . Click on file menu -> save -> your file name.m to save a file in MATLAB for further use . All the saved files can be accessed from the workspace directory present in MATLAB folder. Results of all the command written in .m editor can be seen in command prompt if programs are written without semicolon in .m editor. Press F5 to run the program after saving it.

Follow the steps written and the figure shown

Open a mat (.m) file in the MATLAB window .

Click on file menu -> save -> your file name.m to save a file in MATLAB for further use .

All the saved files can be accessed from the workspace directory present in MATLAB folder.

Results of all the command written in .m editor can be seen in command prompt if programs are written without semicolon in .m editor.

Press F5 to run the program after saving it.

Write clc; (to clear screen) Close all; (to clear command history) Clear all; (to clear workspace history) Figure below shows some command in command window. Just type x, y and x+y.

Write clc; (to clear screen)

Close all; (to clear command history)

Clear all; (to clear workspace history)

Figure below shows some command in command window. Just type

x, y and x+y.

SIMPLE PLOT BAR PLOT STEM PLOT

CONCLUSION This provides the basic knowledge on MATLAB. In the MATLAB window by typing help all the commands can be found out. In the MATLAB window go to help toolbox . In that go to bioinformatics toolbox to perform jobs like Blast Sequence alignment Phylogenetic analysis Micro array analysis

This provides the basic knowledge on MATLAB.

In the MATLAB window by typing help all the commands can be found out.

In the MATLAB window go to help toolbox .

In that go to bioinformatics toolbox to perform jobs like

Blast

Sequence alignment

Phylogenetic analysis

Micro array analysis

 User name: Comment:

## Related pages

### MATLAB - MathWorks

MATLAB Is Designed for Engineers and Scientists. Explore more ideas in less time using an environment tuned to the way you work. Learn more

### MATLAB Documentation - MathWorks Deutschland

Getting Started . Learn the basics of MATLAB. Language Fundamentals. Syntax, operators, data types, array indexing and manipulation. Mathematics. Linear ...

MATLAB is a high-level language and interactive environment that enables you to perform ... The download link does not work. The software has a ...

### FAQ - MATLAB Wiki - Wikia

... matlabwiki.mathworks.com/MATLAB_FAQ+matlab+faq&cd=1&hl=en&ct=clnk&gl ... but this seems to not always work. GUIDE in MATLAB version >= 6.5 includes a ...

### MATLAB - Eine Einführung - Technikum Wien

... MATLABR12toolboxmatlabops ..... C:MATLABR12work In unserem Fall wurde uebung1.mat im Verzeichnis C:SusanneMatlab abgespeichert. Wir

### Work with Mobile Robotics Algorithms in MATLAB - YouTube

Want to watch this again later? Sign in to add this video to a playlist. Get a Free Trial: https://goo.gl/C2Y9A5 Get Pricing Info: https://goo ...