in your LU decomp file exchange, what does the ' character do?

1 Ansicht (letzte 30 Tage)
Diane
Diane am 1 Nov. 2014
Kommentiert: Jan am 1 Nov. 2014
in the file exchange is an LU decomp example by Timothee called, of course, LU Decomposition. in it is a line that says:
xstar_soln=xstar_soln'; and a second similar statement that says: x_soln=x_soln';
what does the primed character, ', do? is it just another character? what does this statement accomplish? - it seems meaningless, since the primed variable never appears anywhere else in the script.
I am just learning Matlab, and don't know where to find answers to this kind of question.

Antworten (1)

Harry
Harry am 1 Nov. 2014
Bearbeitet: Harry am 1 Nov. 2014
It is the complex conjugate transpose operator:
  2 Kommentare
Matt J
Matt J am 1 Nov. 2014
Diane commented:
Thank you! that explains why it does not work without it!
Jan
Jan am 1 Nov. 2014
@Diane: Please accept this answer, if it solves your problem. The section for answers should be used for answers only, not for comments to otehr answers. Thanks.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by