I have 104 equation like the following. I want to determine the values of a1, a2, a3 and a4 and they all are in the form of to the power. How can i solve those equation in matlab? Please help me with a simple code
Show older comments
33.29= 10^a1+15^a2+12.9^a3+11^a4,
23.30= 14.5^a1+11^a2+10.9^a3+11^a4,
…
.
.
229.30= 123.5^a1+14^a2+11.9^a3+891^a4
Answers (1)
Torsten
on 16 Jul 2015
help lsqnonlin
Define function
f1 = 10^x1+15^x2+12.9^x3+11^x4-33.29
f2 = 14.5^x1+11^x2+10.9^x3+11^x4-23.3
and so on.
Best wishes
Torsten.
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!