Hey i am new to matlab and need help with storing answer of my for loop into a matrix can anyone help ?

my aim is having (n x n) matrix. thanks a lot

n=input('please enter n>');

for j=1:n

for i=1:n

a=(5*(i/n))+(8*(j/n));

end

end

## Best Answer