Info

This question is closed. Reopen it to edit or answer.

Hi! every one, I have a problem in matlab, how i get all values in a single matrix from for loop

1 view (last 30 days)
l=0.5;
for i=1:5
i;
c=[l, i]
end.
I need all these data in a single matrix. kindly guide me.Thank you.

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!