calculating a unit quaternion using a spherical linear interpolation (Slerp)
Author: Sagi Dalyot
thx for the great file.
I have one last question:
You calculate the angle between both quaternions. But shouldnt you exclude the amount of rotation and calculate the dotprotuct only with the information of the axis? (Hence two 1x3 insted two 1x4 vectors?)
Thank u for the code,but it is giving me this error which is persisting although i have suppilied the limit within its recursionlimit :
"Error using validatestring (line 61) Maximum recursion limit of 500 reached.Be aware that exceeding your available stack space can crash MATLAB and/or your computer."
This code sets elements WITHIN the ellipse to value 'color'. Where can I modify it such that as long as the element touches (and need not be fully enclosed) by the ellipse to also set value to 'color'?