image thumbnail

updated 7 days ago

char2hex - hex2char by Andrew Horchler

Convert decimal integer string to hexadecimal representation and back (convert, conversion, string)

image thumbnail

updated 14 days ago

legnum by Alex Barnett

Add legend using vector of numbers. (annotation, customization, legend)

legnum(a, prec, prefix)

num2cellstr(a, prec, prefix)

image thumbnail

updated 29 days ago

save2word by Suresh Joel

Suresh Joel (view profile)

Paste figure to Microsoft word automatically using ActiveX. (development environme..., word, activex)

save2word(filespec,prnopt)

image thumbnail

updated 29 days ago

SORTN - sort textual lists by Oren Yagev

Sort text lists containing letters and numbers. (strings, sortn, textual lists)

sortn(orgArr)

image thumbnail

updated 1 month ago

num2sepstr by Robert

Robert (view profile)

num2str with thousands separators (string, thousands separator)

num2sepstr(numin,format)

image thumbnail

updated 1 month ago

Words to Number by Stephen Cobeldick

Convert English number name/s in a string to numeric value/s (GB/US). (american english, billiard, billion)

words2num(str,opts,varargin)

image thumbnail

updated 1 month ago

Number to Words by Stephen Cobeldick

Convert a number to a string giving the English name of the number value (GB/IN/US). (pick of the week, potw, text)

num2words(num,opts,varargin)

num2words_demo

num2words_fast(num)

image thumbnail

updated 1 month ago

num2nasSFFstr( num ) by Coon Timothy

Convert number to a Nastran small-field format string (nastran, input file, grid card)

num2nasSFFstr( num )

image thumbnail

updated 2 months ago

Customizable Natural-Order Sort by Stephen Cobeldick

Natural-order sort of a cell array of strings, with a customizable numeric format. (pick of the week, potw, natural order)

natsort(X,xpr,varargin)

image thumbnail

updated 2 months ago

Natural-Order Filename Sort by Stephen Cobeldick

Natural-order sort of filenames and filepaths, with customizable numeric format. (pick of the week, potw, sort)

natsort(X,xpr,varargin)

natsortfiles(X,varargin)

image thumbnail

updated 2 months ago

Natural-Order Row Sort by Stephen Cobeldick

Natural-order row sort of a cell array of strings, with customizable numeric format. (pick of the week, potw, sort)

natsort(X,xpr,varargin)

natsortrows(X,col,xpr,varargin)

image thumbnail

updated 3 months ago

compare similar but unequal strings (names) by Bruno Ghini

compare similar but unequal strings (names) (function, string, strings)

similar.m

image thumbnail

updated 4 months ago

readline.m v4.0 by Carlos Adrian Vargas Aguilera

Reads the specified line(s) from a file. (data import, data export, getl)

readline(FILE,NLINE,TYPE,varargin)

image thumbnail

updated 6 months ago

Scientific Prefix to Number by Stephen Cobeldick

Convert an SI prefixed string into numeric value (metric/engineering). Bonus: binary prefixes! (atto, binary, bytes)

bip2num(str,uni)

sip2num(str,uni)

image thumbnail

updated 6 months ago

Number to Scientific Prefix by Stephen Cobeldick

Convert a numeric value to an SI prefixed string (metric/engineering). Bonus: binary prefixes! (data, communications, iso 80000)

num2bip(val,sgf,pfx,trz)

num2sip(val,sgf,pfx,trz)

image thumbnail

updated 6 months ago

Adaptive Huffman coding technique on a string by Omkar Deokar

Adaptive huffman using trees (adaptive huffman codi..., adaptive, huffman)

complete_tre.m

get_codes.m

interlevel.m

image thumbnail

updated 7 months ago

wraptext by Chad Greene

Chad Greene (view profile)

Wrap long text to a specified width. (text, string, disp)

wraptext documentation

wraptext(str,width)

image thumbnail

updated 8 months ago

Number to Myriad by Stephen Cobeldick

Convert a number to a string giving the value using Knuth's Myriad/Yllion naming scheme. (num2str, num2int, num2words)

num2myriad(num,dgt)

image thumbnail

updated 9 months ago

print_table by Johan Winges

Print data in a table format (text or latex) (data exploration, utilities, string)

image thumbnail

updated 9 months ago

is_str_in_str(c, str_match, is_case_sensitive) by Roger Parkyn

Finds whether a string (or elements of a cell-array of strings) contains specified sub-strings. (strings, string, find)

is_str_in_str(c, str_match, is_case_sensitive)

image thumbnail

updated 10 months ago

fgetvars by Michael Yoshpe

Michael Yoshpe (view profile)

Read double and string vector variables from a string or text file (data import, utilities, example)

fgetvars(InpFN, varargin)

sgetvar2(var_name, str)

sgetvars( str, varargin )

image thumbnail

updated 10 months ago

strcmprate by Seth Kenner

Find the best comparison to a string from a list of strings (string, compare)

strcmprate(strA,strB)

image thumbnail

updated 1 year ago

Regular Expression Helper by Stephen Cobeldick

Develop and refine regular expressions in an interactive figure that shows "regexp" outputs. (regexp, regular expression, match string)

make_regexp(str,expr,varargin)

image thumbnail

updated 1 year ago

ISO 8601 Date String to Serial Date Number by Stephen Cobeldick

Convert an ISO 8601 Date String to Serial Date Numbers. Auto-detect or select the timestamp style. (calendar date, date, iso 8601)

datenum8601(Str,Tok)

image thumbnail

