Introduction to MATLAB(1/22) Short for MATrix LABoratory > Matlab is both a powerful computational environment and a programming language that easily handles matrix and complex arithmetic Mainly including MATLAB and Simulink CDHAW 同停大学 TONGJI UNIVERSITY
Introduction to MATLAB(1/22) Short for MATrix LABoratory ➢ Matlab is both a powerful computational environment and a programming language that easily handles matrix and complex arithmetic ➢ Mainly including MATLAB and Simulink
Introduction to MATLAB(2/22) 念a形 >Advantages of MATLAB ·Ease of use Platform independence Predefined functions 。Plotting Disadvantages of MATLAB Can be slow 。Expensive @日济大学 TONGJI UNIVERSITY
Introduction to MATLAB(2/22) ➢ Advantages of MATLAB • Ease of use • Platform independence • Predefined functions • Plotting ➢ Disadvantages of MATLAB • Can be slow • Expensive
Introduction to MATLAB(3/22 MATLAB Environment > MATLAB Desktop Command Window Figure Windows Edit/Debug Window Command History Window Workspace Browser and Array Editor Help Browser Current Directory Browser CDHAW 细凡济大学 TONGJI UNIVERSITY
Introduction to MATLAB(3/22) MATLAB Environment ➢ MATLAB Desktop • Command Window • Figure Windows • Edit/Debug Window • Command History Window • Workspace Browser and Array Editor • Help Browser • Current Directory Browser
Introduction to MATLAB(4/22 MATLAB Environment MATLAB Desktop Help Browser ATLA甜 回 Commn wintow 111 Command ☐arop学.asY To view or change Window 闐IPx bap OThanbs.a the current directory 811 Workspace Current Directory Browser Browser .c for i=l te 100 ea) PHAW @同陈大学 -2/01/05400W-% Command History TONGJI UNIVERSITY 5 Window
Introduction to MATLAB(4/22) MATLAB Environment MATLAB Desktop Workspace Browser Command Window Current Directory Browser Command History Window To view or change the current directory Help Browser
Introduction to MATLAB(5/22 MATLAB Environment Command Window The command prompt (>> ·πis predefined,use pi Ellipsis(...),continuing on the next line x1=1+1/2+1/3+1/4+1/5+1/6; and x1=1+1/2+1/3+1/4.. +1/5+1/6; CDHAW 细月济大学 TONGJI UNIVERSITY
Introduction to MATLAB(5/22) MATLAB Environment ➢ Command Window • The command prompt (>>) • π is predefined ,use pi • Ellipsis(…),continuing on the next line x1=1+1/2+1/3+1/4+1/5+1/6; and x1=1+1/2+1/3+1/4… +1/5+1/6;