Engineering Matlab Problem Solving phần 1 doc
... 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 ... 213 10 .3Interpolation 215 10 .4AppliedProblemSolving:HumanHearing 219 11 Integration and Differentiation 223 11 .1NumericalIntegration 223 11 .2 Numerical Differentiatio...
Ngày tải lên: 12/08/2014, 16:21
... .5*pi .6*pi .7*pi .8*pi .9*pi pi] x= Columns 1 through 7 0 0. 314 2 0.6283 0.9425 1. 2566 1. 5708 1. 8850 Columns 8 through 11 2 .19 91 2. 513 3 2.8274 3 .14 16 Matlab functions can be applied to vectors ... identity j 2 = 1, and writing the result in rectangular form: z 1 z 2 =(x 1 + jy 1 )(x 2 + jy 2 ) = x 1 x 2 + jx 1 y 2 + jx 2 y 1 + j 2 y 1 y 2 =(x 1 x 2 − y 1...
Ngày tải lên: 12/08/2014, 16:21
... simulations: 2345 213 314 5225563635 15 0 The displayed output of the script is: 0 25.0000 10 .0000 18 .9 811 20.0000 15 .3773 30.0000 13 . 219 6 40.0000 11 .9277 50.0000 11 .15 42 60.0000 10 .6 910 70.0000 10 . 413 8 80.0000 10 .2477 90.0000 ... tails, 1: heads’), title(’Absolute Frequency Histogram for 50 Coin Flips’) The output displayed by the script: coin = Columns 1 thr...
Ngày tải lên: 12/08/2014, 16:21
A Guide to MATLAB for Chemical Engineering Problem Solving phần 1 docx
... [0: 0 .1 :1. 5] time = Columns 1 through 7 0 0 .10 00 0.2000 0.3000 0.4000 0.5000 0.6000 Columns 8 through 14 0.7000 0.8000 0.9000 1. 0000 1. 1000 1. 2000 1. 3000 Columns 15 through 16 1. 4000 1. 5000 Individual ... ones. Example: a = 1 2 3 4 5 6 7 8 9 »e = [[zeros(2,3);ones (1, 3)] a] e = 0 0 0 1 2 3 0 0 0 4 5 6 1 1 1 7 8 9 »e = [e e] e = 0 0 0 1 2 3 0 0...
Ngày tải lên: 06/08/2014, 13:22
Engineering Matlab Problem Solving phần 2 pptx
... base 10 is represented by the binary or base 2 value 0 011 010 1, denoted by 53 10 = 0 011 010 1 2 In base 10 , this means 53 10 =5 10 1 +3× 10 0 Similarly, 0 011 010 1 2 =0× 2 7 +0× 2 6 +1 2 5 +1 2 4 +0× ... format long >> 5.78/57 .13 ans = 0 .10 117 27638 718 7 >> format short >> ans ans = 0 .10 12 Thus, the short result is displayed as 0 .10 12 instead of 0 ....
Ngày tải lên: 12/08/2014, 16:21
Engineering Matlab Problem Solving phần 4 pptx
... at 10 0 = 1, ending at 10 2 = 10 0 and having 11 values: >> logspace(0,2 ,11 ) ans = Columns 1 through 7 1. 0000 1. 5849 2. 511 9 3.9 811 6.3096 10 .0000 15 .8489 Columns 8 through 11 25 .11 89 39. 810 7 ... − start number − 1 For example: >> x=linspace(0,pi ,11 ) x= Columns 1 through 7 0 0. 314 2 0.6283 0.9425 1. 2566 1. 5708 1. 8850 Columns 8 through 11 2...
Ngày tải lên: 12/08/2014, 16:21
Engineering Matlab Problem Solving phần 5 pdf
... = poly(r) a= 1. 0000 -2.0000 -3.0000 10 .0000 Example 6 .1 Finding the depth of a well using roots of a polynomial 11 8 X= -2 -10 12 -2 -10 12 -2 -10 12 -2 -10 12 Y= -1 -1 -1 -1 -1 00000 11 111 22222 After ... Matlab script: >>a= [1- 30 -12 ]; >>b=[4-25 -16 ]; >> c = conv(a,b) c= 4 -14 11 -35 58 -9 26 -32 11 4 1 −0.5 0 0.5 1 1.5 2 2.5 3 3.5 4 0 0.5 1 1....
Ngày tải lên: 12/08/2014, 16:21
Engineering Matlab Problem Solving phần 8 ppsx
... a 11 (a 22 a 33 − a 23 a 32 ) − a 12 (a 21 a 33 − a 23 a 31 )+a 13 (a 21 a 32 − a 22 a 31 ) = a 11 a 22 a 33 − a 11 a 23 a 32 − a 12 a 21 a 33 + a 12 a 23 a 31 + a 13 a 21 a 32 − a 13 a 22 a 31 Thus, ... elements of C: c 11 = 2 51 1 1 5 =2 1+ 5·( 1) +1 5=2 c 23 = 03 1 2 −2 1 =0·2+3·(−2) 1 1= −7 19 0 Thus, for A = ...
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 411 517 624 732 8 41 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 ... velocity’]) disp([t’,a’,v’]) 227 10 1 10 1 Volume (cups − log scale) Flow Rate (cups/sec − log scale) Model Experimental 5 6 7 8 9 10 11 12 13 14 15 0 .1...
Ngày tải lên: 12/08/2014, 16:21
Engineering Matlab Problem Solving phần 10 ppsx
... ’HH:MM:SS PM’ 3:45 :17 PM 15 ’HH:MM’ 15 :45 16 ’HH:MM PM’ 3:45 PM 17 ’QQ-YY’ Q1-96 18 ’QQ’ Q1 Examples: >> ds = datestr(d) ds = 10 -Jun -19 98 10 :30 :13 >> datestr(d ,14 ) ans = 10 :30 :13 AM The function ... 01- Mar -19 95 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’ W 10 ’yyyy’ 19 95 11 ’yy’ 95 12...
Ngày tải lên: 12/08/2014, 16:21