www.gusucode.com > wavelet 源码程序 matlab案例代码 > wavelet/MultifractalSpectrumOfHeartRateVariabilityExample.m
%% Multifractal Spectrum of Heart-Rate Variability % Compare the multifractal spectrum of heart-rate variability data before % and after application of a drug that reduces heart dynamics. load hrvDrug; predrug = hrvDrug(1:4642); postdrug = hrvDrug(4643:end); [dhpre,hpre] = dwtleader(predrug); [dhpost,hpost] = dwtleader(postdrug); plot(hpre,dhpre,hpost,dhpost) xlabel('h') ylabel('D(h)') grid on legend('Predrug','Postdrug') %% % The spread of the Holder exponent values before drug administration % (approximately 0.08 to 0.55) is much larger than the spread of the % values afterward (approximately 0.08 to 0.31). This indicates that the % heart rate has become more monofractal.