Engineering Matlab Problem Solving phần 8 ppsx

Engineering Matlab Problem Solving phần 8 ppsx

Engineering Matlab Problem Solving phần 8 ppsx

... C= 0.7654 1 .84 78 Wind drift velocity vector: W= -0.5000 0 True velocity vector: T= 14.4075 -12.2944 Ship speed (knots): speed = 18. 9401 Ship course (degrees) course = 319.52 48 9.2 Matrices A ... y) ||x|| ||y|| >> theta = acos(dot(x,y)/(norm(x)*norm(y))) theta = 1 .81 21 >> thetad = ( 180 /pi)*theta thetad = 103 .82 61 184 10 01 >> D = A^(-1) D= 1.5000 -0.5000 -2.000...

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

... forward difference approximation. % Generate noisy data x = 0:0.1:1; y = [-0.447 1.9 78 3. 28 6.16 7. 08 7.34 7.66 9.56 9. 48 9.30 11.2]; % 2nd degree curve fit a = polyfit(x,y,2); xi = linspace(0,1,101); yi ... the 241 >> syms s >> H = s^2 +6*s + 8; >> G = -H/3 G= -1/3*s^2-2*s -8/ 3 The result is G = −(1/3)s 2 − 2s − 8/ 3, while we would prefer G = −(s 2 +6s +8) /3. 1...

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

37 290 0
Engineering Matlab Problem Solving phần 1 doc

Engineering Matlab Problem Solving phần 1 doc

... 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 1 1.2 ProblemSolvingExample ... − 1 2 gt 2 5 8. 6 AppliedProblemSolving:SpeechSignalAnalysis 175 9 Vectors, Matrices and Linear Algebra 180 9.1 Vectors 181 9.2 Matrices 187 9.3 SolutionstoSystemsofLinearEquations 1...

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

... degrees, the Matlab solution is >> h=2; >> theta=60; >> D=50; >> B = h+D*tan(theta*pi/ 180 ) B= 88 .6025 53 3.3 Script M-Files For simple problems, entering commands at the Matlab ... 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...

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

... .3*pi .4*pi .5*pi .6*pi .7*pi .8* pi .9*pi pi] x= Columns 1 through 7 0 0.3142 0.6 283 0.9425 1.2566 1.57 08 1 .88 50 Columns 8 through 11 2.1991 2.5133 2 .82 74 3.1416 Matlab functions can be applied ... resulting vector: >> y=sin(x) y= Columns 1 through 7 0 0.3090 0. 587 8 0 .80 90 0.9511 1.0000 0.9511 Columns 8 through 11 0 .80 90 0. 587 8 0.3090 0.0000 The two vectors produce...

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

... values: >> logspace(0,2,11) ans = Columns 1 through 7 1.0000 1. 584 9 2.5119 3. 981 1 6.3096 10.0000 15 .84 89 Columns 8 through 11 25.1 189 39 .81 07 63.0957 100.0000 Vector Length To determine the length ... example: >> x=linspace(0,pi,11) x= Columns 1 through 7 0 0.3142 0.6 283 0.9425 1.2566 1.57 08 1 .88 50 Columns 8 through 11 2.1991 2.5133 2 .82 74 3.1416 In this exampl...

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

... is: 129 −10 8 −6 −4 −2 0 2 4 6 8 10 −0.4 −0.2 0 0.2 0.4 0.6 0 .8 1 sinc(x) x Figure 6.15: Sinc signal 134 >> lengths = 100*sind([30 60 90; 120 150 180 ]) lengths = 50.0000 86 .6025 100.0000 86 .6025 ... elements of each column of the matrix. >>B=[-1170;-35 58; 144 -8] B= -1170 -35 58 144 -8 >> min(B) ans = -3 1 4 -8 >> max(B) ans = 15 78 Example 7.1 Minimum...

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

... is: 0 25.0000 10.0000 18. 981 1 20.0000 15.3773 30.0000 13.2196 40.0000 11.9277 50.0000 11.1542 60.0000 10.6910 70.0000 10.41 38 80.0000 10.2477 90.0000 10.1 483 100.0000 10. 088 8 The resulting graph ... 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 .84 15 0.9276 0. 981 6 1....

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

28 199 0
Engineering Matlab Problem Solving phần 9 pot

Engineering Matlab Problem Solving phần 9 pot

... grid,axis([-1,6,-2,120]),legend(’measured’,’estimated’,4) Running this script: a= 20 .82 86 3.7619 err = 3.7619 4.5905 -14. 581 0 -1.7524 10.0762 -2.0952 MSE = 59.46 98 RMSE = 7.7117 Thus, the best linear fit is ˆy =20 .82 86x +3.7619 and the root mean squared ... courses and they are fundamental to solving many engineering and science problems. While many of these problems can be solved...

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

28 121 0
101 activities foteaching creativity and problem solving phần 8 ppsx

101 activities foteaching creativity and problem solving phần 8 ppsx

... generated, and which ones were most interesting? 276 101 Activities for Teaching Creativity and Problem Solving 09 VG 247-294b 10/6/04 12:22 PM Page 276 TLFeBOOK Related Activities • Picture Tickler ... process, and the most intriguing moments. 7. Tell them to redo any pictures that need improvement. 8. Direct the groups to examine all the pictures again and use them to help generate new...

Ngày tải lên: 14/08/2014, 16:20

41 166 0
w