Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のベクトルがあります。
a = [1 2]; b = [0.25 0.5];
2x2 行列を取得したいc:
c
c = [1/0.25+1/0.5 2/0.25+1/0.5 1/0.25+2/0.5 2/0.25+2/0.5];
後日、より多くの値を使用してこのモデルを拡張することを目指しています
ありがとう
最高の線形代数:
(1./b')*a
repmat(a,size(b,2),1)./repmat(b',1,size(a,2))