MATLAB: Find positive roots of trigonometrical equation

roots

Hi everyone,
I am trying to find the positive roots of this kind of expression but using fzero I can only find one.
Is it possible to find 6 or more roots in matlab?

Best Answer

So lets see. You have a problem with infinitely many solutions, but no analytical solution. You want to find ALL of them. Infinity is a long way out. Do you have infinitely much memory to store them all? Infinitely much time to compute them all?
Use different starting values for fzero, computing one at a time, until you have found as many as you wish.
Related Question