How to get matrix weighted average

조회 수: 2 (최근 30일)
Supriya Gain
Supriya Gain 2019년 9월 24일
편집: KALYAN ACHARJYA 2019년 9월 24일
Suppose i have matrix A=[1;2;3]. I want the answer as = [1/6;2/6;3/6]

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 9월 24일
편집: KALYAN ACHARJYA 2019년 9월 24일
A=[1;2;3];
result=A./6
or
result=A/6

추가 답변 (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