What does the ' symbol mean?

11 vues (au cours des 30 derniers jours)
Troy McClure
Troy McClure le 12 Mai 2020
Modifié(e) : Stephen23 le 12 Mai 2020
I see some code like
x = myfunc()';
What does the ' mean here?
  1 commentaire
Stephen23
Stephen23 le 12 Mai 2020
Modifié(e) : Stephen23 le 12 Mai 2020
The accepted answer is incorrect. The correct answer is ctranspose:
To use MATLAB it is very important to learn the diffference between array and matrix operations:

Connectez-vous pour commenter.

Réponses (1)

Peng Li
Peng Li le 12 Mai 2020
  1 commentaire
Stephen23
Stephen23 le 12 Mai 2020
This is incorrect. transpose has the convenience notation with a dot: .'
The code in the question shows complex conjugate transpose, which has no dot: '

Connectez-vous pour commenter.

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by