... MATLAB has a rich set of plotting capabilities. The graphics are integrated in MATLAB. Since MATLAB is also a programming environment, a user can extend the functional capabilities of MATLAB ... 1.1 MATLAB BASIC OPERATIONS When MATLAB is invoked, the command window will display the prompt >>. MATLAB is then ready for entering data or executing commands. To quit MATLAB, ... 21 elements using 168 bytes. Table 1.2 shows additional MATLAB commands to get one started on MATLAB. Detailed descriptions and usages of the commands can be obtained from the MATLAB help...
Ngày tải lên: 23/10/2013, 16:15
... Write a MATLAB program to convert analog signal x to digital signal y. Test the program by using an analog signal with the following amplitudes: -1.25, 2.57 and 6.0. Solution MATLAB ... following MATLAB statements: x = input(‘Enter age of student’); if x < 0 error(‘wrong age was entered, try again’) end x = input(‘Enter age of student’) For the above MATLAB statements, ... CRC Press LLC Attia, John Okyere. “Control Statements .” Electronics and Circuit Analysis using MATLAB. Ed. John Okyere Attia Boca Raton: CRC Press LLC, 1999 ...
Ngày tải lên: 27/10/2013, 23:15
Electronics and Circuit Analysis Using MATLAB P2
... implying, plot x versus y using green color. Line and mark style may be added to color type using the command plot(x, y, ’+w’) The above statement implies plot x versus y using white + marks. ... SELECTED BIBLIOGRAPHY 1. MathWorks, Inc, MATLAB, High-Performance Numeric Computation Software , 1995. 2. Biran, A. and Breiner, M. MATLAB for Engineers , Addison- Wesley, 1995. ... Figure 2.5. The MATLAB script file is ex2_2.m. Figure 2.5 Plot of Gain versus Frequency of an Amplifier A polar plot of an angle versus magnitude may be generated using the command...
Ngày tải lên: 27/10/2013, 23:15
Electronics and Circuit Analysis Using MATLAB P6
... factor using (a) analytical solution and (b) numerical so- lution. Solution MATLAB Script diary ex6_1.dat % This program computes the average power, rms value and % power factor using ... vector [] I using the MATLAB command IinvZV= ()* The phase voltages can be obtained as VjI AN =+ ()512 1 VjI BN =+ ()34 2 VjI CN =− (5 )( )12 3 The MATLAB program ... [] I using the MATLAB command () IinvZV= * where () inv Z is the inverse of the matrix [] Z . The voltage V C can be obtained as VjII C =− − ()( )10 12 A MATLAB...
Ngày tải lên: 06/11/2013, 09:15
Electronics and Circuit Analysis Using MATLAB P5
... 1999 CRC Press LLC MATLAB Script p = [1 40 1000]; lambda = roots(p) lambda = -20.0000 +24.4949i -20.0000 -24.4949i Using the roots obtained from MATLAB, it () is given ... the interval 0 ≤ t ≤ 30 ms, we note that xi L 1 000() () == V xv C 2 0020() () == Using the MATLAB ode23 function, we get % solution of second-order differential equation % the function ... V s R 1 R 3 R 2 C 1 C 2 L V 1 V 2 I 1 y(t) + + + - Figure 5.11 Circuit for State Analysis Using the above guidelines, we select the state variables to be VV 12 , , and i 1 . Using nodal analysis, we have © 1999 CRC Press LLC ...
Ngày tải lên: 06/11/2013, 09:15
Electronics and Circuit Analysis Using MATLAB P4
... VVV b =− 14 (4.31) Using Ohm’s Law I VV a = − 43 5 (4.32) Using KCL at node 1, and supernode 1-2, we get VVV V VV b 114 23 210 5 8 0 + − −+ − = (4.33) Using Equation (4.31), ... transfer theorem, let us discuss the MATLAB functions diff and find. 4.3.1 MATLAB Diff and Find Functions Numerical differentiation can be obtained using the backward difference ex- pression ... the current I using MATLAB. 10 V 6 Ohms 4 Ohms 8 Ohms 2 Ohms 15 Ohms 6 Ohms I Figure P4.1 Circuit for Exercise 4.1 © 1999 CRC Press LLC © 1999 CRC Press LLC A MATLAB program for...
Ngày tải lên: 06/11/2013, 09:15
Tài liệu Control Systems Simulation using Matlab and Simulink pptx
... to x =0. 1. Load the file ball n beam.m using simulink. This file contains a simulink model of the beam- and-ball system in the block labeled “ball” and a linear state-feedback controller.This controller ... report per group is required. Control Systems Simulation Using Matlab and Simulink 1 Introduction In ME134, we will make extensive use of Matlab and Simulink in order to design, analyze and simulate ... approximated by numerical differentiation.) Using simulink, modify the system in the file tank continuous.m so that the continuous time (C.T.) PID control block is connected in the feedback loop....
Ngày tải lên: 12/12/2013, 07:15
Tài liệu Electronics and Circuit Analysis Using MATLAB P7 pdf
... passive and active circuits will be solved using MATLAB. 7.1 TWO-PORT NETWORK REPRESENTATIONS A general two-port network is shown in Figure 7.1. Linear two-port network I 2 V 2 V 1 + - + - I 1 ... discusses the application of MATLAB for analysis of two-port networks. The describing equations for the various two-port network represen- tations are given. The use of MATLAB for solving problems ... V V 2 1 . (c) Use MATLAB to plot the phase characteristics of V V 2 1 . + - V 1 + - V 2 R C R R CC Figure P7.5 RC Ladder Network © 1999 CRC Press LLC © 1999 CRC Press LLC Using Equation...
Ngày tải lên: 13/12/2013, 01:15