Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Getting rid of built in vectorised function (Max)

1 visualización (últimos 30 días)
jacob Mitch
jacob Mitch el 19 de Oct. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I just wanted to see if its possible to get rid of max in the following whilst still producing the same result.
A=[1,2,3,4,5,6,7,8,9,1,2,3]
idy = [diff(A)>0,true] & [true,diff(A)<0];
[~,idx] = max(A); %get rid of max
idy(idx:end) = false;
  1 comentario
the cyclist
the cyclist el 20 de Oct. de 2019
It might help for you to describe conceptually what you are trying to do with the entire algorithm.

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by