Git Product home page Git Product logo

quaternion-matlab-library's Introduction

Quaternion-MATLAB-Library

quaternion-matlab-library's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

quaternion-matlab-library's Issues

non-complex and complex issues in simulink

Hi, dear xioTechnologies team,

I hope everything goes well with you and thanks a lot for sharing this wonderful quaternion matlab library.
I am a student from the University Hamburg, I have a Simulink problem when I try to use your library:
The 'rotMat2quatern' function works well in matlab, as good as Eigen (C++), while when I past the function into the simulink matlab function, I got the error information as follow:

`The left-hand side has been constrained to be non-complex, but the right-hand side is complex. To correct this problem, make the right-hand side real using the function REAL, or change the initial assignment to the left-hand side variable to be a complex value using the COMPLEX function.

Function 'xioTechnologies_Quaternion-MATLAB-Library' (#23.1380.1396), line 38, column 9:
"q(i,:) = V(:,4)'"
Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Errors occurred during parsing of MATLAB function 'justTest/xioTechnologies_Quaternion-MATLAB-Library'
Component:MATLAB Function | Category:Coder error
Errors occurred during parsing of MATLAB function 'justTest/xioTechnologies_Quaternion-MATLAB-Library'
Component:Simulink | Category:Model error`

I tried to change the equation of q(i,:) = V(:,4)'; with real() function, it still not work in Simulink, it really makes me confused.

I would appreciate if you can give me some suggestions.

Best,
Raymond

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.