Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Need help coding some maths!  (Read 1208 times)
Ander
Customers
Community Member
*****
Posts: 54


« on: February 26, 2011, 04:19:42 AM »

Hi All,

I am pretty crap at maths, but am trying program a Central Pattern Generator based on a thing called a 'Matsuoka Oscillator'. Now I have the equations that describe it but cannot seem to be able to translate them into code Embarrassed

I was hoping that someone here that is a bit of a maths wiz might be able to give me some pointers.

Anyway here are the equations;

t1x1 = c − x1 − βv1 − µ*Max(0, X2)

t2v1 = Max(0, X1) − v1

t1x2 = c − x2 − βv2 − µ*Max(0, X1)

t2v2 = Max(0, X2) − v2

I do not know what to do about t1 and t2!

I hope the is enough info, any help would be really appreciated Smiley

Cheers,

Ander
Logged
Ander
Customers
Community Member
*****
Posts: 54


« Reply #1 on: March 03, 2011, 07:56:36 PM »

Hi Fanny,

I was asking for some help, not a smart arse comment from an unhelpful idiot Smiley

Cheers,

Ander
Logged
Lenn
Customers
Community Member
*****
Posts: 876

+/-


« Reply #2 on: March 04, 2011, 01:55:31 PM »

That was a bot.

How can you expect us to help you with so little information?
What data types are t1,x1,v1,x2,v2,t2 ?
What is the goal of the solution?
If you're trying to find t2 * v2, then you already wrote it.
Maybe you should post the article where you got the "equations" from, and describe more what they do. Tell us, what are the input variables, what are the output variables, etc.
Logged

TV3D 6.5 Community Docs - Read, use and please contribute!
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks