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?
2 ビュー (過去 30 日間)
古いコメントを表示
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');
1 件のコメント
David Goodmanson
2022 年 5 月 16 日
Hi Muhammed, they are providing a current and asking you to plot it. No need for diff.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Specifying Target for Graphics Output についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!