Site hosted by Angelfire.com: Build your free website today!

num2cellstr

PURPOSE ^

SYNOPSIS ^

function [c] = num2cellstr(a, prec, prefix, suffix, noprefix)

DESCRIPTION ^

 NUM2CELLSTR convert array of floating-point numbers to cell array of strings
    NUM2CELLSTR(X) converts array X to cell array of strings.
    If X is a two- or multi-dimensional array, it will be
    flattened (all elements will still be included).

    NUM2CELLSTR(X, P) is the same but uses precision P, where P is an integer.

    NUM2CELLSTR(X, P, S) same as above but includes a prefix string to
    each cell.

    This clumsy routine would be unnecessary if Matlab provided something
    like python's string.strip() function.

 See also SPRINTF, CELLSTR

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^


Generated on Sat 12-Mar-2005 01:01:49 by Rezaul Karim © 2004