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

 Réponse acceptée

Mischa Kim
Mischa Kim le 9 Avr 2014
Modifié(e) : Mischa Kim le 9 Avr 2014

0 votes

Rupraj, use
f = a*x^b + c
This should result in
f =
2.009395380889448e+02

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by