Effacer les filtres
Effacer les filtres

The initialisation of this matrix which the colon operator

1 vue (au cours des 30 derniers jours)
Zachary Holmes
Zachary Holmes le 2 Déc 2015
if my matrix is: B = [ 0 4 8 12 16 20 24 28 32 36 40]
would the correct initialisation be: B=0:4:20??

Réponses (1)

Walter Roberson
Walter Roberson le 2 Déc 2015
No, but you are headed in the right direction. You will immediately see the problem when you try your code.

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by