Plotting current vs time

5 visualizzazioni (ultimi 30 giorni)
Sachin Shridhar Bhat
Sachin Shridhar Bhat il 13 Set 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.

Risposte (1)

madhan ravi
madhan ravi il 13 Set 2019
help plot
help exp
  1 Commento
Sachin Shridhar Bhat
Sachin Shridhar Bhat il 13 Set 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

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by