plot_peaks.m File Reference

Go to the source code of this file.

Functions

function plot_peaks (Xmag, Xphase, ploc, t) figure(1)
 
 subplot (2, 1, 1) plot(Xmag)
 
 plot (ploc, Xmag(ploc),'r *')
 
 plot ([1, length(Xmag)],[t, t],'g')
 
 subplot (2, 1, 2)
 
 plot (Xphase)
 
 plot (ploc, Xphase(ploc),'r *')
 

Variables

hold on
 
hold off
 
 pause
 

Function Documentation

plot ( ploc  ,
Xmag(ploc ,
'r *'   
)
plot ( 'g )
plot ( Xphase  )
plot ( ploc  ,
Xphase(ploc ,
'r *'   
)
function plot_peaks ( Xmag  ,
Xphase  ,
ploc  ,
t   
)
subplot ( ,
,
 
)
subplot ( ,
,
 
)

Variable Documentation

hold off

Definition at line 8 of file plot_peaks.m.

hold on

Definition at line 5 of file plot_peaks.m.

pause

Definition at line 14 of file plot_peaks.m.