updated 1 year 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 1 year ago

v8 native JSON parser by Eydrian

Eydrian (view profile)

Integration of google v8 engine into matlab to parse a json string to a matlab structure (json, string, parser)

build_matjs(allFiles, debug, verbose, move, destination)

image thumbnail

updated almost 2 years ago

findInPath.m by Dan K

Dan K (view profile)

Tests paths (or any other string) to find if it contains a substring (find, regexp, string)

findInPath(pathStr,expr,caseSensitive)

image thumbnail

updated almost 2 years ago

str2html by Robert Cumming

Robert Cumming (view profile)

Convert str to HTML format strings for use in uimenus and uicontrols (matlab, string, strings)

str2html

test_str2html

image thumbnail

updated 2 years ago

LaTeX table element wrapper by Matthew Arthington

Change the font of certain elements within a LaTeX table string (latex, string)

latexWrapTableElements(latexTable,linearIndicesOfElements...

image thumbnail

updated 2 years ago

Regular expression search in cell array of strings by Maximilien Chaumon

Search in cell array of strings. Returns indexes of cells in stead of indexes within cells . (cell, cellstr, regexp)

regexpcell(c,pat,inv)

image thumbnail

updated 2 years ago

recursive_scriptsearch by Jakob Sievers

Jakob Sievers (view profile)

Search for strings within multiple scripts (string, search, folder)

recursive_scriptsearch(indir,str)

image thumbnail

updated 2 years ago

How To Store a List of Names by Masoud Ghanbari

Simple Tutorial that shows the way to store many of names and strings in MATLAB (list, name, store)

list.m

image thumbnail

updated 2 years ago

How To Convert A User Input String To A Function by Masoud Ghanbari

This tutorial will show how to convert user input string to a function which accepts variable. (string, function, input)

inputconvert.m

image thumbnail

updated 2 years ago

Setting Maximum numer of Characters in edit box by 123456

123456 (view profile)

Shows how to limit the number of characters in an edit field using simple GUI programming. (edit, box, edit box)

limit_text(varargin)

image thumbnail

updated 2 years ago

String comparison by Christian

The function searches for a string inside a given target and returns 1 for found or 0 for not found. (string, compare, search)

strcompare(target,searchterm)

image thumbnail

updated almost 3 years ago

String Escape by Alexander Saites

returns a string with special characters "escaped" (string, escape, code generation)

stresc(string)

image thumbnail

updated almost 3 years ago

Grammatical List by Jonathan Awerbuch

Takes a cell array of strings and returns a single string with commas and "and" per standard grammar (string, list, grammar)

grammaticalList(strs)

image thumbnail

updated almost 3 years ago

escapeString: convert special characters in a string into their escape sequences by Christian

Escapes special characters (\r, \t, ', ...) in a string and returns the escaped string. (escape, string)

escapeString(str)

image thumbnail

updated 3 years ago

STRJOIN by Kota Yamaguchi

Kota Yamaguchi (view profile)

Concatenate an array into a single string. (string, array, cellstr)

strjoin(input, separator)

image thumbnail

updated 3 years ago

MetricPrefixStr - Print SI Prefix Formatted Numbers by Damon Bradley

Damon Bradley (view profile)

Prints a SI prefix formatted string corresponding to a numeric vector. (latex, format, string)

MetricPrefixStr(xtickvec)

image thumbnail

updated 3 years ago

strjoin by Joao Henriques

Joins cell array into a single string, with delimiter. Small, vectorized and fast. (string, join, str)

strjoin(c, delimiter)

image thumbnail

updated 3 years ago

Edit Distance Algorithm by Reza Ahmadzadeh

Edit Distance is a standard Dynamic Programming problem. (mathematics, search, dynamic programming)

EditDistance(string1,string2)

image thumbnail

updated 3 years ago

Random String Utility by Dan Couture

Dan Couture (view profile)

Generate a random string. Specify length and type of characters. (random, string)

random_string(length, type)

image thumbnail

updated almost 4 years ago

cell2str by Cris Luengo

Convert 2-D cell array into evaluable string (cell array, numeric array, string)

cell2str(c,n,mode)

image thumbnail

updated almost 4 years ago

Write String Value to Windows Registry by Gordon

Gordon (view profile)

A function the writes a string value to a key in the windows registry (windows, registry, regedit)

image thumbnail

updated 4 years ago

Repeated Values by Mike Sheppard

Mike Sheppard (view profile)

Finds all repeated values for input X, and their attributes. (data exploration, statistics, mathematics)

repval(varargin)

image thumbnail

updated 4 years ago

array2string.zip by Bastian Binder

simple function that converts a cell array to a string. (cell array, string, conversion)

array2string(array_loc)

image thumbnail

updated 4 years ago

splitstring by Ivar Eskerud Smith

Split a string into a cell array by specifying a delimiter. (split, string, cellstring)

splitstring( str, varargin )

image thumbnail

updated 4 years ago

Swap structure values into strings by Zachary Danziger

Finds fields of a structure in a string, and replaces them with the corresponding field values. (structure, string, field)

struct2strrep(strctr,sin)

image thumbnail

updated 5 years ago

Generate Exhaustive Permutations by Michael Chan

Michael Chan (view profile)

Illustrates generation of exhaustive permutation of symbols given the symbolic bases. (bioinformatics, permutation, combinatorics)

computePermutationSeqForSpecificIndex

convertIndexRepresentedPermutationsToSymbolPermutations

generateExhaustivePermutation(bases, lengthOfPermutation)

Contact us