reducing the m x n value of matrix
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I have a matrix of 2500 x 56,
and I need to reduce the value to be half, i.e: 1250 x 56 or 1250 x 28
It's not that I want to compress the value, but I want the other 1250 just to be taken out. Meaning, i want my first 1250 original value. I hope i make sense here..
The matrix value is being save in data_all.mat.
Does anyone know how to access the row and column value?
I know about principal component analysis, but that is not what I want to do.
Thanks for the help..
0 个评论
采纳的回答
更多回答(1 个)
Pinky Incognito
2011-3-18
2 个评论
Walter Roberson
2011-3-18
A is your matrix. load() your matrix from your .mat file if you need to. save() the reduced matrix back to your .mat file if you want to (but it's a good idea to save it to a _different_ .mat file until you are sure that everything worked and that you don't need the original data any more.)
另请参阅
类别
在 Help Center 和 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!