Convert double array into column vector

Hello!
How can I convert the data format below ( f or f(:) ) into the data format in the other image (columns) ?
Screen Shot 2019-07-30 at 1.38.10 PM.png
Screen Shot 2019-07-30 at 1.36.46 PM.png

2 个评论

It is unclear to me what format you are starting with and what format you want to end up with.
I ended up figuring it out!
just had to do : [f(1,:) ]

请先登录,再进行评论。

 采纳的回答

更多回答(2 个)

I'm not clear on the same point that James mentioned, but I'm going to guess that the reshape command is what you need.

类别

在 帮助中心 和 File Exchange 中查找有关 Data Type Conversion 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by