Refine by Time Frame

updated 1 month ago

James (view profile)

Separate Digits from a single number in Simulink

Separating_Integer.slx

updated 3 months ago

Igor Peretta (view profile)

Computes all partitions of a given nonnegative integer n.

integer_partitions(n,count)

updated 7 months ago

John D'Errico (view profile)

Arithmetic with integers of fully arbitrary size. Arrays and vectors of vpi numbers are supported.

demo_vpi

base2vpi(B,base)

bin2vpi(B)

updated 1 year ago

Edward Zechmann (view profile)

This program quickly outputs n random integers in the specified range from a to b.

rand_int(a, b, n, sorted, no_duplicates, make_plot)

updated almost 2 years ago

Laurent Duval (view profile)

Pairing functions: encoding of two natural numbers into a single natural number (and vice-versa)

Bijection_Pairing_N_N2(index_In,flag_Pair)

updated 2 years ago

Jack Peterson (view profile)

Insert commas into numbers.

insert_commas(N)

updated almost 3 years ago

Julie (view profile)

Surrogate model optimization algorithm for computationally expensive global optimization problems

aresparams.m

BumpinessMinSampling(Data, maxeval, Surrogate, lambda, ga...

CandidatePointSampling(Data,maxeval,Surrogate,lambda,gamm...

updated 3 years ago

A recursive algorithm that queries an objective function to guess an unknown integer.

guessgame(isleq,n,k)

updated almost 4 years ago

nathanial hapeman (view profile)

matlab already has a function to do this but i wanted to see if i could code it manually (prime, for, while)

prime_numbers.m

updated 4 years ago

Michael Völker (view profile)

Given any integer array n, compute an array with the nth fibonacci numbers.

fibonacci(n)

updated 5 years ago

Oleg Komarov (view profile)

Get true random integers, sequences or strings (rand, integer, randi)

randorg(n, range, varargin)

seqorg(range, varargin)

strorg(n, len, varargin)

updated 5 years ago

Ibraheem Al-Dhamari (view profile)

A simple function that produce unique random Integer List

myrand(a,b)

updated 5 years ago

Petr Pošík (view profile)

Generate points ..., 1, 2, 5, 10, 20, ... often useful for log-plots when integer values needed.

space125: Almost equally spaced points in logarithmic space

space125(a,b)

updated almost 6 years ago

James Tursa (view profile)

Converts double inputs larger than 2^53-1, or char inputs with exponents, exactly into vpi.

num2vpi(x)

updated almost 6 years ago

Thomas Trötscher (view profile)

Solve linear mixed integer problems with a branch and bound method.

mipoptions.m

lpr.m

miprog.m

updated 6 years ago

us (view profile)

ISODD returns TRUE for integers of any numeric MATLAB class that are not evenly divisible by 2 (integer, parity, odd)

isodd.m

updated almost 7 years ago

Edward Zechmann (view profile)

Finds flaoting point numbers in a string including: complex, real, integers, and currency (dollars).

find_nums(str, flag1, decimal_point, complex_var, spaces)

updated 7 years ago

John D'Errico (view profile)

List all partitions of an integer

partitions_demo

partitions(total_sum,candidate_set,max_count,fixed_count)

updated 7 years ago

Steven Huang (view profile)

compute integer arithmatic beyond 32-bit, Matlab's limit

extended_precision_arith.m

updated 7 years ago

Carlos Adrian Vargas Aguilera (view profile)

Same as int2str but with zero padding to the left.

int2strz.m

updated 7 years ago

Vassili Pastushenko (view profile)

virtual 2D slider for GUI integer or float, NaN below minX, minY

bip(pib)

cheer(N)

slidder(varargin)

updated 7 years ago

Jeff Miller (view profile)

List all integer factors of a number

listfactors(x)

updated almost 8 years ago

James Tursa (view profile)

Exact bit copy of variable into signed int__ or unsigned uint__ of same element size

intbitcopy.m

uintbitcopy.m

updated almost 8 years ago

Alex Nelson (view profile)

write string and integer values to Windows Registry

writereg(rootkey,subkey,varargin)

updated 8 years ago

Generates a 'radial' Gaussian function in 2D of any positive integer order. (integer, radial, 2d)

gauss2D_R(X, Y, dx, dy, theta, order)

updated 8 years ago

Dimitri Shvorob (view profile)

(Cf. DEC2BASE)

basexp.m

updated 8 years ago

Compute the two's complement value of an unsigned integer

TwosComplement(x, numBits)

updated 8 years ago

Mukhtar Ullah (view profile)

True for integers(whole numbers).

iswhole(varargin)

updated almost 9 years ago

Carlos Adrian Vargas Aguilera (view profile)

Rounds an array up to N digits from the left.

roundd.m

updated 9 years ago

Steve Eddins (view profile)

Multidimensional interpolation supporting integer inputs without converting to double

iminterpn(varargin)

updated 9 years ago

Skynet (view profile)

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

randintegers.m

updated 9 years ago

Jahanzeb Rajput (view profile)

INTREC Performs morphological character recognition

intrec(Z)

updated 10 years ago

Jøger Hansegård (view profile)

Create counters that keep their values even if your functions are interrupted for some reason.

counterdelete.m

counterval.m

counterexists.m

updated almost 11 years ago

Michael Kleder (view profile)

Use a Java to rapidly determine whether an arbitrarily large positive integer is a prime

ispr(varargin)

updated 11 years ago

David Fass (view profile)

Random integers drawn uniformly from a specified set.

myrandint(outputRow,outputCol,outputRange,varargin)

updated 11 years ago

David Terr (view profile)

Given a nonnegative integer n, compute a table of the unrestricted partition function p(m) for m<=n.

partitiontable(n)

updated 11 years ago

David Terr (view profile)

Given an integer n, return the nth Fibonacci number.

Fibonacci(n)