Positive
function alt_km=ITU_P1511(lat,long)computes altitude of a site at given lat,long coordinatesby means of bicubic interpolation using itu topo 0.5 degrees resolutionmatrix.refer to ITU-R Recommendation P 1511.INPUTSlat: latitude + = North, -=southlong: longitude, positive degrees East.Required...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (54): Altitude in Km above sea level for a given pair of coordinates (lat,long) Download |
AGM calculates the Artihmetic Geometric Mean of A and B (see [1]).The function is used in routines ELLIPJ and ELLIPTIC12.[A,B,C,N] = AGM(A0,B0,C0,TOL)carry out the process of the arithmetic geometric mean, starting with a given positive numbers triple (A0,B0,C0) and returns in (A,B,C) the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Artihmetic Geometric Mean Download |
Outperforms other algorithms in speed and memory requirement especially for large dataset.%function [costs] = mdijkstra(A,C)%%A=square matrix (either adjacency or cost)%%if C=1 then A=adjacency matrix% where, element(i,j)=1 when vertex v is directly connected with j% else (i,j)=0%%if C=2 then...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Shortest path (all pair shortest path) Download |
The program computes residue curves for a ternary mixture composed of acetone, chloroform and methanol.Wilson model is used to get activity coefficients. The program is composed of two parts; one for positive warped time and the other for negative warped time. Initial conditions have been chosen...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Residue Curve Calculation for Ternary Mixtures Download |
This algorithm avoids the use ofchol.m and inv.m (the latter is a built-in M-file) and achieves the goal of inverting a symmetric positive definite matrix
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): inv4spd.m Download |
[blockVectorX,lambda]=lobpcg(blockVectorX,operatorA)outputs the array of algebraic smallest eigenvalues lambda andcorresponding matrix of orthonormalized eigenvectors blockVectorX of the Hermitian (full or sparse) operator operatorA using input matrix blockVectorX as an initial guess, without...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): lobpcg.m Download |
This script may be easily converted to a function which could be an extremely useful subroutine in optimization problems to check whether the objective function is globally convex. It may also be used to derive the expressions for gradient and Hessian of the given multidimensional real valued...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (50): convexchecker Download |
The large classification margin is the most usual approach to achieve good generalization. The most known maximal margin algorithm is SVM, for which different kernels have been investigated. Unfortunately, in the context of some real world problems, such as on-the-fly object detection, the use of...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): MMGDX: a maximum-margin training method for neural networks Download |
Simulation of Absolute-Value Output Circuit is carried out with operational amplifier,diodes and other components available in Simscape 2.1 version. Regardless of the polarity of the input signal, the output of the circuit is always positive going and this is displayed in the scopes.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Absolute-Value Output Circuit Download |
GAMMA_INCOMPLETE evaluates the upper incomplete gamma function(incomplete gamma function of the second kind) $Gamma(a,x)$at non-negative values of the argument. This function extends theMATLAB function gammainc to negative values of the parameter a. SYNOPSIS: fun=gamma_incomplete(x,a) INPUT x :...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): Evaluation of the upper incomplete gamma function Download |
Simple function to calculate melt rates in meter water equivalent per year for a digital elevation model (DEM) based on positive degree days factor (PDD) using seasonal variation.User can specify factors: mean annual temperature, PDD_ice, seasonal variation in degrees and year length.Approach...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): PDD Melt Download |
zooming a given image by a given positive factor can be done..copy nearest_neighbor_zoom.m file and the image file that should be zoomed to your work directory.if the name of the image file is image.jpg and the zooming factor needed is 2.23,run following command on command...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): zooming an image using nearest neighbor interpolation Download |
This submission contains the code used to verify the claims made about pSpace, NP and co-NP classes in the four element case. The original paper that references these claims can be found at http://drops.dagstuhl.de/opus/volltexte/20....Paper.2367.pdf.To run the verification first ensure that you...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (45): The complexity of positive first-order logic without equality: The four-element case Download |
%PURPOSE: check if the positive and negative runs in the vector x is random or not.%-----------------------------%USAGE: z=runtest(x)%where: z is the z stat for a run% x=a vector variable (nobs x 1)%-----------------------------%%The function could be used on any data with a binomial...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): The Runs Test Download |
Intro: This function generates random samples for k Xi's where Xi>=0 and the sum Xi is fixed at g. We assume that X's are independent and follow an identical distribution with a CDF function myCDF(x) and an inverse CDF function myICDF(p). I needed a function that works for Xi>=0. So here it is....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): Generate fixed sum positive random numbers with a distribution Download |
There is not "built-ib" Simulink block that is HDL Coder compatible negative or positive edge detectors. Attached are 2 subsystems based on basic logic elements, giving you the Simulink HDL Coder compatible edge detection.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): HDL Coder Compatible edge detector Download |
In statistics, sequential analysis or sequential hypothesis testing is statistical analysis where the sample size is not fixed in advance. Instead data is evaluated as it is collected, and further sampling is stopped in accordance with a pre-defined stopping rule as soon as significant results...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Sequential analysis Download |
Amicable numbers are two different numbers so related that the sum of the proper divisors of the one is equal to the other, one being considered as a proper divisor but not the number itself. Such a pair is (220, 284); for the proper divisors of 220 are 1, 2, 4, 5, 10, 11, 20, 22, 44, 55 and 110,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): Amicable Number Download |
Let d < N be a positive integer and define p = N/d. Let y_{1} be a point on the unit circle. Let R be clockwise rotation by the angle t = 2*pi/p. The generalized regular polygon {p} is given by the points y_{i+1} = R * y_{i}, and edges between points i and i+1.Example:polygon(9, 4, 1);
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Regular Polygons Download |
Revised 23rd Feb. 2006.Improved speed, functionality and documentation2-nd Rev, 3rd Apr.2007, back from TVAR to NUM2STRMAXimum points in a curve, ALL(default) or manually positively/negatively selected, with (default) or without parabolic interpolationneeds CLINEDemo uses SAVFILTHELP MAXALL shows...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): MAXALL Download |