[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Transcendental equation
From: |
Allen.Windhorn |
Subject: |
RE: Transcendental equation |
Date: |
Wed, 30 Apr 2014 14:10:04 +0000 |
Guido,
> -----Original Message-----
> From: address@hidden
>
> Thanks for the explanation! I tried this solution:
>
> f = @(x) (x*(besselj(1, x))/(besselj(0, x))-Bi)
> fsolve(f,1.1)
>
> and it works. It returns the root nearest to 1.1. Now I have to
> find a way to iterate this process to find automatically the firsts
> N roots.
Since the roots are evenly spaced and close to i*pi+pi/4 for i from
zero to N, just use a for loop ("help for") and solve for each of
these starting values.
Regards,
Allen