PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB
370 Practical MATLAB® Applications for Engineers ynoise = 3*cos(2*pi*x/2000)+noise; subplot(2,2,2) plot(x,y);title(‘Sinusoid tes ...
Fourier and Laplace 371 R.4.126 The MATLAB function spectrum(x) returns the script fi le specpsd is executed and the resulting p ...
372 Practical MATLAB® Applications for Engineers 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 10 −^2 10 −^1 100 Pxx X power spectra ...
Fourier and Laplace 373 FIGURE 4.23 Plot of psd of mtlb of R.4.132. (^100) 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 − 5 10 −^4 10 − ...
374 Practical MATLAB® Applications for Engineers 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 Cxy ...
Fourier and Laplace 375 )( RsZ )( sLsZ Cs sZ 1 )( s )( RsZ C sZ 1 1 )( s C sZ 1 )( R Z(s) L Z(s) C Z(s) R L R C C L Z(s) Z(s) Z( ...
376 Practical MATLAB® Applications for Engineers R.4.134 To conclude, let us discuss the reason for having defi ned and used two ...
Fourier and Laplace 377 figure(1); % Figure 4.28, part(a) subplot(2,2,1); plot(t,Harmonic _ 1); title(‘fundamental freq. wo=pi’) ...
378 Practical MATLAB® Applications for Engineers fundamental freq. wo=pi 1 0.5 −0.5 0.2 0.1 0 −0.1 −0.2 − 1 0 Amplitude Amplitud ...
Fourier and Laplace 379 0.8 0.6 0.4 0.2 0 −0.2 −0.4 −0.6 −0.8 0 0.5 1 1.5^2 2.5 3 3.5 4 time (sec) fundamental frequency harmoni ...
380 Practical MATLAB® Applications for Engineers Plots of square wave approximations using harmonics 0.8 0.6 0.2 0 −0.2 −0.4 −0. ...
Fourier and Laplace 381 Observe that at the discontinuity points or corners (at t = 0, 1, 2, 3...), an over- shoot is clearly pr ...
382 Practical MATLAB® Applications for Engineers title (‘3rd. harmonic, freq.w =3\pi’); ylabel (‘Amplitude’); subplot (3,2,4); p ...
Fourier and Laplace 383 plot(t,Har _ 123456) axis([0 2 -.6 .6]) title(‘Fund.+2nd.+3rd.+4th.+5th.+6th.Harm. ‘); ylabel(‘Amplitude ...
384 Practical MATLAB® Applications for Engineers fundamental freq. wo = π 0.5 −0.5 0 Amplitude Amplitude Amplitude Amplitude Amp ...
Fourier and Laplace 385 fundamental components of the sawtooth fund. +2nd. harmonic of the sawtooth 0.5 0.5 0.5 −0.5 −0.5 −0.5 0 ...
386 Practical MATLAB® Applications for Engineers Example 4.3 Let the FS expansion for a periodic sawtooth wave be given by ft() ...
Fourier and Laplace 387 F _ rms = norm(c./sqrt(2)); % Pave calculations Pave = (F _ rms^2)/5; % Perc. of total harmonic distorti ...
388 Practical MATLAB® Applications for Engineers ***************** Check results ***************** ***************************** ...
Fourier and Laplace 389 ANALYTICAL Solution Part 1 ft() Fen jnw t ∞ ∞ ∑^0 FedtTwnjnw t 1 2 12 2 2 0 05 05 () ; 0 . . ...
«
15
16
17
18
19
20
21
22
23
24
»
Free download pdf