# 1-Column matrix vs. Vector

**URL:** <https://discourse.julialang.org/t/1-column-matrix-vs-vector/71440>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [November 13, 2021, 10:28pm UTC](https://discourse.julialang.org/t/1-column-matrix-vs-vector/71440 "2021-11-13T22:28:39Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [November 14, 2021, 1:32am UTC](https://discourse.julialang.org/t/1-column-matrix-vs-vector/71440/17 "2021-11-14T01:32:11Z")

</div>

> [@leon](#):
>
> It seems that Julia considers them to be different? The size of `a` is (3,1) and the size of `b` is (3,). Can anyone please explain What is causing all of this to happen? Why doesn’t Julia treat them the same?

I wrote a long post explaining many motivations for distinguishing these as types when you brought it up previously:

> [@My wishlist for the next version of Julia](https://discourse.julialang.org/t/my-wishlist-for-the-next-version-of-julia/69987/57):
>
> In Matlab there are no vectors, only single-column matrices. There are arrays with higher numbers of dimensions, however, so it treats two as a special number of dimensions. I get how they ended up there: early versions only had matrices, which gets you shockingly far, only later did they add higher dimensional arrays. However, that’s unsatisfying (why is two special?) and causes problems. Think of all the cases where Matlab does something special and different when a matrix happens to only have…

---

_[View the full topic](https://discourse.julialang.org/t/1-column-matrix-vs-vector/71440)._
