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

2 ビュー (過去 30 日間)
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 件のコメント
Adeoti Adediran
Adeoti Adediran 2021 年 5 月 5 日
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.
Mathieu NOE
Mathieu NOE 2021 年 5 月 6 日
Hi
and did you try @Bob Thompson suggestion ? this should do the job in any case

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by