How do I create a vector by repeating a vector

Antworten (1)

KSSV
KSSV am 28 Jul. 2021
Bearbeitet: KSSV am 28 Jul. 2021
A = [1; 2] ;
B = repmat(A,2,1)
B = 4×1
1 2 1 2

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 28 Jul. 2021

Kommentiert:

am 28 Jul. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by