trying to use syms and i typed in syms('y') says error
4 ビュー (過去 30 日間)
古いコメントを表示
y = syms('y')
Error using syms
Using input and output arguments simultaneously is not supported.
0 件のコメント
採用された回答
Dyuman Joshi
2023 年 12 月 12 日
編集済み: Dyuman Joshi
2023 年 12 月 12 日
syms y
whos
%Clear the initial variable
clear y
whos
%Define via sym()
y = sym('y');
whos
As you can see, the result of both is the same. Choose the function and the corresponding syntax you like.
6 件のコメント
Dyuman Joshi
2023 年 12 月 12 日
You're welcome.
No need to be sorry, it is kinda confusing initially.
If my answer solved your problem, please consider accept it.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!