Calculate the Kronecker product K A B . Use nested loop operation to calculate each element of K directly and output the results with fprintf() function for a random
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Calculate the Kronecker product K A B . Use nested loop operation to calculate each element of K directly and output the results with fprintf() function for a random 2 by 2 matrice and 3 by 4 matrice.
1 commentaire
Image Analyst
le 23 Nov 2014
You forgot to post your attempt at coding it up. Even if it doesn't work, at least post something. http://www.mathworks.com/matlabcentral/answers/13205-tutorial-how-to-format-your-question-with-markup. Hint:
for col = 1 : columns
for row = 1 : rows
theProduct = .....
fprintf(..............
end
end
Réponses (0)
Voir également
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!