How do I get object data from a FIG file, such as X and Y data?
Show older comments
i search on matlab searching question but not found it.
I have a graph with a curve. I want to know the Y value from my graph
example X = 10
how to find Y?
thx.
4 Comments
%example
X = 1:0.1:20;
Y = sin(X);
index = find(X==10);
Y_point = Y(index)
% See graphically
plot(X,Y,X(index),Y_point,'o');
uncung fgv
on 14 Aug 2012
GS76
on 10 Feb 2020
Thank you MRR!
Your reply helped me greatly.
Much appreciated.
afiq hassan
on 25 Apr 2020
But what if I want to find x values using y axis?
Accepted Answer
More Answers (2)
uncung fgv
on 14 Aug 2012
0 votes
asma chaudhry
on 11 Sep 2018
0 votes
Use Matlab's data cursor to find the first intersection of the line y=x with the graph of y=tan(x) in the first quadrant. Enter your answer as a decimal with 3 decimal places
Categories
Find more on Printing and Saving 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!