FFT function is not functioning.

5 次查看(过去 30 天)
Hello,
I'm trying to run a basic fft function:
...
x=linspace(0,5*pi,100);
y=sin(x);
Y=fft(y);
plot(Y)
...
When I do so, I get a download notifacation that fails. It reads as follows:
...
Loading
C:\Users\myname\OneDrive\Documents\bin\win64\builtins\mathdsp\mwlibmwmathdsp_builtinimpl.dllfailed
with error: The cloud operation was unsuccessful.
: unknown error: unknown error
...
How can I fix this?
Additional information:
  • I have the signal processing toolbox installed.
  • Running windows 10
  • Prompting 'which fft' returns 'built-in (C:\Users\myname\OneDrive\Documents\toolbox\matlab\datafun\fft)'

回答(1 个)

Steve Eddins
Steve Eddins 2022-1-25
It seems that you may have tried to install MATLAB on a cloud drive (OneDrive). Or maybe you copied the application files into OneDrive? I suggest that you reinstall MATLAB using the normal location for applications on your computer.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by