Derivative of a function

Hello,
I have solved an equation analytically and now my result is a matrix [201*201] respect to time and distance (lets say u(x,t)). How can I derevitive my function respect to t?
i know it is easy in Tensorflow as:
u_t = tf.gradients(u, t)[0]
But I am confused how to write it in Matlab.
Thanks a lot

 Risposta accettata

KSSV
KSSV il 1 Giu 2020

1 voto

There is function called gradient in MATLAB aswell.....read about it.

Più risposte (0)

Categorie

Scopri di più su Deep Learning Toolbox in Centro assistenza e File Exchange

Richiesto:

il 1 Giu 2020

Risposto:

il 1 Giu 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by