Refine by Content Type

Refine by Product

Refine by Time Frame

image thumbnail

updated 4 months ago

Numeric to Ordinal-String by Stephen Cobeldick

Convert numeric values to a character array of integers with ordinal suffixes (numeric -> string). (ordinal, suffix, int2str)

num2ordinal(num,sel)

image thumbnail

updated 9 months ago

Setting Maximum numer of Characters in edit box by 123456

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

STRJOIN by Kota Yamaguchi

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

strjoin(input, separator)

image thumbnail

updated 2 years ago

Repeated Values by Mike Sheppard

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

[RV,NR,POS,IR]=repval(varargin)

image thumbnail

updated 3 years ago

Overload Char by Jon Danisch

Changes default behavior of [], +, - for char types. (overloading, char, horzcat)

ToggleCharOverloading(xstr)

horzcat(varargin)

minus(y,z)

image thumbnail

updated almost 4 years ago

Encrypt email address by Jerome Degallaix

Create the vector which can be decipher with the command char(cumsum(vector)). (email, char, cumsum)

Encrypt_text(str)

image thumbnail

updated 4 years ago

Find numerical values (digits) in a string array. by T. R.

Function that determines for a given string 'str' if some of its characters are digits from 0 to 9. (digit, numeric, string)

isstrdigit.m

image thumbnail

updated 4 years ago

allwords by John D'Errico

Parse a sentence or any string into distinct "words" (string, char, words)

allwords(str,sepchars)

image thumbnail

updated almost 5 years ago

char2cell by Mirko Hrovat

Converts a character array (or cell string) array to a cell string array using delimiters and rows. (cell, char, string)

char2cell(s,delim,rowseparate,trim)

image thumbnail

updated 5 years ago

LISTMATCH by Joerg Bretschneider

unique adaptive STRMATCH (strings, match, cellstr)

listmatch(item, list, warn)

image thumbnail

updated 5 years ago

cellhist by Tal Shir

Plots a Histogram based on cell string array. (hist, histogram, cell)

[n cellout]=cellhist(CELL)

image thumbnail

updated 7 years ago

A much improved CHAR2LINE by Ian Howat

Returns a character array or cellstr as a single, delimited string. Useful for building ascii files. (strings, cell, cellstr)

char2line(varargin)

image thumbnail

updated 9 years ago

str2cell: a pedestrian cell creator by us

creates a cell array from an input vector of any valid ML datatype (matrices, char, string)

c=str2cell(s,varargin)

image thumbnail

updated 9 years ago

gettok: a pedestrian matlab constructs decoder by us

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

stokdemo

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

o=stok(ivar)

Contact us