Exporting sampled data from figure to matlab.
6 ビュー (過去 30 日間)
古いコメントを表示
Hello there,
After sampling a sinusoid signal at a given sampling frequency,i want to export range of sample values for any time range from the sampled sinusoid to matlab for further computation.Kindly help me with the program/code to do the same.
5 件のコメント
Fangjun Jiang
2022 年 4 月 4 日
Users look for questions for ansers. If it is a different question, ask a separate question.
採用された回答
Fangjun Jiang
2022 年 4 月 1 日
編集済み: Fangjun Jiang
2022 年 4 月 1 日
t=0:0.01:10
SinCurve=plot(t,sin(t));
XData=SinCurve.XData;
YData=SinCurve.YData;
NewX=resample(XData,5,3);
If you only have a figure, you can find the line
MyCurve=findobj(FigureHandle,'Type','Line')
6 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!