Determine y for a function with a symbolic variable x

1 view (last 30 days)
Daniel Koch
Daniel Koch on 16 May 2022
Edited: Torsten on 16 May 2022
I couldn't find the right solution for my question right now.
How can i determine the y-Value from my given equation at the point x?
Example, find the y-Value for x=0.
syms x;
y = x.^2;
y_0 = find(y, x==0) % that doesn't work

Answers (1)

Torsten
Torsten on 16 May 2022
Edited: Torsten on 16 May 2022
syms x
F(x) = x.^2;
F(0)

Community Treasure Hunt

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

Start Hunting!

Translated by