Refine by Content Type

Refine by Product

Refine by Time Frame

image thumbnail

updated 10 months ago

Restricted integer compositions with fixed number of parts by iuvaris

Generate all restricted integer compositions with fixed number of parts, each in the interval [a,b] (mathematics, restricted compositio..., integers)

X=colex(n,k,a,b)

image thumbnail

updated 2 years ago

The Fibonacci Sequence by John D'Errico

Efficient computation of Fibonacci and Lucas numbers (fibonacci, lucas, numbers)

fibonacciEvolution

fibonacci(n,modulus)

fibrecur(N)

image thumbnail

updated 2 years ago

System of linear congruences by Mike Sheppard

Solution to Simultaneous Linear Congruences (mathematics, linear algebra, chinese remainder the...)

x=lincon(a,b,n)

image thumbnail

updated 3 years ago

Chinese Remainder Theorem for integers (simple) by Pieter Reyneke

A simple implementation of the Chinese Remainder Theorem for integers. (communications, signal processing, chinese remainder the...)

chinese.m

image thumbnail

updated 4 years ago

round2 by Robert Bemis

Round input to nearest multiple of arbitrary value. (round function, point values, whole number)

round2(x,y)

image thumbnail

updated 5 years ago

The divisors of a number, perfect, amicable, and sociable numbers by John D'Errico

Tools to work (and play) with the divisors of a number (divisors, aliquot parts, aliquot sum)

The aliquot parts of a number

aliquotparts(N)

aliquotsum(N,p)

image thumbnail

updated 6 years ago

Q15 to decimal converter by Szymon Leja

Silmple function that converts an value from Q15 to decimal. (signal processing, q15, dec)

[y]=q152dec(x,form)

image thumbnail

updated 8 years ago

RandIntegers by Skynet

Selects random integers between and inclusive of specified lower and upper limits. (rand, random, int)

randintegers.m

image thumbnail

updated 9 years ago

MULTINOMIAL by Mukhtar Ullah

Multinomial coefficients. (statistics, probability, multinomial)

multinomial(n,varargin)

image thumbnail

updated almost 10 years ago

Chinese Remainder Theorem for Integers by Sundar Krishnan

This programme verifies the Chinese Remainder Theorem for Integers (of "congruence"). (chinese remainder the..., integers, mathematics)

[ c_soln, c_soln_LHS_Coeffs, M, Mk, nk, Nk, k_M_Multiple,...

image thumbnail

updated 10 years ago

binomial.m by David Terr

This program computes the binomial coefficient C(n,m). (symbolic math, binomial coefficient, nonnegative)

binomial(n,m)

image thumbnail

updated almost 13 years ago

nconsecutive by Brett Shoelson

Returns a vector containing the maximum number of consecutive integers in each row of matrix x. (consecutive, vector, max)

nconsecutive(x)

image thumbnail

updated almost 14 years ago

int2str2 by Olivier Ledoit

This M-File will print integers with commas every 3 digits (integers, tools, print)

s=int2str2(n)

Contact us