MATLAB 一▣x File Edit Debug Desktop Window Help De 品电隐 C:Program Files\ATLAB704work Shortcuts☑How to A,cdd☑hat'sNew Current Directory-...iles\MATLAB704\work X mmand Window a× 白半民· All Files This is a classroom License for instructional use only. dipole.fig Research and commercial use is prohibited. ☒Example11_3.asv 园lin.m To get started,select MATLAB Help or Demos from the Help mel ☒mike_quiver..asv Command Window Current Directory Enter commands at the prompt Current Directory Workspace Command History surf(z) MATLAB Windows shading interp Command History n-gca set (h,'Color',white') Workspace Window h=gcf set (h,'Color','white') view(3】 -plot (data) 10/16/05 5:37PM--÷ Start
Command Window Current Directory Enter commands at the prompt MATLAB Windows Command History Workspace Window
◆MATLAB -回☒ File Edit Debug Desktop Window Help D含 品助 等图? C:Program FilesATLAB704twork Shortcuts How to Add What's New Workspace Command Window 省副想品昌 Base >> Name Value Size You can use the command window A much like you'd use a Current Directory Workspace Command History calculator sqrt(5) cos(pi) The standard order of clear,clc operation rules apply X x=1:10 clear,clc Start OVR
You can use the command window much like you’d use a calculator The standard order of operation rules apply
上海交通大学交大密西根 ·联合学院一 181 UM-SJTU Joint Institute University of Michigan Shanghal Jiao Tong University MATLAB Windows 。 MATLAB uses several different windows to display data,commands and results. They are not necessarily all open at once Let's look at the windows one at a time
MATLAB Windows MATLAB Windows • MATLAB uses several different windows to display data, commands and results. • They are not necessarily all open at once • Let’s look at the windows one at a time
Command window ■ MATLAB -▣x File Edit Debug Desktop Window Help ☐子名唱色TS?C:MATLA67work 可口包 Shortcuts How to Add What's New Current Directory-C:\MAT...aX Command Window 刀× 包牛)民 >> All Files ☐airfare.asv Command Window airfare.m animation.asv animation.m Similar to a scratch pad beep_sound.m 国d.m Once you hit enter,you can't edit Current Directory Workspace any commands Command History 不× 7/15/052:11 ● You can retype them or use the arrow keys to retrieve commands and edit them before hitting enter again Start
Command Window Command Window • Similar to a scratch pad • Once you hit enter, you can’t edit any commands • You can retype them or use the arrow keys to retrieve commands and edit them before hitting enter again Command Window
上海交通大学交大密西根 联合学院一 181 UM-SJTU Joint Institute University of Michigan Shanghal Jiao Tong University Practice Exercise 1 Type the following -6.3-2.1045 expressions into -3.62 MATLAB at the -1+2^2 command window - sqrt(5) -5+2 cos(pi) -5*2 5/2 -3+2*(4+3) -2.54*8/2.6
Practice Exercise 1 Practice Exercise 1 • Type the following expressions into MATLAB at the command window – 5 + 2 – 5*2 – 5/2 – 3 + 2*(4 + 3) – 2.54 * 8 / 2.6 – 6.3 - 2.1045 – 3.6^2 – 1 + 2^2 – sqrt(5) – cos(pi)