From: deepak on
i have a problem with 7 variables theta1,x3,y3,x2,y2, y1,arm1;

& the 7 equations are:

theta1=(x3- x(j))*(theta(j+1)-theta(j))/(x(J+1)-x(j));
y3=(x3- x(j))*(y(j+1)-y(j))/(x(J+1)-x(j));
x2=x4+b*cosd(theta1)-h*sind(theta1);
y2=y4+b*sind(theta1)+h*cosd(theta1);
x1=x2-arm1*cosd(theta1)
y1=y2-arm1*sind(theta1);
x1=200;

please tell me how to solve it using matlab.

Thanks and regards
From: Torsten Hennig on
> i have a problem with 7 variables theta1,x3,y3,x2,y2,
> y1,arm1;
>
> & the 7 equations are:
>
> theta1=(x3-
> x(j))*(theta(j+1)-theta(j))/(x(J+1)-x(j));
> y3=(x3- x(j))*(y(j+1)-y(j))/(x(J+1)-x(j));
> x2=x4+b*cosd(theta1)-h*sind(theta1);
> y2=y4+b*sind(theta1)+h*cosd(theta1);
> x1=x2-arm1*cosd(theta1)
> y1=y2-arm1*sind(theta1);
> x1=200;
>
> please tell me how to solve it using matlab.
>
> Thanks and regards


help fsolve

Best wishes
Torsten.
From: deepak on
here arm1=f(theta1)
From: Walter Roberson on
deepak wrote:
> i have a problem with 7 variables theta1,x3,y3,x2,y2, y1,arm1;
>
> & the 7 equations are:
>
> theta1=(x3- x(j))*(theta(j+1)-theta(j))/(x(J+1)-x(j));
> y3=(x3- x(j))*(y(j+1)-y(j))/(x(J+1)-x(j));
> x2=x4+b*cosd(theta1)-h*sind(theta1);
> y2=y4+b*sind(theta1)+h*cosd(theta1);
> x1=x2-arm1*cosd(theta1)
> y1=y2-arm1*sind(theta1);
> x1=200;
>
> please tell me how to solve it using matlab.

Is J the same as j ?
What is the definition of x3?
Are x4 and y4 constants?
Did you really want to equate x1 to two different values?