Concatenation between two value

1 vue (au cours des 30 derniers jours)
Syakira Akmal
Syakira Akmal le 12 Avr 2017
Modifié(e) : KSSV le 12 Avr 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.

Réponse acceptée

KSSV
KSSV le 12 Avr 2017
Modifié(e) : KSSV le 12 Avr 2017
vec(1) = 0.7854 ;
vec(2) = 2.8284 ;
or
vec = [0.7854 2.8284 ] ;

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by