Concatenation between two value

1 view (last 30 days)
Syakira Akmal
Syakira Akmal on 12 Apr 2017
Edited: KSSV on 12 Apr 2017
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)

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!