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
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 CenterFile Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by