1 / 8

MATLAB The Basics

MATLAB The Basics. CAPS – Sp12. Just a Fancy Calculator???. Many Uses. + Basic calculations - 2+2=4 + Ability to Save Calculations + Matrix Operations - Systems of Equations + Programming - Numerical Analysis - Robotics. Common Problems.

lovey
Download Presentation

MATLAB The Basics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MATLAB The Basics CAPS – Sp12

  2. Just a Fancy Calculator???

  3. Many Uses + Basic calculations - 2+2=4 + Ability to Save Calculations + Matrix Operations - Systems of Equations + Programming - Numerical Analysis - Robotics

  4. Common Problems + Setting the Working Folder - Matlab will only look in one location for anything referenced + Spelling + Proper Form

  5. Concerning Form + Precision is Key - Logic rules - Matlab can’t think for itself + Use Proper notation - Order of Operations - Consistency - Upward Looking

  6. Useful Information + Prebuilt Functions - Trig: sin, cos, tan, sind, cosd, tand - Dot-operator + Matrices - Brackets, Commas, Semi-colons, Spaces - Matrix algebra - Matrix Functions * sum, max, min, sort, etc.

  7. Functions • Created for specific tasks designed for repeatable tasks reference in other scripts/functions • Notation is important (Who would have guessed?) + Header function output = name(input) + Description comment directly below the header

  8. ‘If’ statements • Conditional commands • Input must be evaluated as True or False • Operates on an if-then basis • Also can use ‘elseif’ and ‘else’ for sequential decisional processing

More Related