# How do I create a 1,2,3 3x1 Matrix?

**URL:** <https://discourse.julialang.org/t/how-do-i-create-a-1-2-3-3x1-matrix/60855>\
**Category:** New to Julia\
**Created:** [May 10, 2021, 7:25am UTC](https://discourse.julialang.org/t/how-do-i-create-a-1-2-3-3x1-matrix/60855 "2021-05-10T07:25:55Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![briochemc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/briochemc/32/4209_2.png) [@briochemc](https://discourse.julialang.org/u/briochemc)\
**Post date:** [May 14, 2021, 1:02pm UTC](https://discourse.julialang.org/t/how-do-i-create-a-1-2-3-3x1-matrix/60855/21 "2021-05-14T13:02:36Z")

</div>

Huh? Is there a reason for not having `Matrix([1,2,3])` return the 2D column vector requested here?

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [May 20, 2021, 5:24pm UTC](https://discourse.julialang.org/t/how-do-i-create-a-1-2-3-3x1-matrix/60855/22 "2021-05-20T17:24:37Z")

</div>

> [@GunnarFarneback](#):
>
> Note that there is a PR [https://github.com/JuliaLang/julia/pull/33697](https://github.com/JuliaLang/julia/pull/33697), which, if I understand it correctly, means that `a = [1 ; 2 ; 3 ;;]` may be a future syntax for this. Specifically see the proposed [`NEWS`](https://github.com/JuliaLang/julia/pull/33697/files#diff-51920e95310ebfbc1ae31709f3b95f89afffbf4f1a6e38e8b2b406e2fb6197ea) entry.

Merged on master 40 minutes ago.

```julia
   _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.7.0-DEV.1129 (2021-05-20)
 _/ |\ __'_|_|_|\__'_| | Commit 9117b4d6d6* (0 days old master)
|__/ |

julia> [1 ; 2 ; 3 ;;]
3×1 Matrix{Int64}:
 1
 2
 3

```

[Previous page](https://discourse.julialang.org/t/how-do-i-create-a-1-2-3-3x1-matrix/60855.md?page=1)
