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 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Image Analyst
am 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
Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!