# UndefVarError: linspace not defined

**URL:** <https://discourse.julialang.org/t/undefvarerror-linspace-not-defined/13269>\
**Category:** New to Julia\
**Created:** [August 11, 2018, 9:05pm UTC](https://discourse.julialang.org/t/undefvarerror-linspace-not-defined/13269 "2018-08-11T21:05:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![migarstka](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/migarstka/32/3828_2.png) [@migarstka](https://discourse.julialang.org/u/migarstka)\
**Post date:** [August 11, 2018, 9:13pm UTC](https://discourse.julialang.org/t/undefvarerror-linspace-not-defined/13269/2 "2018-08-11T21:13:42Z")

</div>

Linspace was deprecated. You should be able to use

```julia
range(0,stop=2*pi,length=10)

```

---

_[View the full topic](https://discourse.julialang.org/t/undefvarerror-linspace-not-defined/13269)._
