I write L' but in the command window it writes ans. Why?
조회 수: 1 (최근 30일)
이전 댓글 표시
댓글 수: 2
Torsten
2022년 3월 5일
편집: Torsten
2022년 3월 5일
To put it easily:
If you operate on a variable or matrix (e.g. transpose L), this new expression is not alligned to an already existing variable and its name. So you will get "ans" for it in the command window.
If you do
Ltransp = L'
"Ltransp" instead of "ans" will appear.
John D'Errico
2022년 3월 5일
@Alexandra Panayiota Gregoriou - generally, please use flags to indicate posts that require moderator attention of some sort, not as a way to thank a person for a response. Your flag said:
"ohh. Tahnkyouuu"
which is nice to acknowledge the help you got. But use a comment to do so.
답변 (1개)
Shanmukha Voggu
2022년 3월 7일
Hi Alexandra,
Adding to the comments above, Refer to this documentation link: https://www.mathworks.com/help/matlab/ref/ans.html for more information.
Hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!