Docsity

MATLAB Basics: Manipulating the Desktop, Commands, Matrix Operations, and Plotting, Slides of Aerospace Engineering

Partial preview of the text

Download MATLAB Basics: Manipulating the Desktop, Commands, Matrix Operations, and Plotting and more Slides Aerospace Engineering in PDF only on Docsity!

Topics Covered

  • Basic Ideas:
    • MATLAB Desktop manipulation
    • Basic Commands
    • Matrix Operations
    • Format
    • Using Help
    • Save
  • Using MATLAB Functions:
    • Quick function guide
    • Trigonometric functions
    • Logical Operations
  • Plotting with MATLAB:
    • Optimization Problem
    • Help Plot
    • Importing

BASIC IDEAS

Menu Bar

  • Contains the commands you can use to perform certain tasks

Current Directory

  • Shows the active directory.

Start Button 2/

  • Select the “Start Button”
  • Mouse over the “Web button”
  • Select the “The MathWorks Web Site” to access the product webpage
  • Start button 3/

Workspace

  • Creates, imports, displays the name, value, min, and max size of the variables.

Command History Window

  • Shows the time/date at which commands were issued.

Window Manipulation 2/

  • First on the menu bar: Help>Product help. A window should shift from the left to the right

Window Manipulation 3/

  • Select the curved arrow on the blue bar in the help window. This will un-dock the help browser.
  • Exit the help browser

Window Manipulation 5/

  • The workspace window is now “tabbed” with the working directory window on the left side of the desktop.

Window Manipulation 6/

  • Drag the Command history window on the right side of the screen to the left bottom side until it matches the outline in the picture below.

Window Manipulation 8/

  • Now save the layout of desktop:
    • In the menu bar: Desktop>Save Layout...>Type: “practicum default”>press OK

BASIC COMMANDS