I'm newbie to matlab and when i tried to solve this equations it gives me an empty struct field
syms osx osy osz oex oey oez lf ls a k3 xe ye ze ya2 Rd Td ls
Td=[22;35;63];
lf=0.25;
Rd=[10 20 30 ;40 50 60 ;70 80 90];
ls=0.3
%%given rotation matrix and postion vector
os= Td-Rd*[0;0;1].*ls;
%%%%
a=atand(ye/ze);
k3=atand(xe/(cos(a)*ze-sin(a)*(ye-ya2)));
oez=os(3)-lf*(cos(a)*cos(k3));
oey=os(2)-lf*(-sin(a)*cos(k3));
oex=os(1)-lf*(sin(k3));
%%%
sol=solve([oex,oey,oez],[xe,ye,ze])
ny help appreciated..Thanks
Best Answer