Zeros of Bessel function, Legendre function, Trig functions

%% This function computes atmost N zeros (z) between xmin and xmax
65.0 次下载
更新时间 2022/6/6

查看许可证

%% This function computes atmost N zeros (z) between xmin and xmax
% fun is the handle to the function whose zeros we want to compute
% xmin is the start of the search region
% xmax is the end of the search region
% N is the maximum number of the zeros we sort
% Example 1: z = Nzeros(@(x)besselj(0,x), 0, 20, 7)
% Example 2: z = Nzeros(@(x)sin(x*pi), 0, 20, 7)
% Example 3: z = Nzeros(@(x)cos(x*pi), 0, 20, 7)
% Example 4: z = Nzeros(@(x)besselj(0,x) - 2*besselj(1,x), 0, 20, 7)
% Example 5: z = Nzeros(@(x)3*sin(2*x) - 2*cos(3*x), 0, 20, 7)

引用格式

Lateef Adewale Kareem (2024). Zeros of Bessel function, Legendre function, Trig functions (https://www.mathworks.com/matlabcentral/fileexchange/64844-zeros-of-bessel-function-legendre-function-trig-functions), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Bessel functions 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
2.0.0.0

The overall method was changed and improved for better performance.

1.3.0.0

added more tags

1.2.0.0

modified computation of the values for plot. using arrayfun

1.1.0.0

improve search for some complex functions.

Added examples to the description.

1.0.0.0