I write L' but in the command window it writes ans. Why?
6 ビュー (過去 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 で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!