I have 3 states and two inputs. State 1 is [10:1:20], state 2 is [85:0.2:95] and state 3 is [1:1:12]. The two inputs are [0 1] and [-1 0]. On Sep 25, 2015 1:00 PM, "Tony Kelman" <[email protected]> wrote:
> If you want an uninitialized 61-by-61 array of double precision floating > point numbers you can do Array(61, 61) > > If you want the array initialized to zero you can call zeros(61, 61) > > A few for loops should accomplish what you're after here. Depending how > expenaive your cost function is to evaluate this doesn't sound very big at > all. How many state and input dimensions do you have?
