Why do I receive a segmentation violation when using the FFTN function?

Why do I receive a segmentation violation when using the FFTN function?
If I run the following command at the MATLAB command prompt, I receive a segmentation violation:
X=rand(1000,3);
y=fftn(X, 1:100);

 Accepted Answer

This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
This has been reported to our development team to be addressed in a future version of MATLAB.
A more correct approach for the above command would be the following:
X=rand(1000,3);
y = fftn(X,[1, 100]);

More Answers (0)

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!