Answers for "Error using fft Invalid data type. First argument must be double, single, int8, uint8, int16, uint16, int32, uint32, or logical."

0

Error using fft Invalid data type. First argument must be double, single, int8, uint8, int16, uint16, int32, uint32, or logical.

t=0:0.1:1000;f1 = 2;f2 = 3;x =cos(2*pi*f1.*t) + sin(2*pi*f2.*t);X=abs(fft(x))/numel(t);plot(t,X);
Posted by: Guest on March-13-2021

Code answers related to "Error using fft Invalid data type. First argument must be double, single, int8, uint8, int16, uint16, int32, uint32, or logical."

Browse Popular Code Answers by Language