Finding the max value of a particular row in a cell array and then returning the values of the full row in a table
4 次查看(过去 30 天)
显示 更早的评论
I want to return the full values of a row by finding out the max value of a column which falls into that particular row.
Suppose there are two sets of matrix in a cell array like
S{1}=1 2 3
4 5 6
S{2} =3 4 6
7 8 9
I want to find the max value in the first row and third column,in this case its 6 but i want to store the value 3 4 6 in a matrix.
Please help
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!