Clear Filters
Clear Filters

Getting matlab to read values of a graph

2 views (last 30 days)
Tara Milne
Tara Milne on 3 Nov 2015
Answered: Walter Roberson on 3 Nov 2015
How do I read the values of voltage when current is zero, and current when voltage is zero from a current voltage graph in matlab
  3 Comments
Tara Milne
Tara Milne on 3 Nov 2015
I have the actual Matlab figure, I made the current column one vector and voltage the other and did plot(current, voltage)
Tara Milne
Tara Milne on 3 Nov 2015
btw I don't have data points for when the current and voltage are zero, but the graph goes through these points

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 3 Nov 2015
First step:
v_at_c0 = interp1(current, voltage, 0); %estimate of voltage at which current is 0
For finding the current at which the voltage becomes 0, a sample graph would help. In some cases it is very easy, in other cases it takes a bunch more work.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!