changesupc
Change the conditions format.
Syntax
SUPC = changesupc(supc)
Description
SUPC = changesupc(supc) returns a double matrix format (if supc is a
cell input) or returns a cell of strings (if supc is a numeric
matrix input).
Input
supc = suplementry conditions (double matrix or cell of strings).
Output
SUPC = suplementary conditions (cell of strings or double matrix).
Example
SUPC = changesupc([1 4 32 7;5 2 0 12;3 2 1 0])
returns
SUPC = {'y''''''(1) = 5';'y''''(4) = 2';'y''(32) = 0';'y(7) = 12'} % ''='
while
SUPC = changesupc({'y''''''(1) = 5';'y''''(4) = 2';'y''(32) = 0';'y(7) = 12'})
returns
SUPC = [1 4 32 7;5 2 0 12;3 2 1 0].
SUPC = changesupc(supc) returns a double matrix format (if supc is a cell input) or returns a cell of strings (if supc is a numeric matrix input).
Input
supc = suplementry conditions (double matrix or cell of strings).
Output
SUPC = suplementary conditions (cell of strings or double matrix).
Example
SUPC = changesupc([1 4 32 7;5 2 0 12;3 2 1 0])
returns
SUPC = {'y''''''(1) = 5';'y''''(4) = 2';'y''(32) = 0';'y(7) = 12'} % ''='
while
SUPC = changesupc({'y''''''(1) = 5';'y''''(4) = 2';'y''(32) = 0';'y(7) = 12'})
returns
SUPC = [1 4 32 7;5 2 0 12;3 2 1 0].
SUPC = suplementary conditions (cell of strings or double matrix).