Solve differential Equation for certain values of variable x
Show older comments
I have to find 4 values of z corresponding to x. After calculating differential equation how can I substitute x in the z(differential) equation? I have attached simplified code so that reader can understand.
x=[2 3 4 5];
syms x
z=diff(sin(x)-cos(x))
Accepted Answer
More Answers (0)
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!