Engineering Matlab Problem Solving phần 9 pot

Engineering Matlab Problem Solving phần 9 pot

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

28 121 0
Engineering Matlab Problem Solving phần 1 doc

Engineering Matlab Problem Solving phần 1 doc

... 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

29 227 0
Engineering Matlab Problem Solving phần 2 pptx

Engineering Matlab Problem Solving phần 2 pptx

... the Matlab search path 3ifrqroot is a MEX-file in the Matlab search path 4ifrqroot is a MDL-file in the Matlab search path 5ifrqroot is a built-in Matlab function 6ifrqroot is a P-file in the Matlab ... be executed when you enter the command test. Matlab at Startup Two files are executed at startup: matlabrc.m and startup.m matlabrc.m: Comes with Matlab, shouldn’t be modified. Sets de...

Ngày tải lên: 12/08/2014, 16:21

28 239 0
Engineering Matlab Problem Solving phần 3 docx

Engineering Matlab Problem Solving phần 3 docx

... 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

28 278 0
Engineering Matlab Problem Solving phần 4 pptx

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

28 180 0
Engineering Matlab Problem Solving phần 5 pdf

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

28 293 0
Engineering Matlab Problem Solving phần 7 docx

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

28 199 0
Engineering Matlab Problem Solving phần 8 ppsx

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

28 315 0
Engineering Matlab Problem Solving phần 10 ppsx

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

37 290 0
A Guide to MATLAB for Chemical Engineering Problem Solving phần 2 potx

A Guide to MATLAB for Chemical Engineering Problem Solving phần 2 potx

... 0.50 49 0.5 496 0. 591 6 0.6310 0.6681 0.7031 0.7360 0.7671 0. 793 0 cu = 0 0.0103 0.0856 0.1 498 0.2048 0.2523 0. 293 4 0.3 291 0.3602 0.3875 0.4115 0.4326 0.4513 0.4678 0.4825 0. 495 5 ... suppress lengthy output Matlab Guide: ChE465 KDH v.2.1.1 p. 20 Print date: 10/4/00 1.1075 1.03 89 0 .97 58 0 .91 77 0.8641 0.8144 0.7684 0.7257 0. 690 7 cd = 0 0.0...

Ngày tải lên: 06/08/2014, 13:22

13 549 0
w