How to use delta operator in Matlab?

2 views (last 30 days)
Ana Reis
Ana Reis on 17 Feb 2021
Commented: Star Strider on 18 Feb 2021
Hello everyone,
I am studying calculus of variations.
I did not found any function to describe the variation (or delta) operator in Matlab and the software interprets how to manipulate this operator in a function.
I only found the command "functionalDerivative", but it is not what I need.
Next, a picture to show what I mean. I tried to used functionalDerivative to calculate F and G as a syms function, but result was not as expected.
Here, an example of equation I need to use:
Thank you!
  2 Comments
darova
darova on 17 Feb 2021
What is the equation?
Star Strider
Star Strider on 18 Feb 2021
Use the Symbolic Math Toolbox:
syms F(t) G(t) t
dFplusdG = diff(F+G)
dFG = diff(F*G)
dfoverG = diff(F/G)
producing respectively:
I leave the rest to you!

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!