MAXALL

selected MAXima or ALL(default), with (default) or without parabolic interpolation
3.0K 次下载
更新时间 2007/4/3

无许可证

Revised 23rd Feb. 2006.
Improved speed, functionality and documentation
2-nd Rev, 3rd Apr.2007, back from TVAR to NUM2STR

MAXimum points in a curve, ALL(default) or manually positively/negatively selected, with (default) or without parabolic interpolation

needs CLINE
Demo uses SAVFILT
HELP MAXALL shows different calls

Main call:
[X,Y]=maxall(xy [,INTERSELECT])

Input:
xy = data (coordinates, matrix with two columns or rows, length(xy)>=3, x may be unsorted), or a complex vector x+1i*y with distinct x, or only data vector of y - values (then x=1:length(y))

INTERPSELECT: a complex number = switch for interpolation and/or positive or negative selection and/or visualization

INTERPSELECT=INTERP +1i*SELECT
INTERP: switch for interpolation,
if INTERP: parabolic interpolation at
internal maxima (default)

SELECT: switch for manual
selection/visualization of maxima
if SELECT: manual positive (SELECT>0)
or negative(=deletion) (SELECT<0)
selection

Output:
X,Y = position(s) and value(s) of maximum point(s), allowed maxima at the beginning and end.

引用格式

Vassili Pastushenko (2024). MAXALL (https://www.mathworks.com/matlabcentral/fileexchange/6094-maxall), MATLAB Central File Exchange. 检索来源 .

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

Community Treasure Hunt

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

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

Coming back from TVAR to now sufficiently functional NUM2STR, thanks to email warning of A.D. Nair