how can I get the data points of a wave generated when an expression in an m-file was executed?

2 views (last 30 days)
I executed an m-file containing an expression, part of my outputs was a plot. I now want to reversely read the data points from that plot. How can I do this?
  4 Comments
Adeoti Adediran
Adeoti Adediran on 5 May 2021
I also thought that the data had to be somewhere but when I checked the workspace for the varaible being plotted I saw that it remained an expression after the file had executed. I checked the information for the abscissas (x axis) it was an array of 11 variables. I just need its corresponding y axis from the expression but not in a plotted form. I wish I had a syntax to ask it of the plotted wave. Hope to hear from someone about a solution.

Sign in to comment.

Answers (0)

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!