How do I make a test matrix from two separate vectors with 7 elements?
2 ビュー (過去 30 日間)
古いコメントを表示
Hello everyone,
I have two separate vectors of 3 elements and I should make a test matrix of them.
For example I would have vectors: a=[1 2 3] and b=[4;5;6]
Then the test matrix would include the test cases (products between every single element from a and b):
So how do I make a test matrix which includes product between every single element of two vectors?
Thank you for all kind of help.
0 件のコメント
回答 (2 件)
Wayne King
2012 年 12 月 18 日
編集済み: Wayne King
2012 年 12 月 18 日
kron(a,b)
See the help for the Kronecker product
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!