The mean value for a first column in a matrix

5 views (last 30 days)
i have 6x3 matrix and i want to calculate mean value of first column without the second and third one
  5 Comments
Peng Li
Peng Li on 25 Mar 2020
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.

Sign in to comment.

Answers (0)

Categories

Find more on Resizing and Reshaping Matrices in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!