Getting a increasing by the nxn matrix inside a for loop
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
HI there i dont quite understand how to get a matrix that is increasing by nxn matrix
like for example
n=100
for i=1:n
matrixA=[1x1] matrix
iter1
matrixA=[2x2] matrix
iter 2
and so on until the 100x100 matrix, so
end
it would also help if the matrix i get can be used for the diag function?
Help is appreciated thank you in advance
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Operating on Diagonal Matrices dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!