Lecture 3 - Chapter 2 MATLAB Basics MATLAB Matrix...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 2 MATLAB Basics
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MATLAB Mat rix Lab oratory
Background image of page 2
Why MATLAB? Industry standard software application Wealth of built-in functions and libraries Toolboxes (add-on software modules) – image and signal processing, control systems design, fuzzy logic, etc. Has own structured programming language Ease of application and testing (pre- and post- processing without lots of programming and formatting) Platform independent
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MATLAB Can write “programs”, but they are not formally compiled Should still use structured programming Should still use comments Comments are indicated by % ” at the beginning of the line
Background image of page 4
Comments!!! Program Documentation You must include comments in the computer programs you turn in -- otherwise we will have great difficulty knowing what you are doing It will always benefit yourself most!!!
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
For example, here is some cryptic code without comment for j=0:2 k=(2-j)*(1+3*j)/2 end Put a comment in Put a comment in % turns (0,1,2) into (1,2,0) What does it do?
Background image of page 6
MATLAB Windows Command Window -- enter commands and data -- print results Graphics Window -- display plots and graphs Edit Window -- create and modify m-files
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/15/2010 for the course EGM 5403 taught by Professor Mei during the Spring '10 term at University of Florida.

Page1 / 19

Lecture 3 - Chapter 2 MATLAB Basics MATLAB Matrix...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online