Derivative of a function

2 views (last 30 days)
sama
sama on 1 Jun 2020
Answered: KSSV on 1 Jun 2020
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

Accepted Answer

KSSV
KSSV on 1 Jun 2020
There is function called gradient in MATLAB aswell.....read about it.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!