Coder Social home page Coder Social logo

mansourt / matlab_euler-lagrange_library_for_deriving_equations_of_dynamic_systems Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 7.0 29.59 MB

Euler-Lagrange Library

MATLAB 99.62% Batchfile 0.38%
euler-lagrange euler-lagrange-dynamics derive-equations solve-equations

matlab_euler-lagrange_library_for_deriving_equations_of_dynamic_systems's People

Contributors

mansourt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

matlab_euler-lagrange_library_for_deriving_equations_of_dynamic_systems's Issues

subs compatibility error

I'm using MATLAB R2020B and while trying to run any example, this error appears:

Error using sym>convertChar (line 1557)
Character vectors and strings in the first argument can only specify a variable or number. To evaluate character vectors and strings representing symbolic expressions, use
'str2sym'.

Error in sym>tomupad (line 1273)
        S = convertChar(x);

Error in sym (line 229)
                S.s = tomupad(x);

Error in sym/subs>@(x)sym(x) (line 209)
    Y = cellfun(@(x)sym(x),Y,'UniformOutput',false);

Error in sym/subs>normalize (line 209)
    Y = cellfun(@(x)sym(x),Y,'UniformOutput',false);

Error in sym/subs>mupadsubs (line 157)
[X2,Y2,symX,symY] = normalize(X,Y); %#ok

Error in sym/subs (line 145)
    G = mupadsubs(F,X,Y);

Error in LagrangeDynamicEqDeriver (line 30)
        L_Dq(ii)  = subs(L_Dq(ii), {q(jj), Dq(jj)}, {q_dst, Dq_dst});

Error in EVAL2 (line 15)
Eq = LagrangeDynamicEqDeriver(L, q, Dq);

How to fix it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.