getting a parse error at '='

fft_values[abs(fft_values) < threshold] = 0;
I am getting error as: parse error at '='. How should i rectify it?

 Risposta accettata

per isakson
per isakson il 4 Mar 2014
Modificato: per isakson il 4 Mar 2014
Try
fft_values( abs(fft_values) < threshold ) = 0;
Matlab uses "()"

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by