Engineering Matlab Problem Solving phần 9 pot
... polynomials. 10.2 Applied Problem Solving: Hydraulic Engineering The following application is from Matlab for Engineering Applications by William J. Palm III (McGraw-Hill, 199 9). Torricelli’s principle ... grid,axis([-1,6,-2,120]),legend(’measured’,’estimated’,4) Running this script: a= 20.8286 3.76 19 err = 3.76 19 4. 590 5 -14.5810 -1.7524 10.0762 -2. 095 2 MSE = 59. 4 698 RM...
Ngày tải lên: 12/08/2014, 16:21
... AppliedProblemSolving:SpeechSignalAnalysis 175 9 Vectors, Matrices and Linear Algebra 180 9. 1 Vectors 181 9. 2 Matrices 187 9. 3 SolutionstoSystemsofLinearEquations 196 9. 4 AppliedProblemSolving:RobotMotion ... most basic Matlab command is the mathematical expression, which has the following prop- erties: 15 Contents 1 Engineering Problem Solving 1 1.1 Problem- SolvingProcess...
Ngày tải lên: 12/08/2014, 16:21
... resulting vector: >> y=sin(x) y= Columns 1 through 7 0 0.3 090 0.5878 0.8 090 0 .95 11 1.0000 0 .95 11 Columns 8 through 11 0.8 090 0.5878 0.3 090 0.0000 The two vectors produced above are row vectors, ... .3*pi .4*pi .5*pi .6*pi .7*pi .8*pi .9* pi pi] x= Columns 1 through 7 0 0.3142 0.6283 0 .94 25 1.2566 1.5708 1.8850 Columns 8 through 11 2. 199 1 2.5133 2.8274 3.1416 Matlab functio...
Ngày tải lên: 12/08/2014, 16:21
Engineering Matlab Problem Solving phần 4 pptx
... logspace(0,2,11) ans = Columns 1 through 7 1.0000 1.58 49 2.51 19 3 .98 11 6.3 096 10.0000 15.84 89 Columns 8 through 11 25.11 89 39. 8107 63. 095 7 100.0000 Vector Length To determine the length of a ... rows. >>f=[123;456] f= 123 456 >>g=f’ g= 14 25 36 >>h=[123 456 7 89] h= 123 456 7 89 88 >> F = 3.0.^A F= 9 243 7 29 Array-array mathematics on other than an...
Ngày tải lên: 12/08/2014, 16:21
Engineering Matlab Problem Solving phần 5 pdf
... -2]; >> [c,r,q] = residue(b,a) c= 20.6145 -0.6145 r= -4.4 495 0.4 495 q= 1-4 H(s)=s − 4+ 20.6145 s +4.4 495 − 0.6145 s − 0.4 495 Recovering the Rational Function The coefficients of the rational ... available in Matlab are written as function M-files. You can find the locations of these files using the which command. For example: >> which linspace /usr/pkg /matlab5 2/toolbox /mat...
Ngày tải lên: 12/08/2014, 16:21
Engineering Matlab Problem Solving phần 7 docx
... 2.2×10 −16 , resolving the divide-by-zero problem. >> x = x + (x==0)*eps x= -1.0000 -0.6667 -0.3333 0.0000 0.3333 0.6667 1.0000 >> sin(x)./x ans = 0.8415 0 .92 76 0 .98 16 1.0000 0 .98 16 0 .92 76 ... in Figure 7.8. 153 For example: >> mean(data1) ans = 2 .99 40 >> sum(data1)/length(data1) ans = 2 .99 40 >> mean(data2) ans = 2 .97 68 >> median(data1) ans...
Ngày tải lên: 12/08/2014, 16:21
Engineering Matlab Problem Solving phần 8 ppsx
... vector: W= -0.5000 0 True velocity vector: T= 14.4075 -12. 294 4 Ship speed (knots): speed = 18 .94 01 Ship course (degrees) course = 3 19. 5248 9. 2 Matrices A matrix is denoted by a boldfaced capital ... A Confirming >> A = [1 2 3;4 5 6;7 8 9] A= 123 456 7 89 >> I = eye(3) I= 100 010 001 >> I*A ans = 123 456 7 89 >> A*I ans = 123 456 7 89 Matrix Inverse Two scal...
Ngày tải lên: 12/08/2014, 16:21
Engineering Matlab Problem Solving phần 10 ppsx
... date number. Examples: >> t = clock t= 199 8 6 10 10 18 59. 57 >> date ans = 10-Jun- 199 8 >> format long >> d = now d= 7. 299 1643764 490 74e+005 The date number can be converted ... = 1100 2 49 dateform Date format Example 0 ’dd-mmm-yyyy HH:MM:SS’ 01-Mar- 199 5 15:45:17 2 ’mm/dd/yy’ 03/01 /95 3 ’mmm’ Mar 4 ’m’ M 5 ’mm’ 3 6 ’mm/dd’ 03/01 7 ’dd’ 1 8 ’ddd’ Wed 9 ’d...
Ngày tải lên: 12/08/2014, 16:21