I try this coding but it's say plot error..what wrong with my coding?
1 view (last 30 days)
Show older comments
Muhammad Harriz Bin Zamri
on 16 May 2022
Answered: Dyuman Joshi
on 16 May 2022
clear; clc;
syms t; f=exp(t)*sin(3*t); diff (f) c=0.003; I=c*diff(f);
figure; plot(t,I); grid; xlabel('time'); ylabel('current'); title('current vs time');
0 Comments
Accepted Answer
Dyuman Joshi
on 16 May 2022
syms t
f=exp(t)*sin(3*t);
c=0.003; I=c*diff(f);
figure;
fplot(I);
grid;
xlabel('time'); ylabel('current'); title('current vs time');
0 Comments
More Answers (0)
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!