I have a matrix a
from a I have generated a new matrix b which have 2 new elements for 1 element of a
a = [2;3][m,n]=size(a)for i=1:m b=[1.5*(a(i)) 2*(a(i))]end
I want to generate a new matrix 'c' such that it includes all the sets
expected results as
c = [2 3;2 4;3 4.5;3 6]
Best Answer