how to calculate f(x) = a*x^b+c

조회 수: 1 (최근 30일)
Totanly
Totanly 2014년 4월 9일
댓글: Totanly 2014년 4월 9일
i have ,a = -41.96; b =0.106; c =278.5; x=328.8724. how to calculate f(x) = a*x^b+c? it is showing ??? Attempted to access (328.872); index must be a positive integer or logical. help me

채택된 답변

Mischa Kim
Mischa Kim 2014년 4월 9일
편집: Mischa Kim 2014년 4월 9일
Rupraj, use
f = a*x^b + c
This should result in
f =
2.009395380889448e+02
  댓글 수: 1
Totanly
Totanly 2014년 4월 9일
Thank you Mischa..I have got it

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by