How to find the constant of a line function

2 visualizzazioni (ultimi 30 giorni)
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 Commento
Sam Chak
Sam Chak il 28 Giu 2022
Since you already know the f(x,y) function, , why not just take 'b' as it is? 🤔

Accedi per commentare.

Risposta accettata

Matt J
Matt J il 28 Giu 2022
Evaluate the function at x=0.

Più risposte (0)

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by