フィルターのクリア

Produce a matrix from pointwise outer product from vectors of different length

2 ビュー (過去 30 日間)
K.E.
K.E. 2016 年 8 月 27 日
編集済み: Walter Roberson 2016 年 8 月 27 日
I have 3 by 1 vectors
u, v1, v2, v3.
I also have a 1 by 9 vector
v = [v1' v2' v3']
concatenating the conjugate of vi.
How can I produce a 3 by 9 matrix w such that
w = [u*v1' u*v2' u*v3'];
where
u*v1', u*v2', and u*v3'
are all 3 by 3.
  2 件のコメント
Walter Roberson
Walter Roberson 2016 年 8 月 27 日
You cannot. You have three sub-matrices each 3 x 3, for a total of 3 * 3 * 3 = 27 elements, but you want a 9 x 9 output matrix which calls for 9 * 9 = 81 elements. The content of the other 54 elements is not defined.
K.E.
K.E. 2016 年 8 月 27 日
編集済み: K.E. 2016 年 8 月 27 日
@Walter Roberson oh sorry 3 by 9.

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

採用された回答

Walter Roberson
Walter Roberson 2016 年 8 月 27 日
編集済み: Walter Roberson 2016 年 8 月 27 日
u * v
would be the same as
u * [v1', v2', v3']
which would be the same as
[u * v1', u*v2', u*v3']
so just go ahead and use u * v

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by