MATLAB: Error when fixing matrik size

combine matriks

how can i solved this problem when i'm trying to combine to fixed matrik size
Attempted to access A(46,101); index out of bounds because size(A)=[100,100]
sorry for bad english :p

Best Answer

A=[1 2 3 ; 4 5 6]
the size of A is 2x3, you will get an error if you write
A(4,1)