1 / 23

Exploring MATLAB Environment Features and Math Calculations

Discover the benefits and drawbacks of MATLAB, including ease of use, predefined functions, and flexibility. Learn key commands and how to perform a volume calculation for a cylindrical tank.

bdeangelo
Download Presentation

Exploring MATLAB Environment Features and Math Calculations

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. ISE 212 ENGINEERING COMPUTING

  2. Chapter 2MATLABEnvironment

  3. AdvantagesEase of Use Predefined Functions Graphical User Interface Device-Independent Plotting Platform Independence Flexibility

  4. DisadvantagesSlower Cost

  5. WindowsCommand Figure Edit/Debug

  6. MATLAB Desktop Major ToolsCommand Window Command History APPS Launch Pad Edit/Debug Figure Workspace Browser / Array Editor Help Browser Current Directory Browser

  7. Search Path Protocol1. Variable 2. Function (built-in) 3. Command (built-in) 4. M-file (current directory) 5. M-file (search path)

  8. Important Commandsclc – clear Command Window clf – clear Figure Window clear – clear variables in Workspace ! – embeds operating system commands directly into programs

  9. Volume of a Circular CylinderThe volume of a circular cylinder of height h and radius r is given by V = πr2h. A cylindrical tank is 15 m tall and has a radius of 8 m. Construct another cylindrical tank with a volume 20 % greater but having the same height. How large must its radius be?Note: π = pi √ = sqrt

More Related