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

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.

 채택된 답변

A = ones(20,1);
B = ones(20,1);
C = [A B];

댓글 수: 1

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).

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Time Series Events에 대해 자세히 알아보기

질문:

2013년 4월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by