%Questions#38
clcclearcloseN=2x = [4 9; 8 6]for row=1:N for col=1:N t1=cos(5*3.14*x) Mat(row,col)=t1 E1=sum(Mat,2) endend
MATLAB: Unable to perform assignment because the indices on the left side are not compatible with the size of the right side. Error in Q38 (line 10) Mat(row,col)=t1
MATLAB
Best Answer