trying to use syms and i typed in syms('y') says error
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Bastian
am 12 Dez. 2023
Kommentiert: Dyuman Joshi
am 12 Dez. 2023
y = syms('y')
Error using syms
Using input and output arguments simultaneously is not supported.
0 Kommentare
Akzeptierte Antwort
Dyuman Joshi
am 12 Dez. 2023
Bearbeitet: Dyuman Joshi
am 12 Dez. 2023
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 Kommentare
Dyuman Joshi
am 12 Dez. 2023
You're welcome.
No need to be sorry, it is kinda confusing initially.
If my answer solved your problem, please consider accept it.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Conversion Between Symbolic and Numeric finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!