How to find the constant of a line function

2 vues (au cours des 30 derniers jours)
NEFELI GAROUFALI
NEFELI GAROUFALI le 28 Juin 2022
Commenté : Sam Chak le 28 Juin 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 commentaire
Sam Chak
Sam Chak le 28 Juin 2022
Since you already know the f(x,y) function, , why not just take 'b' as it is? 🤔

Connectez-vous pour commenter.

Réponse acceptée

Matt J
Matt J le 28 Juin 2022
Evaluate the function at x=0.

Plus de réponses (0)

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by