An interactive introduction to MATLAB
an interactive introduction to MATLAB The University of Edinburgh, School of Engineering Craig Warren,©2010- ...
...
A B O U T T H E C O U R S E This course was developed in the School of Engineering to provide appropriate material for teachingM ...
Figure 1: A University of Edinburgh screencast document screencasts are indicated by a link in a blue box with a clapperboard ic ...
An example exercise Example exercise solutions Additionally there are grey box environments in this document. Like the example s ...
Development of the course The development of this course was funded through The Edinburgh Fund Small Project Grant which is part ...
C O N T E N T S ...
...
...
0.1 What isMATLAB? 0.2 How isMATLABused in industry? 1 basic concepts 1.1 MATLABin the School of Engineering 1.2 TheMATLABenvir ...
A B O U T M AT L A B 0.1 What isMATLAB? MATLABis produced by MathWorks, and is one of a number of commercially available softwar ...
2 List of Tables Greenhouse Designed withMATLABand Simulink Revolutionizes Agri- culture in Arid Coastal Regions (http://www.ma ...
1 basic concepts 1.1 MATLABin the School of Engineering MATLABis currently available under Microsoft Windows 7 and Linux oper- a ...
4 basic concepts 4 1 3 2 Figure 2: TheMATLABdesktop The MATLAB desktop (http://www.eng.ed.ac.uk/teaching/courses/matlab/unit01/M ...
1.3basic calculations 5 Listing 1.3: Trigonometry 1 >> sin(2*pi)+exp(−3/2) 2 ans = 3 0. The arguments to trigonometric fun ...
6 basic concepts Table 1: Arithmetic operations command description + Addition − Subtraction * Multiplication / Division ^ Expon ...
1.4variables and arrays 7 You may have noticed that the result of each of the basic calculations you performed was always assign ...
8 basic concepts array withmrows andncolumns is called a matrix of sizem×n. Listings 1.7– 1.10 demonstrate how to create row and ...
1.4variables and arrays 9 Listing 1.10: Creating vectors using ranges 1 >> z = 8:1: 2 z = 3 8 9 10 5 >> v = linspace ...
10 basic concepts 12 35 32 13 29 41 14 >> a.*b 15 ans = 16 8 21 17 45 6 18 >> c = [1 2 3 4] 19 c = 20 1 2 3 4 21 > ...
«
1
2
3
4
5
6
»
Free download pdf