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

조회 수: 1 (최근 30일)
Diane
Diane 2014년 11월 1일
댓글: Jan 2014년 11월 1일
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.

답변 (1개)

Harry
Harry 2014년 11월 1일
편집: Harry 2014년 11월 1일
It is the complex conjugate transpose operator:
  댓글 수: 2
Matt J
Matt J 2014년 11월 1일
Diane commented:
Thank you! that explains why it does not work without it!
Jan
Jan 2014년 11월 1일
@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.

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

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by