MATLAB: How to make series.

MATLABmatrix

I want to create series [1,2,3,…] upto N numbers. When i put N=50 its display 1,2,3,4….upto 50.how can i write this from 1 line or command. Plz help

Best Answer

1:N
Related Question