How to find the constant of a line function

1 visualización (últimos 30 días)
NEFELI GAROUFALI
NEFELI GAROUFALI el 28 de Jun. de 2022
Comentada: Sam Chak el 28 de Jun. de 2022
Hello everyone !
I have an f(x,y) function which is basically a line of the form y = ax + b.
I want to extract the constant 'b' from this function.
As I know there is the function gradient(f) that can determine the 'a' constant.
Is there any similar way to extract the constant 'b'?
Any help appreciated !
Thanks in advance !
  1 comentario
Sam Chak
Sam Chak el 28 de Jun. de 2022
Since you already know the f(x,y) function, , why not just take 'b' as it is? 🤔

Iniciar sesión para comentar.

Respuesta aceptada

Matt J
Matt J el 28 de Jun. de 2022
Evaluate the function at x=0.

Más respuestas (0)

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by