Learning MATLAB Version 6 (Release 12) phần 3 ppsx
... font, such as Fixedsys or Courier. x = [4 /3 1. 234 5e -6] format short 1 .33 33 0.0000 format short e 1 .33 33e+000 1. 234 5e-0 06 format short g 1 .33 33 1. 234 5e-0 06 Expressions 4-11 All numbers are stored ... [A A +32 ; A+48 A+ 16] The result is an 8-by-8 matrix, obtained by joining the four submatrices. B = 16 3 2 13 48 35 34 45 5 10 11 8 37 42 43 40 9 6 7 12 41 38...
Ngày tải lên: 12/08/2014, 20:22
... ezplot(P) 7 Symbolic Math Toolbox 7 -66 returns [ 1., .5000000000000000, .33 333 333 333 333 33] [.5000000000000000, .33 333 333 333 333 33, .2500000000000000] [ .33 333 333 333 333 33, .2500000000000000, .2000000000000000] The ... with the toolbox, the statements digits(25) vpa('1/2+1 /3& apos;) use variable-precision arithmetic to return . 833 333 333 333 333 333 333 333 3 The floati...
Ngày tải lên: 12/08/2014, 20:22
... . 3- 2 Starting and Quitting MATLAB . . . . . . . . . . . . . . . . . . . . . . . . 3- 3 Starting MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3- 3 Quitting MATLAB ... start MATLAB. Double-click the MATLAB icon on your desktop. (Linux) Enter the matlab command. I’m new to MATLAB and want to learn it quickly. Start by reading Chapters 1 through...
Ngày tải lên: 12/08/2014, 20:22
Learning MATLAB Version 6 (Release 12) phần 2 pot
... [ 16 3 2 13; 5 10 11 8; 9 6 7 12; 4 15 14 1] Starting and Quitting MATLAB 3- 3 Starting and Quitting MATLAB Starting MATLAB On a Microsoft Windows platform, to start MATLAB, double-click the MATLAB ... xFree 86 3. 3.x (3. 3 .6 or higher recommended) • X Windows (X11R6) • 110 MB free disk space for MATLAB, Simulink, and Symbolic Math Toolbox • 64 MB memory, additional memor...
Ngày tải lên: 12/08/2014, 20:22
Learning MATLAB Version 6 (Release 12) phần 4 doc
... Bytes Class X 64 8x509 2 63 865 6 double array caption 2x28 112 char array map 128x3 30 72 double array load the file durer.mat, adding three variables to the workspace. The matrix X is a 64 8-by-509 ... is equivalent to plot(real(Z),imag(Z)) 0 1 2 3 4 5 6 7 −1 −0.8 −0 .6 −0.4 −0.2 0 0.2 0.4 0 .6 0.8 1 Basic Plotting 5-11 Setting Axis Limits By default, MATLAB finds the maxima a...
Ngày tải lên: 12/08/2014, 20:22
Learning MATLAB Version 6 (Release 12) phần 5 potx
... Dürer’s. M(:,: ,3) ans = 16 3 2 13 5 10 11 8 9 6 7 12 4 15 14 1 16 3 2 13 8 11 10 8 12 7 6 12 1 14 15 1 16 2 13 3 10 8 11 10 6 12 7 6 15 1 14 15 13 16 2 3 8 5 11 10 12 9 7 6 1 4 14 15 16 2 3 13 ... contains these MATLAB commands. % Investigate the rank of magic squares r = zeros(1 ,32 ); for n = 3: 32 r(n) = rank(magic(n)); end 6 Programming with M...
Ngày tải lên: 12/08/2014, 20:22
Learning MATLAB Version 6 (Release 12) phần 6 ppt
... command A = hilb (3) generates the 3- by -3 Hilbert matrix. A = 1.0000 0.5000 0 .33 33 0.5000 0 .33 33 0.2500 0 .33 33 0.2500 0.2000 By applying sym to A A = sym(A) 6 Programming with MATLAB 6- 32 modes Graphical ... without causing MATLAB to generate an error. For example, given a matrix A, A = 0 -6 -1 6 2 - 16 -5 20 -10 The eig command returns the eigenvalues of A. ei...
Ngày tải lên: 12/08/2014, 20:22
Learning MATLAB Version 6 (Release 12) phần 7 pps
... sym('2 /3* pi'); F1 = F+c*J F1 = 2 /3* atan(1 /3* tan(1/2*x))+2 /3* pi*round(1/2*x/pi) and plot the result. ezplot(F1,[ -6. 28 ,6. 28]) This representation does have a continuous graph. 6 −4 −2 0 2 4 6 −1.5 −1 −0.5 0 0.5 1 1.5 x atan(tan(x)) Fx () Jx () Jx () Fx () 7 ... odd multiples of . Fx () 6 −4 −2 0 2 4 6 −1 −0.8 −0 .6 −0.4 −0.2 0 0.2 0.4 0 .6 0.8 1 x 2 /3 atan(1 /3...
Ngày tải lên: 12/08/2014, 20:22
Learning MATLAB Version 6 (Release 12) phần 9 potx
... 3. 14159 265 34 9 961 0 531 438 568 38 564 ] [ 3. 14159 265 35 8 767 36 1 71 239 261 238 4 ] [ 3. 14159 265 35 8975 439 2 068 49907220 ] [ 3. 14159 265 35 897927 034 2 63 5559051 ] [ 3. 14159 265 35 897 932 332 5290142781 ] [ 3. 14159 265 35 897 932 38 43 066 8 467 12 ... 16 and digits (30 ), the result is S = [ 1.20 968 13 760 566 898 533 245 568 535 7 ] [ 2 .69 162 15 868 6...
Ngày tải lên: 12/08/2014, 20:22
Learning MATLAB Version 6 (Release 12) phần 10 pps
... 4-10 entering matrices 4 -3 environment 3- 2 eps 7-8 erase mode 5 -37 eval 6- 22 executing MATLAB 3- 3 exiting MATLAB 3- 3 expand 7-44 exporting data 3- 15 expressions 4-10, 4- 13 evaluating 6- 22 external programs, ... numbers 7 -60 variables 4-10 global 6- 20 local 6- 19 vector 4-2 logical 4-25 preallocating 6- 23 vectorization 6- 23 version control systems, interfacin...
Ngày tải lên: 12/08/2014, 20:22