Info

此问题已关闭。 请重新打开它进行编辑或回答。

How can I convert the following to a vector

1 次查看(过去 30 天)
How can I convert the following
G = [20] [15] [4.5000]
to a vector as G = [20 15 4.5]

回答(1 个)

OCDER
OCDER 2018-7-20
G = {20 15 4.5};
G = [G{:}];

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by