필터 지우기
필터 지우기

How to combine 2 matrices without sorting

조회 수: 1 (최근 30일)
Bharath
Bharath 2015년 2월 16일
댓글: Image Analyst 2015년 2월 16일
I've 2 matrices of size 2048x1. I want to join both the matrices without sorting. I tried using reshape but it automatically is sorting my values. Can someone help with hints or suggestion on this. Thanks in advance

채택된 답변

Image Analyst
Image Analyst 2015년 2월 16일
Try
matrix2D = [vector1, vector2]; % Creates a 2048 row by 2 column matrix.
or
tallVector = [vector1; vector2]; % Creates a 4096 row by one column vector.
  댓글 수: 4
Bharath
Bharath 2015년 2월 16일
Thanks that works. I have now the issue with graph. May I'll post it as another question. Can you please look it and suggest me where I'm going wrong.
Image Analyst
Image Analyst 2015년 2월 16일
OK, give me the link to it.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by