How to Create/Modify for matrices or matrix
Afficher commentaires plus anciens
K=5
matA= [1 2 ..4 K]
matB=[matA matA matA matA matA]
matB=[1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5]
How to operate this equation matB?
Réponse acceptée
Plus de réponses (1)
Les Beckham
le 12 Avr 2022
Modifié(e) : Les Beckham
le 12 Avr 2022
K=5;
matA = 1:K
matB = repmat(matA, 1, K)
Catégories
En savoir plus sur Simulation, Tuning, and Visualization dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!