No BSD License  

Highlights from
MAXALL

1.0

1.0 | 2 ratings Rate this file 1 Download (last 30 days) File Size: 8.03 KB File ID: #6094
image thumbnail

MAXALL

by Vassili Pastushenko

 

21 Oct 2004 (Updated 03 Apr 2007)

selected MAXima or ALL(default), with (default) or without parabolic interpolation

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7 (R14)
Other requirements CLINE
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
26 Oct 2004 Sander Stepanov

the idea is good, but it is impossibele to find
file SAVFILT.M

02 Dec 2005 Duane Hanselman

It might work, but it is very poorly written especially for larger data sets.

Please login to add a comment or rating.
Updates
24 Feb 2006

Improved practical functionality, speed, logical transparency and documentation

03 Apr 2007

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

Tag Activity for this File
Tag Applied By Date/Time
optimization Vassili Pastushenko 22 Oct 2008 07:33:30
extremes Vassili Pastushenko 22 Oct 2008 07:33:30
nonequidistant Vassili Pastushenko 22 Oct 2008 07:33:30
parabolic interpolation Vassili Pastushenko 22 Oct 2008 07:33:30

Contact us at files@mathworks.com