<< PlotBaroreflexAnalysis Cardio Vascular toolbox Resample >>

Cardio Vascular toolbox >> Cardio Vascular toolbox > PlotSpectralAnalysis

PlotSpectralAnalysis

Visualization of the data computed by the CDM_Analysis, SPWVD_Analysis or CDM_SPWVD_Analysis functions.

Calling Sequence

PlotSpectralAnalysis(result [,InputNames [,Title]])

Parameters

result
The result data structure returned by CDM_Analysis, SPWVD_Analysis or CDM_SPWVD_Analysis functions.
InputNames
a vector of one or two character strings that will be used to set the labels of the input signals. The default value is ["RR","Vt"].
Title
a character string that will be used to set the title of the graph.

Description

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.

Menus

Examples

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:

See Also

Authors

<< PlotBaroreflexAnalysis Cardio Vascular toolbox Resample >>