Dear All
I am having some problem in analysing signals on MATLAB. I am trying to see nerve conduction studies signal in frequency domain. I have been applying following commands as I was told it is correct commands. I constantly getting an error message (Undefined function or variable 'norm_elbow_motor1b'). Is there anyone who can help me as i am not an expert in MATLAB? I will highly appreciate if someone can help me in this regards.
Regards
Kim
% For EEG
t = linspace (0, 0.50, 640);
x = norm_elbow_motor1b;
h = spectrum.periodogram('Rectangnorm_wrist_motor1norm_wrist_motor1norm_wrist_motor1ular');%
hopts = psdopts(h,x); % Default options based on the signal x
set(hopts,'Fs',1/(t(2)-t(1)),'SpectrumType','twosided','CenterDC',true);
psd(h,x,hopts)
Undefined function or variable 'norm_elbow_motor1b'.
Vote for best question.
Score: 0
# Vote: 0
Date Posted: 27-Aug-2016, at 2:28 AM EST
From: kimshah077@gmail.com
Re: Undefined function or variable 'norm_elbow_motor1b'
On 08/27/2016 4:28 AM, kimshah077@gmail.com wrote:
....
> ... getting an error message (Undefined function or variable
> 'norm_elbow_motor1b'). ...
> ...
> % For EEG
> t = linspace (0, 0.50, 640);
> x = norm_elbow_motor1b;
> h = spectrum.periodogram('Rectangnorm_wrist_motor1norm_wrist_motor1norm_wrist_motor1ular');%
>
> hopts = psdopts(h,x); % Default options based on the signal x
> set(hopts,'Fs',1/(t(2)-t(1)),'SpectrumType','twosided','CenterDC',true);
> psd(h,x,hopts)
>
>
> Undefined function or variable 'norm_elbow_motor1b'.
x = norm_elbow_motor1b;
Well, if norm_elbow_motor1b isn't a script that loads the data, then it
must be a data array itself. If it doesn't exist in the workspace, then
clearly can't do much without any data.
Looks like you're expected to have already loaded the data into a
variable of that name...some other script/function supposed to have been
executed prior to this one--running it would be the most likely solution
it would seem. Whoever gave you the above should have the rest of the
instructions as well...
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus