|
From: | jammydav93 |
Subject: | Re: error: `fminsearch' undefined - Octave 3.2.4 Win7 64bit |
Date: | Sat, 12 Nov 2011 09:11:24 -0800 (PST) |
Am 12.11.2011 17:34, schrieb jammydav93:_______________________________________________> Hi everyone,
>
> I'm pretty new to Octave and am having trouble using fminsearch on my
> Windows 7 machine,
>
> i'm trying to use fminsearch to find a,b,c,d from my predetermined x and y
> values
>
> x=[1:100]
>
> fmp.m:
> function y=fmp(x)
> y=a*cos(b*x + c) .* exp (x/d)
>
> I then enter and get the following from Octave
>
> octave-3.2.4.exe:6> fminsearch(@fmp,x)
> error: `fminsearch' undefined near line 6 column 1
>
> can anyone help me with this?
>
> Thanks
>
> JDo you have the package optim installed and loaded?Is it listed with
pkg list
and does it show a *
what happens when you call
pkg load optim
?
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
If you reply to this email, your message will be added to the discussion below:http://octave.1599824.n4.nabble.com/error-fminsearch-undefined-Octave-3-2-4-Win7-64bit-tp4034808p4034842.htmlTo unsubscribe from error: `fminsearch' undefined - Octave 3.2.4 Win7 64bit, click here.
See how NAML generates this email
[Prev in Thread] | Current Thread | [Next in Thread] |