so, a have something like this:
x_a=[....]; %1xNx_b=[....]; %1xMfor i=1:Nfor j=1:Mc(i,j)= x_a(i)^2+x_b(j)^2 %or similar math operation using x_(i) and x_t(j)
endend
Is a way to perform this operation more efficiently?
for loop
x_a=[....]; %1xNx_b=[....]; %1xMfor i=1:Nfor j=1:Mc(i,j)= x_a(i)^2+x_b(j)^2 %or similar math operation using x_(i) and x_t(j)
endend
Best Answer