Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~261 People Reached
Member Avatar for kev smith

I am new to using matlab I am trying make a network which has 20 inputs and one output, when i run the code it says : "Error using ==> network/sim Inputs are incorrectly sized for network. Matrix must have 39 rows. " and points to the line NNA=sim(NN,I) Below …

Member Avatar for ozzybee
0
143
Member Avatar for kev smith

I am trying to a do a breadth first search in prolog: [CODE]breadthfirst([Path | Paths], Finish, Solution) :- extend(Path, NewPaths), sortPath(NewPaths, Results), append(Paths, Results, Paths1), breadthfirst(Paths1, Finish, Solution).[/CODE] My problem is I do not know how to write the sortPath(NewPaths, Results) part. It should sort the path in order by …

0
51
Member Avatar for kev smith

I am trying to a do a breadth first search in prolog: [CODE]breadthfirst([Path | Paths], Finish, Solution) :- extend(Path, NewPaths), sortPath(NewPaths, Results), append(Paths, Results, Paths1), breadthfirst(Paths1, Finish, Solution).[/CODE] My problem is I do not know how to write the sortPath(NewPaths, Results) part. It should sort the path in order by …

0
67