Dividing Integers
The [graph] tag allows for more advanced parameters like xmin="#" xmax="#" ymin="#" ymax="#", where # represents integers.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Key features "Mathematics Filter": - [tex] and...
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (54): Mathematics Filter Download |
Different costs can be set for different regions (composed of countries and/or states)This module allows you create shipping regions by dividing states of the USA (or other country) in different groups. Each group will then have it's own shipping price which can based on price or weight.This...
Platforms: Windows, *nix, PHP, BSD
License: Freeware | Download (55): Regionally Boxed Download |
This script yields each subset of size k from a super set of size n. There are two methods. The first operates on sets of integers of the form range(n). The seconds operates on arbitrary sets or lists.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (55): All k-subsets from an n-set Download |
The function's algorithm uses Gaussian integer factorization and variable precision integers. Requirements: - MATLAB 7.8 or higher
Platforms: Windows, Mac, *nix, Matlab, BSD Solaris
License: Freeware | Download (56): Sumsqint Download |
Randomly generated information is modulated using 16 QAM and passed through Rayleigh fading channel and AWGN is added.PSAM (pilot symbol assisted modulation)i.e pilot symbols are inserted into sequence of information symbols periodically is done before transmission inorder to estimate channel...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): A simple program on channel estimation with different interpolation techniques Download |
SHPATH - shortest path with obstacle avoidance (ver 1.3) Given a "terrain" matrix consisting of zeros (for open space) and ones (for obstacles), this function computes the shortest path between two specified points while avoiding obstacles.A two-stage solution is employed. In stage one, the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): jQuery.relatizeDate Download |
This code implements automatic gain control for audio signals, which attempts to apply a smoothly-varying gain to an audio waveform in order to keep its energy close to some target level. This version also tries to balance the energy in individual frequency bands. It works by taking the...
Platforms: Matlab
License: Freeware | Size: 389.12 KB | Download (49): Time-frequency Automatic Gain Control (AGC) Download |
The function TRUERAND returns truly random integers using random.org's Random Integer Generator. According to random.org, the numbers are generated based on atmospheric noise and skew-corrected to generate uniform numbers. The generated numbers have been shown to pass the NIST tests for RNGs.The...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): True Random Integer Generator Download |
Wigner3j(j1,j2,j,m1,m2,m) returns the Wigner 3j-symbol, where j1, j2, j, m1, m2, and m are half-integers. Physically, the Wigner 3j-symbol is closely related to the Clebsch-Gordon coefficient , the square of which is the probability that a system of two particles with angular momentum j1 and j2...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (54): Wigner3j.m Download |
RANDBLOCK - randomize blocks of a matrixR = RANDBLOCK(M,S) randomizes the matrix M by dividing M into non-overlapping blocks of the size specified by S, and shuffling these blocks. M can be a N-D matrix.The number of elements in S should match the number of dimensions of M, or S can be a scalar...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): RANDBLOCK 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 |
NUMREGPOLY Number of Intersection Points and Regions Made By The Diagonals of a Regular Polygon [A,B,I,R]=numregpoly(N) for integer n returns the following: A: Vector of number of points inside the regular n-gon other than the center where exactly k lines meet B: Vector of number of k-tuples of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Number of Intersections Regular Polygon Download |
RANDPERMFULL(N) is a random complete or full permutation of the integers from 1 to N; each integer is randomly assigned to an index position that is different from its value. In other words R = RANDPERMFULL(N) creates a row vector R, such that R(j) ~= j for all j=1:N. This type of permutation is...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): RANDPERMFULL (derangement) Download |
15th July, 2005 : Poly_POWER.m is now corrected !So, for most reasonable cases of Multiple Roots including Multiple Real Roots, Poly_POWER.m should now work. ********************Functional Description of Ch_Rem_Thr_Poly.m :Assume that we need to find a solution c_soln_Polysuch that it satisfies...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 112.64 KB | Download (44): Chinese Remainder Theorem for Polynomials Download |
Euler_Phi.zip is a suite of the foll Programmes :1) Euler_Phi (n) returns the no of positive integers less than n which are prime to n.2) a_k_mod_m_LCM_Method (a, m, k) : Imagine computing mod(14^26, 45) or mod(56^3005, 1125).This programme computes a_k_mod_m = mod (a^k, m) when a and m are...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Euler_Phi and Its Applications Download |
This programme is an application of the Chinese Remainder Theorem for Integers - for obtaining a solution to the "k-threshold system for sharing a secret". The concept is explained in the book "A course in Number Theory and Cryptography by Neal Koblitz" in Ch 1, Prob 24 / P27 and it's solution in...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): k-threshold system of deciphering N Download |
groups_euclid calls gp_euc and euclid to separate a set of harmonics into families or groups of related harmonics, each with its own fundamental tone. The euclid() function accepts two real numbers with uncertainty intervals, and returns their greatest common divisor (gcd), also a real number....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 1.31 MB | Download (44): groups_euclid Download |
ABSTRANS Convert spectral absorbance to transmitanceTRANSABS Convert spectral transmitance to absorbanceSNV Standard Normal VariateSAVGOL Savitsky-Golay smoothing and differentiationNORMALIZ Normalize matrix rows dividing by its normNORMXAS Normalize XAS spectra to absorbance range from 0 to 1MSC...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): Chemometric data preprocessing Download |
This m-file generates a random sequence of m simulations of k integers from a multinomial distribution with n trials and k outcomes, where the probability for each simulation is, n!------------------------- doOCop1^n1doOCop2^n2doOCo..doOCopk^nk .n1!doOCon2!doOCo..doOConk!Then, a single sample...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): multrnd Download |
Functions that checks if a number is odd or even.(This is a little bit more complicated than using "mod(x, 2)" if you want error handling for certain cases.)The function can handle double, single, and integer classes, as well as arrays of these.* An error is raised if a floating point number is...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Functions that checks if a number is odd or even Download |