Borrar filtros
Borrar filtros

How to create column vector by the transpose?

34 visualizaciones (últimos 30 días)
Ting Chie Yu
Ting Chie Yu el 7 de Mzo. de 2021
Editada: Stephen23 el 7 de Mzo. de 2021
Column vector:
When a = 16, and T indicates transpose.
How to create the variables in command by using the transpose operator ‘

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by