필터 지우기
필터 지우기

how can i standardise the elements in a matrix

조회 수: 4 (최근 30일)
NN
NN 2020년 12월 3일
댓글: Star Strider 2020년 12월 8일
I want to standardie the elements in a 9*576 double matrix (pn) in matlab.
I use the below code, but i dont get the same dimension, it gives 9*1 double matrix(pn1) , how can i standardise each element and get the same dimension.
mu = mean(pn);
sig = std(pn);
pn1 = (pn- mu) / sig;
  댓글 수: 3
NN
NN 2020년 12월 8일
I have seen your post and thank you so much.
But still i am searching for the answer and i would like to know where i did mistake
Star Strider
Star Strider 2020년 12월 8일
My pleasure.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by