[Scilab-users] Evaluate external function for Couple ODE's
Tim Wescott
tim at wescottdesign.com
Wed May 3 20:04:44 CEST 2017
Read the help for feval. It appears that feval(X, L, F17) would give
you a honkin' big square matrix of answers that are only valid along
the diagonal. I think you just need to write a version of F17 that
understands getting X as a matrix and L as a vector. If you've been
handed F17, you may need to write your own version of feval that loops
through the columns of X and values of L to give you a vector of
answers.
On Wed, 2017-05-03 at 10:43 -0700, tiagorleite wrote:
> Tim,
>
> Thanks for your response.
>
> X is my ODE solution vector for molar flow rates (Fi's), pressure (P)
> and
> temperature (T). L is my integration range. I don't know if you had a
> chance
> to check, but I have the code uploaded.
>
> I will try your suggestion.
>
> to evaluate the external function, would you use feval(X,L,F17)?
>
> Thanks again!
>
>
>
> --
> View this message in context: http://mailinglists.scilab.org/Evaluate
> -external-function-for-Couple-ODE-s-tp4036287p4036296.html
> Sent from the Scilab users - Mailing Lists Archives mailing list
> archive at Nabble.com.
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
>
--
Tim Wescott
www.wescottdesign.com
Control & Communications systems, circuit & software design.
Phone: 503.631.7815
Cell: 503.349.8432
More information about the users
mailing list