0

I have no idea how I could solve this equation with matlab:

f(1)=0.098253*x(1)-atan((tan(x(1))-tan(x(2)))/2)*0.531268-0.433015*x(2)-0.27994

f(2)=0.9951*x(1)-atan((tan(x(1))-tan(x(2)))/2)*0.12909+0.866022*x(2)-0.350005;

I tryed with function = f and then [x,eval,flag]=fsolve('ecuaciones',x0); but I have an error:

Error in ==> fsolve at 254 fuser = feval(funfcn{3},x,varargin{:});

Caused by: Failure in initial user-supplied objective function evaluation. FSOLVE cannot continue.

And Matlab says to me that is double type... but I have no idea how I can resolve!! I am new using Matlab, for that reason I need the answer clearly!!

THANK YOU!

1 Answers1

0

I dont think your equations can be solved for anything you've only one degree of freedom because f(2) is a multiple of f(1)

Conor Linehan
  • 448
  • 3
  • 11