I have a vector for instance(adsbygoogle = window.adsbygoogle || []).push({});

and three functions of this vector as f(x) and g(x) and h(x) numerically. I want to find the values of the constant coefficients c and d in "cf(x)+dg(x)=h(x)". Is there any way in Matlab to calculate these coefficients directly?Code (Text):

x=1:200;

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Looking for a suitable command in Matlab

**Physics Forums | Science Articles, Homework Help, Discussion**