It seems like data80 does not belong to the valid input types of fft function.You can use either double, int32, uint32 or logical functions on the input data before applyting FFT in the script or if you are working in Simulink you can use Data Type Conversion block to change the input data type.
1 Comment
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/608811-getting-error-message-for-fast-fourier-transform-from-simulink#comment_1046661
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/608811-getting-error-message-for-fast-fourier-transform-from-simulink#comment_1046661
Sign in to comment.