Help me, please. I want a matrix transform averaged and unique in specific col,
Show older comments
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 Comments
Walter Roberson
on 20 Oct 2011
If you want averaging, then why isn't the second row [2, 4, 11] ?
Sangjae
on 20 Oct 2011
Accepted Answer
More Answers (1)
Pramod Bhat
on 20 Oct 2011
0 votes
may u please elaborate your question? im not getting ur problem...
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!