Filter löschen
Filter löschen


Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Getting rid of built in vectorised function (Max)

1 Ansicht (letzte 30 Tage)
jacob Mitch
jacob Mitch am 19 Okt. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I just wanted to see if its possible to get rid of max in the following whilst still producing the same result.
idy = [diff(A)>0,true] & [true,diff(A)<0];
[~,idx] = max(A); %get rid of max
idy(idx:end) = false;
  1 Kommentar
the cyclist
the cyclist am 20 Okt. 2019
It might help for you to describe conceptually what you are trying to do with the entire algorithm.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by