Info

This question is closed. Reopen it to edit or answer.

How can I convert the following to a vector

2 views (last 30 days)
Yaser Khojah
Yaser Khojah on 20 Jul 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
How can I convert the following
G = [20] [15] [4.5000]
to a vector as G = [20 15 4.5]

Answers (1)

OCDER
OCDER on 20 Jul 2018
G = {20 15 4.5};
G = [G{:}];

This question is closed.

Community Treasure Hunt

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

Start Hunting!