Concatenation between two value

Hi, i have an example value 0.7854 and 2.8284. Then i want to concatenation them to get value of vectors. So, how to solve it using matlab code.

 Accepted Answer

KSSV
KSSV on 12 Apr 2017
Edited: KSSV on 12 Apr 2017
vec(1) = 0.7854 ;
vec(2) = 2.8284 ;
or
vec = [0.7854 2.8284 ] ;

More Answers (0)

Asked:

on 12 Apr 2017

Edited:

on 12 Apr 2017

Community Treasure Hunt

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

Start Hunting!