I have the following code in Mathematica and need to convert it into Matlab but cant for the life of me understand how to do it, though i think i need to use the fzero; command. Please could someone help me or give me a hint?
function f has already been defined but i need to find its roots for where variable a is from 0-0.6 etc.
list1 = For[a=-0.01, a<0.6, a+=0.01; sol=Findroot[f,{u, 1.00,1.10}];
v1[i] = sol[[1,2]]; i++]