Re: Newbie questions
- From: "Greg Heath" <heath@xxxxxxxxxxxxxxxx>
- Date: 4 Oct 2005 08:02:32 -0700
Josh Drayton wrote:
> Ok yeah i tried that and tried looking, i guess what my real question
> is, is how to structure a matlab program i have a gui function that
> was provided to me, I have no idea how to use it and i think i'm
> expected to create other functions as well but what goes in them how
> do u pass variables?
>
> i have created a training input var and a minmax var(matrix) to call
> the function net = newff(minmax,(9,1)), {'logsig' 'logsig'});
>
> i don't think the net variable is set up the right way tho cause it
> says it has 1 input when i actually need 9?
If p is your input training data matrix, with H hidden nodes and 9
output nodes try
net = newff(minmax(p),[H 9],{'logsig' 'logsig'})
However, unless you have binary output targets {0,1}^9, I would
recommend
net = newff(minmax(p),[H 9],{'tansig' 'purelin'})
Hope this helps.
Greg
> Duane Hanselman wrote:
> >
> >
> > Josh Drayton wrote:
> >>
> >>
> >> Hi i'm extremly new to matlab and have no idea on how to
> program
> >> with
> >> it
> >
> > Fire up MATLAB and go to the help menu. Poke around there and you
> > will find out how to do things.
> >
> > Do an internet search for matlab tutorial. You will find a bunch.
> > Do
> > them.
> >
> > No one here will give you a handheld tutorial and training in what
> > you need to do for "uni". That you need to do on your own
> > initiative.
> >
> > Duane
.
- Prev by Date: Fuzzy Logic in Matlab...www site...
- Next by Date: Reading *.ico Icon
- Previous by thread: Fuzzy Logic in Matlab...www site...
- Next by thread: Reading *.ico Icon
- Index(es):
Relevant Pages
|
|