how can i standardise the elements in a matrix

3 ビュー (過去 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 Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by