Engineering Matlab Problem Solving phần 4 pptx
... 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 −2 0 2 4 6 8 10 12 Multiple Axis Plot x 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 −10 0 10 20 30 40 50 60 Figure 5.3: Plot with two polynomial curves, ... is used to separate rows. >>f=[123 ;45 6] f= 123 45 6 >>g=f’ g= 14 25 36 >>h=[123 45 6 789] h= 123 45 6 789 88 >> F = 3.0.^A F= 9 243 729 Array-array mathematics on other than ......
Ngày tải lên: 12/08/2014, 16:21
... 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 ... 10 −n .For example, assuming that the Matlab value of π is correct, the error associated with rounding to 4 decimal places is: >> E = pi - 3. 141 6 E= 35 -7. 346 4e-006 This e...
Ngày tải lên: 12/08/2014, 16:21
... 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 4 1.3 ... together. For example: >>3+5+2 ans = 10 >> 4* 22 + 6 *48 + 2*82 ans = 540 >> ;4* 4 *4 ans = 64 Instead of repeating the multiplication, the Matlab exponentiat...
Ngày tải lên: 12/08/2014, 16:21
Engineering Matlab Problem Solving phần 3 docx
... number. This represents the 77 0. 643 5 >> argz4 = angle(z4) argz4 = 1.1071 >> argz1 = angle(z1) argz1 = 0 .46 36 >> ang_test = argz4 - argz2 ang_test = 0 .46 36 Algebraic Rules The algebraic ... existing plot: 74 >> magz4 = abs(z4) magz4 = 2.7951 >> mag_test = magz1 * magz2 mag_test = 2.7951 >> angz1 = angle(z1) angz1 = 0 .46 36 >> angz2 = angle(z2...
Ngày tải lên: 12/08/2014, 16:21
Engineering Matlab Problem Solving phần 5 pdf
... length(b)-length(a)+1. Example: H(s)= s 3 +2s − 4 s 2 +4s − 2 >> b = [1 0 2 -4] ; >> a = [1 4 -2]; >> [c,r,q] = residue(b,a) c= 20.6 145 -0.6 145 r= -4. 449 5 0 .44 95 q= 1 -4 H(s)=s − 4+ 20.6 145 s +4. 449 5 − 0.6 145 s − 0 .44 95 Recovering ... process. Using a Matlab script: >>a=[1-30-12]; >>b= [4- 25-16]; >> c = conv(a,b) c= 4 - 14 11 -...
Ngày tải lên: 12/08/2014, 16:21
Engineering Matlab Problem Solving phần 7 docx
... B=8-A A= 12 345 6789 B= 76 543 210-1 >> tf1 = A < =4 tf1 = 111100000 >>tf2=A>B tf2 = 000011111 >> tf3 = (A==B) tf3 = 000100000 >> tf4 = B-(A>2) tf4 = 7 643 210-1-2 • ... A=1:9 A= 12 345 6789 >> tf1 = A> ;4 tf1 = 000011111 >> tf2 = ~(A> ;4) tf2 = 111100000 >> tf3 = (A>2)&(A<6) tf3 = 001110000 >> tf4 = xor((A>2),(A<...
Ngày tải lên: 12/08/2014, 16:21
Engineering Matlab Problem Solving phần 8 ppsx
... C= 0.76 54 1. 847 8 Wind drift velocity vector: W= -0.5000 0 True velocity vector: T= 14. 4075 -12.2 944 Ship speed (knots): speed = 18. 940 1 Ship course (degrees) course = 319.5 248 9.2 Matrices A ... are shown in Figure 8 .4. 2000 40 00 6000 8000 10000 12000 −1 −0.5 0 0.5 1 Data sequence of spoken digit Index −0.5 −0 .4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0 .4 0.5 0 1000 2000 3000 40 00...
Ngày tải lên: 12/08/2014, 16:21
Engineering Matlab Problem Solving phần 9 pot
... following table: Time (s) Accel (m/s 2 ) 00 12 24 37 41 1 517 6 24 732 841 948 10 51 A script to estimate the velocity: t = [0:10]; a = [0,2 ,4, 7,11,17, 24, 32 ,41 ,48 ,51]; v = cumtrapz(t,a); disp([’ time accel ... the humps function again: >> quad(’humps’,-1,2) ans = 26. 344 97558 341 242 >> quad8(’humps’,-1,2) ans = 26. 344 960 246 319 24 Here the quad solution achie...
Ngày tải lên: 12/08/2014, 16:21
Engineering Matlab Problem Solving phần 10 ppsx
... -5/2/pi*3^(1/3)*(pi^2)^(1/3)-5/2*i*3^(5/6)/pi*(pi^2)^(1/3)] >> Rmins = double(Rmins) Rmin = 4. 9237 -2 .46 19+ 4. 2 641 i -2 .46 19- 4. 2 641 i >> Rmin = Rmins(1) Rmin = 4. 9237 2 64 >> E = z*cos(theta) - x; >> theta = solve(E,theta) theta ... x k 231 >> dec2bin(bitor(a,b) ,4) ans = 1110 >> dec2bin(bitxor(a,b) ,4) ans = 1100 >> dec2bin(bitcmp(a...
Ngày tải lên: 12/08/2014, 16:21
environmental engineering dictionary and directory phần 4 pptx
... See “hydraulic residence time (HRT).” HRUP High-risk urban problem. HSC™ High pressure centrifugal pump for reverse osmosis by Pump Engineering, Inc. HSDB Hazardous Substance Database. HSL Hazardous ... Brackett Former parent company of Brackett Geiger. Hazardous and Solid Waste Amendments (HSWA) The 19 84 amendments to RCRA regulating underground tank storage and land disposal of certai...
Ngày tải lên: 24/07/2014, 08:20