Visualization of the data computed by the CDM_Analysis, SPWVD_Analysis or CDM_SPWVD_Analysis functions.
PlotSpectralAnalysis(result [,InputNames [,Title]])
result
data structure returned by
CDM_Analysis, SPWVD_Analysis or CDM_SPWVD_Analysis
functions.["RR","Vt"]
.PlotSpectralAnalysis
plots the data computed
by CDM_Analysis, SPWVD_Analysis or CDM_SPWVD_Analysis
functions.
The AddChannelPlot can be used to add some other signals subpots.
Set scroll length
submenu
allows to specify the time width of the scrolling window, the
scroll length default value is a tenth of the total time
range. The Scroll on
submenu enables the
scrolling mode: to scroll over the time use the left and right
directionnal arrows, to go back to full view hit the
q
key. The Scroll off
submenu disable the scrolling mode.
Remark: If datatips tool is used while in Scroll mode, user needs to set the Scroll mode on for further scrolling.
d=read(cardiovascularpath()+"demos/DATA/free_breathing_4Hz",-1,4)'; //read the data freq_sampling=4; RR=d(1,:);//RR signal Vt=d(3,:);//Tidal Volume signal //narrow band filter filterlength=355; frequency_bounds=[0.25 0.35]; result=CDM_SPWVD_Analysis(RR,Vt,freq_sampling,frequency_bounds,filterlength) PlotSpectralAnalysis(result,["RR","Vt"],"Free Breathing CDM and SPWVD") // Draw results | ![]() | ![]() |
Produces:
Hiding legends, setting the phase units to degree, using Scroll mode and datatips one can obtain: