Building a function that calls on an array and finds its maximum
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
Can somebody help/ give me an example of a function that would find the maximum of an array. Any help would be appreciated.
2 Kommentare
David Hill
am 21 Okt. 2020
x=[4 8 34 23 98 31];
y=max(x);
Walter Roberson
am 21 Okt. 2020
(That could would find the maximum of a scalar or vector, not of an array with 2 or more dimensions.)
Antworten (0)
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!