getting a parse error at '='
1 view (last 30 days)
Show older comments
fft_values[abs(fft_values) < threshold] = 0;
I am getting error as: parse error at '='. How should i rectify it?
0 Comments
Accepted Answer
per isakson
on 4 Mar 2014
Edited: per isakson
on 4 Mar 2014
Try
fft_values( abs(fft_values) < threshold ) = 0;
Matlab uses "()"
More Answers (0)
See Also
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!