Skip to main content
1-Visitor
Jun 8, 2014 4:35 PM UTC
Question

Radau Solver error: this value must be a vector.

I get an error with Radau(init, x1, x2, intvls, D) as 'This value must be a vector.' I'm quite sure I made init and D vectors, and x1 x2 intvls ordinary numbers. Please see the attachment and tell me where the problem is. thanks

4 replies

Werner_E
25-Diamond I
Jun 8, 2014 4:45 PM UTC

Use the literal index for t.0, not the vector index.

Translate
1-Visitor
Jun 8, 2014 4:51 PM UTC

Thanks, Werner.

That should be one of the problems. But it seems it does not let the solver back to work.

Translate
1-Visitor
Jun 8, 2014 5:29 PM UTC

The other problem is ths function is complex enough for the Radau, the difference between x1 and x2 need to be small enough to allow the solver work.

Translate