Is it because you use it many times? just define a clinspace that collects 
the linspace.

On Tuesday, September 29, 2015 at 6:44:43 PM UTC-4, feza wrote:
>
> In matlab  x = linspace(0,1,n)  creates a vector of floats of length n. In 
> julia it seems like the only way to do this is to use x = collect( 
> linspace(0,1,n) ) . Is there a nicer syntax? I do mainly numeric computing 
> and I find this quite common in my code.
>
> Thanks.
>

Reply via email to