Remove negative 0 previous solution does not work in this context
Mostrar comentarios más antiguos
Attempting to use the solution which removes negative 0 as shown by Rick here:
In does not seem to work for me in this context why?
exp_phase_shift is a 1x8
I can see element 7 a small value of something to the -16
I am able to use this solution:
smallValues = abs(exp_phase_shift_re) < 0.000000001;
exp_phase_shift_re(smallValues) = 0;
Want to know why:
A(A==0)=0;
Does not work
Thanks
Mike

Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Mathematics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!