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!