how to save displayed fig
Mostrar comentarios más antiguos
i am working on following code
Fs = 128;
fb = cwtfilterbank('SignalLength',1000,...
'SamplingFrequency',Fs,...
'VoicesPerOctave',12);
sig = data(1,1:1000);
[cfs,frq] = wt(fb,sig);
t = (0:999)/Fs;figure;pcolor(t,frq,abs(cfs))
set(gca,'yscale','log');shading interp;axis tight;
title('Scalogram');xlabel('Time (s)');ylabel('Frequency (Hz)')
now i want to save the figure which displays resulting in this code
can please anyone help me how to save it
1 comentario
Jakob B. Nielsen
el 21 de En. de 2020
Have a look at the standard functions for saving figures programatically: https://se.mathworks.com/help/matlab/ref/savefig.html
and/or
Respuestas (1)
neeraj
el 21 de En. de 2020
0 votos
figure(2)
savefig('signal.fig')
Categorías
Más información sobre Images en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!