MATLAB Answers

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.

  0 Comments

Sign in to comment.

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 ] ;

  0 Comments

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!

Translated by