How to find the constant of a line function

1 ビュー (過去 30 日間)
NEFELI GAROUFALI
NEFELI GAROUFALI 2022 年 6 月 28 日
コメント済み: Sam Chak 2022 年 6 月 28 日
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 件のコメント
Sam Chak
Sam Chak 2022 年 6 月 28 日
Since you already know the f(x,y) function, , why not just take 'b' as it is? 🤔

サインインしてコメントする。

採用された回答

Matt J
Matt J 2022 年 6 月 28 日
Evaluate the function at x=0.

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by