Rank: 31202 based on 0 downloads (last 30 days) and 0 files submitted
photo

delinda he

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by delinda View all
Updated File Comments Rating
28 Sep 2009 Pitch Determination Algorithm Extract pitch of speech signal based on subharmonic-to-harmonic ratio Author: Xuejing Sun

Thanks. Works good

15 May 2009 Hilbert-Huang Transform This submission is a realization of the Hilbert-Huang transform (HHT). Author: Alan Tan

Would you guys please help me to figure out how does the Hilbert transform work??
function plot_hht(x,Ts)
% Plot the HHT.
% plot_hht(x,Ts)
% :: Syntax
% The array x is the input signal and Ts is the sampling period.
% Example on use: [x,Fs] = wavread('Hum.wav');
% plot_hht(x(1:6000),1/Fs);
% Func : emd

% Get HHT.
imf = emd(x); %emd is a function, it returns the IMF (intrinsic mode functions)

%%%%%%% The following one is to calculate Hilbert transform for each IMFs, but I do no know how it works???????@#$%%

for k = 1:length(imf)
   b(k) = sum(imf{k}.*imf{k});
   th = angle(hilbert(imf{k}));
   d{k} = diff(th)/Ts/(2*pi);
end
[u,v] = sort(-b);
b = 1-b/max(b);

% Set time-frequency plots. I do not how it plot the time-frequency figures too
N = length(x);
c = linspace(0,(N-2)*Ts,N-1);
for k = v(1:2)
   figure, plot(c,d{k},'k.','Color',b([k k k]),'MarkerSize',3);
   set(gca,'FontSize',8,'XLim',[0 c(end)],'YLim',[0 1/2/Ts]); xlabel('Time'), ylabel('Frequency');
end

Thanks for your help.
 

Contact us at files@mathworks.com