Seekpeaks Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: Seekpeaks.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Per Sundqvist (View more)

Seekpeaks script description:




Publisher review:
Seekpeaks - find maxima of an arbitrary function [xm,ym,xx,yy]=Seekpeaks(fun,x,y,y_tol,Nsteps,varargin)Searches the maxima of the function 'fun', which is an object such as produced by inline or by a m-function. y=fun(x,P1,P2,...), where P1, P2,...are additional parameters used in the function 'fun' and are given in 'varargin' in Seekpeaks as p1,p2,... (see example below)Note: use 'fun' for m-function and (just) fun for inline functionThe INPUT x and y (=fun(x)) are the samples used to locate the maxima and the program will refine iterativeley around the local maxima to find the exact maxima. y_tol gives the relative stop criteria for stopping the maxima search and Nsteps is a number to terminate the session in case it takes long time to find the maxima. Default are 1e-6 and 50 and will be used in case [],[] are used as arguments in the function.The OUTPUT xm gives the positions of the maxima and ym the corresponding values (vectors). xx and yy gives the union of all values that are found during the refinement including the input sample x and y (it is useful for plot-purposes).%%% Example:define a function fun(x) with an additional parameter sfun1=inline('s^2*(1./(s^2 (x-1).^2) 1./(s^2 (x-2).^2))','x','s')% calculate a rough sample (x,y) of the functionx=linspace(0,3,20);s=0.001; %parametery=fun1(x,s);% Seek the peaks of the function fun1[xm,ym,xx,yy]=Seekpeaks(fun1,x,y,[],[],s);xmplot(xx,yy,x,y,'.'); Requirements: ยท MATLAB Release: R13
Seekpeaks is a Matlab script for Mathematics scripts design by Per Sundqvist. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

The new Firefox 37 comes with improved HTTP / 2 and superior HMTL5 compatibility with YouTube

The new Firefox 37 comes with improved HTTP / 2 and superior HMTL5 compatibility with YouTube

The popular browser Firefox reached version 37, bringing a series of news but not as significant as other versions.

Posted on: 03 Apr 2015 11:11 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Google Chrome version 42 comes with implementation of interesting options for software developers who want to turn their websites into complex Web applications: Push notification system which is permanently active.

Posted on: 17 Mar 2015 07:57 by A. Brown

Gamers, Microsoft presents the advantages of DirectX 12 and 11.3 platforms used by new games for Windows 10

Gamers, Microsoft presents the advantages  of DirectX 12 and 11.3 platforms used by new games for Windows 10

The Windows 10 preview event brought also to the attention of gamers a demonstration of the advantages of the new DirectX 12 API by Microsoft, which announced several technologies providing integration with Xbox One game consoles.

Posted on: 27 Jan 2015 09:15 by A. Brown

Android devices now have access to Google Chrome 40

Android devices now have access to Google Chrome 40

Finally was officially released version 40 of Chrome browser for Android devices, iOS and Windows PCs, coming up with an interesting range of bug fixes and optimizations.

Posted on: 23 Jan 2015 13:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.0 out of 5
Based on 1 ratings. 1 user reviews.

  • Currently 2.00 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5