image thumbnail

updated 7 months ago

DateStr2Num by Jan Simon

Jan Simon (view profile)

Convert date string to date number - C-Mex: much faster than DATENUM (datevec, date, number)

DateStr2Num(S, F)

InstallMex(SourceFile, varargin)

uTest_DateStr2Num(doSpeed)

image thumbnail

updated 10 months ago

Generate Random Numbers from a 2D Discrete Distribution by Tristan Ursell

Tristan Ursell (view profile)

Random numbers from any 2D discrete probability distribution, at any resolution. (discrete, distribution, generate)

[x0,y0]=pinky(Xin,Yin,dist_in,varargin)

image thumbnail

updated 10 months ago

Send Messages to Emails and/or Cell Phones by Georgios Papachristoudis

This function sends messages to emails and/or cell phones (from a Gmail account) (utilities, email, phone)

send_msg(recipients, subject, message, carrier)

image thumbnail

updated 1 year ago

sum_digits by Daniel Herber

Find the sum of digits of a vector and an interesting script that uses it (digits, number, summation)

sum_digits(x)

dsum_eq_rsum.m

image thumbnail

updated almost 2 years ago

Naming figures (fig.m) by Aslak Grinsted

Aslak Grinsted (view profile)

Create new figures with a window title which can be used as a handle. (annotation, customization, figure)

H=fig(varargin)

image thumbnail

updated 2 years ago

Insert commas into numbers by Jack Peterson

Insert commas into numbers. (comma, number, integer)

insert_commas(N)

image thumbnail

updated almost 3 years ago

NUMBER SYSTEMS/ BASE CONVERTER by Divakar Roy

Divakar Roy (view profile)

Convert a number between different number systems-hex,oct,bin,dec. (symbolic math, convert, change)

NUMBER SYSTEMS BASE CONVERTER

[e,factor]=div2(a)

b=str2num(a)

image thumbnail

updated 3 years ago

Random Numbers from a Discrete Distribution by Tristan Ursell

Tristan Ursell (view profile)

Simple algorithm to generate random numbers from a user-defined discrete probability distribution. (random, number, variable)

gendist(P,N,M,varargin)

image thumbnail

updated almost 4 years ago

Method to find prime numbers by Gabriel Kasser

The goal is to present an algorithm that provides the prime numbers in an extremely simple way (math, prime, number)

fnc(x,b)

primeclassique.m

primemethod3.m

image thumbnail

updated 4 years ago

Find sum of digits in a number (like 4209=15) by Mohammad Saadeh

Enter a number and calculate the sum of all digits (digits, summation, number)

Find_sum_digits.m

image thumbnail

updated almost 5 years ago

Find myltiple numbers in array by Stratis Gavves

This function returns the indexes of multiple elements in an array. (find, number, array)

multiFind(array, nums, varargin)

image thumbnail

updated 5 years ago

isMatlabVer by Jan Simon

Jan Simon (view profile)

Compare Matlab version number using < <= > >= ==, considers v7.10, fast Mex (version, verlessthan, compare)

TestisMatlabVer(doSpeed)

isMatlabVer(varargin)

image thumbnail

updated 5 years ago

ROMAN2NUM and NUM2ROMAN: modern Roman numerals by Fran├žois Beauducel

Converts Roman numerals to and from integers (numerals, converter, number)

num2roman.m

roman2num.m

image thumbnail

updated 6 years ago

number plate segmentation of a car by k sreenath

k sreenath (view profile)

the whole numbers on a number plate of a car can be segmented (number, image segmentation)

image thumbnail

updated 7 years ago

CORDIC for phase and magnitude computation by Krishna Sankar M

Uses the cordic approach to find the phase and magnitude of a complex number (cordic, phrase, magnitude)

image thumbnail

updated 7 years ago

Excel Column Name to Number by Matt G

Matt G (view profile)

Converts a cell array of Excel column names to an array of Excel column numbers (data import, data export, excel)

xlsColStr2Num( colChar )

image thumbnail

updated 7 years ago

List Factors by Jeff Miller

Jeff Miller (view profile)

List all integer factors of a number (factors, factorization, integer)

[allfactors]=listfactors(x)

image thumbnail

updated 7 years ago

Extract numbers only by PWANG

PWANG (view profile)

extract only numbers from text file (data import, data export, xtract)

readtext(text, delimiter, comment, quotes, options)

demo.m

image thumbnail

updated 9 years ago

oblique shock wave relations by Nir Kalush

Given two of three variables, finds the third variable (Mach num, Beta, Theta) ... (aerospace, aeronautics, aerodef)

image thumbnail

updated almost 10 years ago

A C-mex Function to find N largest number in a Matrix by Changshun Deng

A c-mex function to find N largest number in a matrix. (max, cmex, c mex)

nmax.m

nthmax.m

image thumbnail

updated 10 years ago

isnumber by Ben Barrowes

Ben Barrowes (view profile)

Similar to isletter for numbers. (isletter, isnumber, number)

out=isnumber(str,incDecimal)

image thumbnail

updated 10 years ago

num2eng by Jordi Palacin

Jordi Palacin (view profile)

Number representation with engineering units. (strings, engineering units, number)

num2eng(valor,unidad)

image thumbnail

updated 10 years ago

enum: a pedestrian enumerator by us

us (view profile)

To create an enumerating vector from a list of terminators. (matrices, enumerate, index)

e=enum(n,varargin)

image thumbnail

updated 10 years ago

gettok: a pedestrian matlab constructs decoder by us

us (view profile)

a decoder/tokenizer for MATLAB constructs (structures, cell arrays, syntax)

stokdemo

[out1,out2,out3]=gettok(s,varargin)

o=stok(ivar)

image thumbnail

updated 10 years ago

Coordinate-Element Number Conversion by Aman Siddiqi

Aman Siddiqi (view profile)

Converts row, column, dimension to element number & vice versa (structures, cell arrays, coordinate)

matrixnumber=coordinate2element_num(matrix,row, col, plan...

matrixnumber=element_num2coordinate(matrix,number);

image thumbnail

updated 10 years ago

Convert Number Bases by Bob Kagy

Bob Kagy (view profile)

Convert from any numerical base and encoding to any other, even for large numbers. (convert, number, base)

image thumbnail

updated 10 years ago

StringIsNumber by Michael Robbins

STRINGISNUMBER returns 1 if the input string contains only a number and otherwise a zero. (strings, string, number)

image thumbnail

updated almost 11 years ago

fromcfrac.m by David Terr

David Terr (view profile)

Returns the number with the given continued fraction expansion. (symbolic math, contined fraction, number)

image thumbnail

updated 11 years ago

roundcfrac.m by David Terr

David Terr (view profile)

Computes the "round continued fraction" of a given complex number. (continued fraction, round, complex)

image thumbnail

updated 13 years ago

nconsecutive by Brett Shoelson

Brett Shoelson (view profile)

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

nconsecutive(x)

Contact us