2. If the current in 3 mF capacitor is i(t) = e ^ t * sin 3t. Plot a graph of the current vs time. Is it true this coding for this question?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Muhammad Harriz Bin Zamri
el 16 de Mayo de 2022
Editada: Walter Roberson
el 16 de Dic. de 2024
clear;clc;
t=0:10;
f=exp(t).*sin(3*t);
diff (f)
c=0.003;
I=c*diff(f);
figure;
plot(1:10,I);
grid;
xlabel('time');
ylabel('current');
title('current vs time');
2 comentarios
David Goodmanson
el 16 de Mayo de 2022
Hi Muhammed, they are providing a current and asking you to plot it. No need for diff.
Walter Roberson
el 16 de Dic. de 2024
would you please help me to my project is related to this question.
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!