From: Hasan Yousuf on
suppose we have two matrixes A = [1 2 3; 4 5 6; 7 8 9]
A = 1 2 3
4 5 6
7 8 9
2nd matrix B = 3 5 7 B = [3 5 7; 6 8 1]
6 8 1

I want to make new matrix like c = A
B
C=
1 2 3
4 5 6
7 8 9
3 5 7
6 8 1

Is there any possibility to join two matrixes like this. I tried with A matrix with single row B matrix and it works fine and I do like A(4,:)=B but when I make B matrix 2 rows and 3 columns it gives me "Subscripted assignment dimension mismatch" error. Kindly help me in this regard.
From: Hasan Yousuf on
Problem is solved by
VERTCAT function.

<hrbmvk$jai$1(a)fred.mathworks.com>...
> suppose we have two matrixes A = [1 2 3; 4 5 6; 7 8 9]
> A = 1 2 3
> 4 5 6
> 7 8 9
> 2nd matrix B = 3 5 7 B = [3 5 7; 6 8 1]
> 6 8 1
>
> I want to make new matrix like c = A
> B
> C=
> 1 2 3
> 4 5 6
> 7 8 9
> 3 5 7
> 6 8 1
>
> Is there any possibility to join two matrixes like this. I tried with A matrix with single row B matrix and it works fine and I do like A(4,:)=B but when I make B matrix 2 rows and 3 columns it gives me "Subscripted assignment dimension mismatch" error. Kindly help me in this regard.