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 view (last 30 days)
Show older comments
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 Comment
Image Analyst
on 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
Answers (0)
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!