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 回表示 (過去 30 日間)
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 件のコメント
Image Analyst
Image Analyst 2014 年 11 月 23 日
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

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by