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개)

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by