fixes to README file
[iDMC.git] / models / rotor.lua
bloba97f80dc5d85c03ffb80ed62762419a3a8fe1395
1 name = "Rotor"
2 description = "See Model refs in user's guide"
3 type = "D"
4 parameters = {"c", "rho"}
5 variables = {"x", "y"}
7 function f(c1, rho, x, y)
9 x1 = math.mod((x + y), 2 * math.pi)
10 y1 = c * y + rho * math.sin(x + y)
12 return x1, y1
14 end