image thumbnail

updated 17 days ago

Variable Precision Integer Arithmetic by John D'Errico

Arithmetic with integers of fully arbitrary size. Arrays and vectors of vpi numbers are supported. (finite field, integer, biginteger)

demo_vpi

base2vpi(B,base)

bin2vpi(B)

image thumbnail

updated 4 months ago

Distance calculation using Haversine formula by Josiah Renfree

Compute the distance between two locations using the Haversine formula (haversine, latitude, longitude)

haversine(loc1, loc2)

image thumbnail

updated 4 years ago

Turbo plot by Yuval Cohen

A fast replacement for the built in PLOT function. Works much faster when the data sets are large (figure, plot, fast)

tplot(x, y, s)

image thumbnail

updated 6 years ago

Reshape a matrix by Dimitri Shvorob

(pivot and unpivot) (matrices, long, tall)

tall2wide(a,r,c)

wide2tall(A,varargin)

Contact us