Symbolic toolbox differentiation by chain rule without expression defined
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jaewon Park
am 3 Dez. 2023
Kommentiert: Jaewon Park
am 4 Dez. 2023
Hello,
let's say I have variables x and y that depend on time.
.
I have a third variable z which is a function of x and y only.
.
Here, I do not have any expression that explicitly defines z, but I just know that it is a function of only x and y.
Then, I want to come up with an expression for
.
. I am expecting to see something like 
I thought the code below would do this:
syms x(t) y(t) z(x,y)
diff(z,t)
but it is just outputing zero.
Is there a workaround or proper way to do this ?
Thanks
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Symbolic Math Toolbox 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!