how can improve the performance

I would like to improve the performance of my code. How can make it more efficient which includes loop and statements ?
for i = 1:count
if(myArray(i,2) > maxVal)
maxVal = myArray(i,2);
end
end
Kind regards,
Thanks.

回答(0 个)

此问题已关闭。

提问:

2019-11-16

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by