How to create column vector by the transpose?

22 Ansichten (letzte 30 Tage)
Ting Chie Yu
Ting Chie Yu am 7 Mär. 2021
Kommentiert: Havyas am 29 Okt. 2024
Column vector:
When a = 16, and T indicates transpose.
How to create the variables in command by using the transpose operator ‘
  2 Kommentare
KALYAN ACHARJYA
KALYAN ACHARJYA am 7 Mär. 2021
Bearbeitet: KALYAN ACHARJYA am 7 Mär. 2021
a=16;
dvc=[10^0.01 log(49) 975 sqrt(a)].'
Havyas
Havyas am 29 Okt. 2024
Transpose b from a row vector to a column vector using the transpose operator.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Jan
Jan am 7 Mär. 2021
Bearbeitet: Jan am 7 Mär. 2021
The quote ' is not the transpose operator, but the complex transposition. To be exact the tranpose operator is .' including the dot.
  3 Kommentare
Ting Chie Yu
Ting Chie Yu am 7 Mär. 2021
Can I know when to use tranpose operator with a dot .' and a single quote ' ?
Stephen23
Stephen23 am 7 Mär. 2021
Bearbeitet: Stephen23 am 7 Mär. 2021
"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)]

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by