C-MEX error using pwelch

  • Follow


I keep getting the same C-MEX error when running pwelch: 
??? Error using ==> buffer at 93 C-MEX function not found.

My code is as follows: 
figure
[Prr,F] = pwelch(data,[],[],4096,fs);
Prr_db=10*log10(Pxx);
plot(F,Prr_db);
ylim([30 120]);
title('Power Spectral Density 06-Aug-10 16:29:21');
xlabel('frequency (Hz)');
ylabel('PSD (dB re 1\muPa^2/Hz)');
grid on

I can use this form of pwelch with (data,[],[],[],fs) but when I try to add a value for NFFT(the third empty bracket) I get the error above. What could be causing this?
0
Reply Chris 2/10/2011 4:58:04 PM


0 Replies
190 Views

(page loaded in 0.013 seconds)

Similiar Articles:













7/23/2012 2:47:30 AM


Reply: