Filter löschen
Filter löschen

Standart deviation between two matrix

1 Ansicht (letzte 30 Tage)
Jhon Dukester
Jhon Dukester am 8 Feb. 2014
Kommentiert: Wayne King am 8 Feb. 2014
Hi,
I have a matrix A 100*6 and and a matrix B 100*1.
I would like to compute de standart deviation between each columns of Matrix A with the matrix B.
Thank you

Akzeptierte Antwort

Wayne King
Wayne King am 8 Feb. 2014
What do you mean "between two matrix"
std() on a matrix returns the standard deviation of the columns
A = randn(100,6);
std(A)
B = randn(100,1);
std(B)
  2 Kommentare
Jhon Dukester
Jhon Dukester am 8 Feb. 2014
Bearbeitet: Jhon Dukester am 8 Feb. 2014
I would like to compute the std between column one of Matrix A and column one of matrix B.
Than, std between column two of Matrix A and colum one of matrix B.
Than, std between column 3 of Matrix A and colum one of matrix B.
Is it possible?
Thank you
Wayne King
Wayne King am 8 Feb. 2014
You have to specify what you mean by std between the columns, the std of the difference, or the sum, or the product?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu GPU Computing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by