How to create column vector by the transpose?

조회 수: 29 (최근 30일)
Ting Chie Yu
Ting Chie Yu 2021년 3월 7일
편집: Stephen23 2021년 3월 7일
Column vector:
When a = 16, and T indicates transpose.
How to create the variables in command by using the transpose operator ‘
  댓글 수: 1
KALYAN ACHARJYA
KALYAN ACHARJYA 2021년 3월 7일
편집: KALYAN ACHARJYA 2021년 3월 7일
a=16;
dvc=[10^0.01 log(49) 975 sqrt(a)].'

댓글을 달려면 로그인하십시오.

채택된 답변

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 CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by