to find maximum for a particular row.
2 ビュー (過去 30 日間)
古いコメントを表示
if i want to find max of a particular row in a 2-d matrix say c.
then will this snip of code work:
for i=1:row
output(i,3)=max(c(i,:));
end
0 件のコメント
回答 (1 件)
Walter Roberson
2012 年 3 月 2 日
Yes, but that would find the maximum of a number of other rows along the way.
max(c(row,:))
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!