+ Reply to Thread
Page 3 of 9 FirstFirst 12345 ... LastLast
Results 21 to 30 of 88
Like Tree7Likes

Thread: Short quaternions guide

  1. #21
    I think I think too much -HP-'s Avatar
    Join Date
    Feb 2009
    Location
    Behind you with a very sharp knife.
    Posts
    2,466

    Default Re: Short quaternions guide

    Addition and multiplication please
    Maybe... exponential powers too ^^

  2. #22
    Wire Sofaking Fizyk's Avatar
    Join Date
    Jun 2008
    Location
    Łomianki, Poland
    Posts
    740
    Blog Entries
    1

    Default Re: Short quaternions guide

    jayg20769: I didn't see what you wrote, because you edited your post, but I believe Magos Mechanicus already answered your question in a separate thread

    Dav1d: heh, thanks

    -HP-: I'm not sure what you mean, but you already can add and multiply quaternions. There are exp() and log() functions and a ^ operator too

    My programs: BIOS - Alcyone - Calculator - Notepad - Movie Player
    My tutorials: applyTorque - Quaternions - PID controllers
    Some other things I made: FT Chip - RK4 Solar System

  3. #23
    Master of Mars Magos Mechanicus's Avatar
    Join Date
    May 2008
    Posts
    852

    Default Re: Short quaternions guide

    You just mean go through them? Just remember your parentheses and how ijk multiply with each other, really. But don't say Fizyk didn't warn you, because it's not readable at all.
    (A + Bi + Cj + Dk) + (E + Fi + Gj + Hk) = A + E + (B+F)i + (C+G)j + (D+H)k

    (A + Bi + Cj + Dk) * (E + Fi + Gj + Hk)
    = AE + AFi + AGj + AHk + BEi + BFii + BGij + BHik + CEj + CFji + CGjj + CHjk + DEk + DFki + DGkj + DHkk
    = AE + AFi + AGj + AHk + BEi - BF + BGk - BHj + CEj - CFk - CG + CHi + DEk + DFj - DGi - DH
    = AE -BF - CG - DH + (AF + BE + CH - DG)i +(AG - BH + CE + DF)j + (AH + BG - CF + DE)k

    For (A + Bi + Cj + Dk)^X use the multiplication method.
    X=2: AA - BB - CC - DD + (AB + BA + CD - DC)i + (AC -BD + CA + DB)j + (AD + BC - CB + DA)k
    = AA - BB - CC - DD + 2ABi + 2ACj + 2ADk
    Last edited by Magos Mechanicus; 11-01-2009 at 02:11 AM.
    I can wire anything directly into anything! I'm the Professor!
    -Professor Hubert Farnsworth

  4. #24
    Wire Sofaking Whodunnit's Avatar
    Join Date
    Jan 2008
    Location
    New Zealand, Ackl
    Posts
    636

    Default Re: Short quaternions guide

    hmmm , i might try quaternions, they look cool and some random problems with rotation matrices were causing me problems.

    edit: http://en.wikipedia.org/wiki/Rodrigu...tation_formula this is apparently equivalent, which is what i was already using, i must have an error somewhere i need to work out . :P
    Last edited by Whodunnit; 11-01-2009 at 03:55 AM.
    ЗАГРУЗКА...................

  5. #25
    I think I think too much -HP-'s Avatar
    Join Date
    Feb 2009
    Location
    Behind you with a very sharp knife.
    Posts
    2,466

    Default Re: Short quaternions guide

    Quote Originally Posted by Magos Mechanicus View Post
    You just mean go through them? Just remember your parentheses and how ijk multiply with each other, really. But don't say Fizyk didn't warn you, because it's not readable at all.
    (A + Bi + Cj + Dk) + (E + Fi + Gj + Hk) = A + E + (B+F)i + (C+G)j + (D+H)k

    (A + Bi + Cj + Dk) * (E + Fi + Gj + Hk)
    = AE + AFi + AGj + AHk + BEi + BFii + BGij + BHik + CEj + CFji + CGjj + CHjk + DEk + DFki + DGkj + DHkk
    = AE + AFi + AGj + AHk + BEi - BF + BGk - BHj + CEj - CFk - CG + CHi + DEk + DFj - DGi - DH
    = AE -BF - CG - DH + (AF + BE + CH - DG)i +(AG - BH + CE + DF)j + (AH + BG - CF + DE)k

    For (A + Bi + Cj + Dk)^X use the multiplication method.
    X=2: AA - BB - CC - DD + (AB + BA + CD - DC)i + (AC -BD + CA + DB)j + (AD + BC - CB + DA)k
    = AA - BB - CC - DD + 2ABi + 2ACj + 2ADk
    That's what I was after ^_^
    It actually makes a little sense if you look into it

  6. #26
    Banned shuntaiyo's Avatar
    Join Date
    Oct 2009
    Posts
    40

    Default Re: Short quaternions guide

    ummm jw what class will i learn this in in school?

    ill be dreading it

  7. #27
    Wire Sofaking Fizyk's Avatar
    Join Date
    Jun 2008
    Location
    Łomianki, Poland
    Posts
    740
    Blog Entries
    1

    Default Re: Short quaternions guide

    Depends on where you live. Here, in Poland, it's not in the school program at all, you learn it when you go to the university, and that's only when you do something related to maths. Some teachers teach it (complex numbers, quaternions are rarely taught) as an interesting thing to know, though.

    My programs: BIOS - Alcyone - Calculator - Notepad - Movie Player
    My tutorials: applyTorque - Quaternions - PID controllers
    Some other things I made: FT Chip - RK4 Solar System

  8. #28
    Developer Matte's Avatar
    Join Date
    Jan 2009
    Location
    Norway
    Posts
    3,109

    Default Re: Short quaternions guide

    Quote Originally Posted by Fizyk View Post
    Depends on where you live. Here, in Poland, it's not in the school program at all, you learn it when you go to the university, and that's only when you do something related to maths. Some teachers teach it (complex numbers, quaternions are rarely taught) as an interesting thing to know, though.
    I've never really understood quaternions, but I'll 'book' some time in my tight schedule to read through your guide and some other guides, so I'll know it once and for all

    Do you have any good links to where I might read about quaternions?
    "If anybody says he can think about quantum physics without getting giddy, that only shows he has not understood the first thing about them."
    -- Niels Bohr

  9. #29
    Ursus maritimus Drunkie's Avatar
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    5,662
    Blog Entries
    1

    Default Re: Short quaternions guide

    I think my brain just exploded.

  10. #30
    Banned shuntaiyo's Avatar
    Join Date
    Oct 2009
    Posts
    40

    Default Re: Short quaternions guide

    As a very stupid human yup I am I cannot understand this guide (I'm announcing this as a representative of the lessers of WM).
    There probably isn't a better way to make this guide but if you could make it simpler it would be deeply appreciated.
    (I put a decent effort into trying to understand it)

    also

+ Reply to Thread
Page 3 of 9 FirstFirst 12345 ... LastLast

LinkBacks (?)

  1. 07-13-2010, 08:38 AM

Similar Threads

  1. [REQ] E2 Quaternions Tutorial
    By rich_27 in forum Expression 2 Discussion & Help
    Replies: 3
    Last Post: 08-25-2009, 10:15 AM
  2. 2.5 Years in Short
    By KillerBlonde in forum Off-Topic
    Replies: 9
    Last Post: 07-12-2008, 03:19 AM
  3. Quaternions?
    By Syranide in forum Wiremod General Chat
    Replies: 4
    Last Post: 02-09-2008, 06:09 AM
  4. PLZ Help its an e-z and short Question
    By eligray in forum Installation and Malfunctions Support
    Replies: 1
    Last Post: 08-21-2007, 11:00 AM
  5. Short Range Radio
    By Razara in forum Ideas & Suggestions
    Replies: 6
    Last Post: 04-07-2007, 01:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots