|
From: | Michael Teitelbaum |
Subject: | fminunc and for loop |
Date: | Tue, 10 Jul 2012 13:23:28 -0400 |
Hi, I am trying to perform the fminunc function, but I want to use a for loop within my function, and I'm not sure exactly how to do that. What I want is: fminunc(f,[0,0]) where f equals the sum of: for i between 5 and 35. If it is not possible to use a for loop within fminunc, is there a good way to get octave to write out that function for me instead of me having to write it out manually? Any help would be greatly appreciated. Thanks, Michael |
[Prev in Thread] | Current Thread | [Next in Thread] |