Recent content by BIBO

  1. B

    MATLAB Defining a Function in MATLAB M-file: Troubleshooting Error

    hey i have an error with line where the IF statement is and i idk what is it i have another function file called f and i tested its working please help :) a=0; b=pi/2; for i=1:10 xr= (a+b)/2; if f(b)*f(xr)<0 a=xr; else b=xr; end end xr
Back
Top