fit a multidimensional function
oxy via Help-octave <[email protected]> Tue, 20 Dec 2022 19:11:35 +0100
| Newsgroups | gmane.comp.gnu.octave.general |
|---|---|
| Message-ID | <CAO4+0dHWggm_gc04f3j7Lhem4UtMnf4aTO4d2-GbaZjk4cdarQ@mail.gmail.com> |
Hi, I wanna fit a function with 2 domains: F=@(x1, x2, p) p(1)*x1 + p(2)*x2; p is a vector with the optimization parameters. I cannot use leasqr because it can only accept one x-dimension. Do you have suggestions for me? Thanks a lot! oxy ---------- We are transitioning to a web based forum for community help discussions at https://octave.discourse.group/c/help