01-13-2008 06:50 PM
01-14-2008 09:27 AM
01-14-2008 04:49 PM
kiarash,
I believe the problem you are having is because of the datatype of the inputs to the MATLAB Script Node. By default, an input to a script node is "Real" (double precision scalar). To change the datatype to "1-D Array of Real" to match the data from the measurement file, right click each of the script node inputs and select "Chose Data Type". This way, the data being sent to MATLAB will match the datatype expected by the CPSD function.
Also note that you can convert the Dynamic Data directly to a numeric 1-D array with the "Convert from Dynamic Data" function. Currently, the data is being converted to a Waveform datatype, which is not necessary. Double click the "Convert from Dynamic Data" function, then select "1D array of scalars - automatic".
Chris M
01-14-2008 08:43 PM
Hi Chris,
Yes you are completely right. Thanks for your help 🙂
Kiarash
07-17-2009 01:51 AM
Dear kiarash and Chris:
I do the same method as you write.
But I also have the error.
Could you help me to solve it?
Thank you
I attached my program here.
07-12-2011 08:50 AM
Hello,
I have a problem with the spss. Could you please help how to calculate regulation time, memory effect, spectral density function?????
07-12-2011 09:09 AM
asddddd wrote:I have a problem with the spss. Could you please help how to calculate regulation time, memory effect, spectral density function?????
Do you think your question is directly related to this 2 year old discussion about cross power spectrum? If not, you should really start a new thread. To be clear, you should also spell out acronyms (such as spss), because they have multiple meanings.
Thanks.