Building a function that calls on an array and finds its maximum
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
Can somebody help/ give me an example of a function that would find the maximum of an array. Any help would be appreciated.
2 个评论
David Hill
2020-10-21
x=[4 8 34 23 98 31];
y=max(x);
Walter Roberson
2020-10-21
(That could would find the maximum of a scalar or vector, not of an array with 2 or more dimensions.)
回答(0 个)
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!