Filter löschen
Filter löschen

how to convert two one dimensional arrays into one two dimenstional array

20 Ansichten (letzte 30 Tage)
i have two single dimensional array named as A,B. now i want to write these two arrays into a one array of two dimensiona.and store it in a two dimensional array named C.

Akzeptierte Antwort

Wayne King
Wayne King am 2 Apr. 2013
A = ones(20,1);
B = ones(20,1);
C = [A B];
  1 Kommentar
rubia
rubia am 2 Apr. 2013
actually,i have a a one dimesional array fm contains mean of a image, and another one dimensional array fd contains standard deviation sd,for every pixel. now i want store these two fm,fs as a feature vector (fm,fd).

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB 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