Help me, please. I want a matrix transform averaged and unique in specific col,
显示 更早的评论
I want first 1 and 2 columns unique and 3 coloum make average matrix.
for example
[1,2,11; 1,2,12; 1,2,13; 2,4,10; 2,4,12]
->
[1,2,12; 2,4,10]
How can I get that? I can do that very complex way but I think there is some smart way. Help me people
2 个评论
Walter Roberson
2011-10-20
If you want averaging, then why isn't the second row [2, 4, 11] ?
Sangjae
2011-10-20
采纳的回答
更多回答(1 个)
Pramod Bhat
2011-10-20
0 个投票
may u please elaborate your question? im not getting ur problem...
类别
在 帮助中心 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!