The mean value for a first column in a matrix
5 次查看(过去 30 天)
显示 更早的评论
i have 6x3 matrix and i want to calculate mean value of first column without the second and third one
5 个评论
Peng Li
2020-3-25
colon index is one of the most useful operator in MATLAB. i recommend you check the reference link for colon index.
besically, a(:, n) means the nth column of matrix a.
回答(0 个)
另请参阅
类别
在 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!