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

1 view (last 30 days)
Totanly
Totanly on 9 Apr 2014
Commented: Totanly on 9 Apr 2014
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

Accepted Answer

Mischa Kim
Mischa Kim on 9 Apr 2014
Edited: Mischa Kim on 9 Apr 2014
Rupraj, use
f = a*x^b + c
This should result in
f =
2.009395380889448e+02

More Answers (0)

Community Treasure Hunt

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

Start Hunting!