How to create column vector by the transpose?

16 ビュー (過去 30 日間)
Ting Chie Yu
Ting Chie Yu 2021 年 3 月 7 日
コメント済み: Havyas 2024 年 10 月 29 日
Column vector:
When a = 16, and T indicates transpose.
How to create the variables in command by using the transpose operator ‘
  2 件のコメント
KALYAN ACHARJYA
KALYAN ACHARJYA 2021 年 3 月 7 日
編集済み: KALYAN ACHARJYA 2021 年 3 月 7 日
a=16;
dvc=[10^0.01 log(49) 975 sqrt(a)].'
Havyas
Havyas 2024 年 10 月 29 日
Transpose b from a row vector to a column vector using the transpose operator.

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

採用された回答

Jan
Jan 2021 年 3 月 7 日
編集済み: Jan 2021 年 3 月 7 日
The quote ' is not the transpose operator, but the complex transposition. To be exact the tranpose operator is .' including the dot.
  3 件のコメント
Ting Chie Yu
Ting Chie Yu 2021 年 3 月 7 日
Can I know when to use tranpose operator with a dot .' and a single quote ' ?
Stephen23
Stephen23 2021 年 3 月 7 日
編集済み: Stephen23 2021 年 3 月 7 日
"Can I know when to use tranpose operator with a dot .' and a single quote '"
This is very easy:
  • use the complex conjugate transpose ' when you need the complex conjugate transpose.
  • otherwise use transpose .'
If you are not doing linear algebra then most likely you should be using transpose.
Tip: rather than wasting time with transposing, just define the vector as a column in the first place:
V = [10^0.01;log(49);975;sqrt(a)]

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by