I write L' but in the command window it writes ans. Why?
1 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/915224/image.png)
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 中查找有关 Waveform Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!