How do I manually enter the mean equation?

댓글 수: 1

mean of what? There's a mean function that does it for you. Otherwise you can use
doc sum
if you really want to do it without the mean function.
Or you can add all your numbers together in a for loop if you don't want to use sum either.

댓글을 달려면 로그인하십시오.

답변 (1개)

Stephan
Stephan 2019년 9월 17일
편집: Stephan 2019년 9월 17일

0 개 추천

A_mean = sum(A,'all')/numel(A)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

태그

질문:

2019년 9월 17일

편집:

2019년 9월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by