Plotting current vs time

5 views (last 30 days)
Sachin Shridhar Bhat
Sachin Shridhar Bhat on 13 Sep 2019
Ivst.PNG
hello,
I have a sezt of current vs time values which I need to plot exponentially. I mean the range of vales from 5 to 300 amps.
Please let me know how to go about.

Answers (1)

madhan ravi
madhan ravi on 13 Sep 2019
help plot
help exp
  1 Comment
Sachin Shridhar Bhat
Sachin Shridhar Bhat on 13 Sep 2019
clc;
clear all;
x = 0:0.001:2;
A = 2.126;
B = 0.99;
y = A*exp(B*x);
plot(x,y)
This is what I tried.
My idea in this was converting it into an exponential function by finding A and B values. But I am not getting the plot in the way which I require

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!