Matlab syntax question

Hi would anyone know what this notion means in matlab.
[code]x = (0:n-1)/(n-1);[/code]
It's the : I don't understand. I know it's use in for loops but not this way.
Sorry, just new to the language.
Cheers.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories