help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error: `fminsearch' undefined - Octave 3.2.4 Win7 64bit


From: jammydav93
Subject: Re: error: `fminsearch' undefined - Octave 3.2.4 Win7 64bit
Date: Sat, 12 Nov 2011 09:11:24 -0800 (PST)

Here is the log from Octave

octave-3.2.4.exe:1> pkg list
no packages installed.

So i guess I need to install a package called optim from somewhere?

On 12 November 2011 16:52, martin_helm [via Octave] <[hidden email]> wrote:
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
>
> J
Do 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.html
To unsubscribe from error: `fminsearch' undefined - Octave 3.2.4 Win7 64bit, click here.
See how NAML generates this email



View this message in context: Re: error: `fminsearch' undefined - Octave 3.2.4 Win7 64bit
Sent from the Octave - General mailing list archive at Nabble.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]