Question: Matlab current plot help please! MATLAB: Current Plot The current flowing through an RL circuit (a circuit containing a resistor and inductor) is given as
MATLAB: Current Plot The current flowing through an RL circuit (a circuit containing a resistor and inductor) is given as l(t) = 5eRL" amperes where R is the resistor value and L is the inductor value. Create and submit an m-file: With a time vector that begins at zero and ends at 4 seconds with 0.2 s intervals. Assign R-5 and L-2.1 Henrys Calculate the current vector, I(t) (see equation above). Plot I(t) versus time changethe value of R to3Q, 2 , 1 and 0.5 and recalculate the current each time. You will have R-R, and I1-I. Plot all 5 currents on one plot with a different color line and marker for each current. Add axis labels, graph title and a legend
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
