Info
此问题已关闭。 请重新打开它进行编辑或回答。
How to save a plot of a pulse to a matrix to load it whenever i want to see it
1 次查看(过去 30 天)
显示 更早的评论
Hello, i'm building a gui with mri( magnetic resonance imaging) waveforms. I plot 5 separate pulses and i want to save each one in a matrix so than i can load it and edit it. I'm aware of the getframe function but i'm not sure if it is what i need! Does anyone know something that could help me? Thank you!
0 个评论
回答(2 个)
Wayne King
2012-11-23
One thing you can do is save the figures as .fig files (MATLAB fig files) and then you can use
hgload('filename.fig')
That will display the figure.
0 个评论
Azzi Abdelmalek
2012-11-23
You can save your data in a mat file then load a file.
t=0:0.1:10;
y=cos(t);
z=sin(t)
save file t y z
%to call your data
data=load('file');
t=data.t;
y=data.y;
z=data.z;
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!