What does the ' symbol mean?

8 views (last 30 days)
Troy McClure
Troy McClure on 12 May 2020
Edited: Stephen23 on 12 May 2020
I see some code like
x = myfunc()';
What does the ' mean here?
  1 Comment
Stephen23
Stephen23 on 12 May 2020
Edited: Stephen23 on 12 May 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:

Sign in to comment.

Answers (1)

Peng Li
Peng Li on 12 May 2020
  1 Comment
Stephen23
Stephen23 on 12 May 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: '

Sign in to comment.

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!