Function cellplot - cell array, MATLAB in Engineering

Function cellplot - Cell array:

The function cellplot place a graphical display of the cell array in a figure Window; though, it is a high-level view and fundamentally just displays similar information as typing the name of the variable (exmple, it wouldn't display the contents of the vector).

Also, most of the functions and operations on arrays which we seen work with the cell arrays. For illustration, here are several related to dimensioning:

>> length(cellrowvec)

ans =

  4

>> size(cellcolvec)

ans =

  4   1

>> cellrowvec{end}

ans =

hello

 

It is not possible to delete an individual element from the cell array. For illustration, assigning an empty vector to a cell array element does not delete the element, it merely replaces it with the empty vector:

>> cellrowvec

mycell =

  [23]   'a'    [1x5 double]   'hello'

>> length(cellrowvec)

ans =

  4

>> cellrowvec{2} = []

mycell =

  [23]    []    [1x5 double]   'hello'

>> length(cellrowvec)

ans =

  4

Though, it is possible to delete the whole row or column from a cell array by assigning the empty vector (Note: use parentheses instead of curly braces to refer to the row or column):

>> cellmat

mycellmat =

  [    23]      'a'

  [1x5 double]    'hello'

>> cellmat(1,:) = []

mycellmat =

  [1x5 double]     'hello'

Posted Date: 10/20/2012 5:49:34 AM | Location : United States







Related Discussions:- Function cellplot - cell array, Assignment Help, Ask Question on Function cellplot - cell array, Get Answer, Expert's Help, Function cellplot - cell array Discussions

Write discussion on Function cellplot - cell array
Your posts are moderated
Related Questions
Illustration of Graphics properties: A particular property can also be exhibited, for illustration, to view the line width:     >> get(hl,'LineWidth')     ans =

Algorithm for expfn function: The algorithm for expfn function is as shown:  receives the value of x as the input argument.  Prints the value of exp(x).  assigns a

Function used in binary search: The function below implements this binary search algorithm. It receives two arguments: the sorted vector and a key (on the other hand, the func

Technique is to create one element - vector: Technique is to create one element with the values from one structure, and use repmat to replicate it to the preferred size. Then,

Illustration of gauss-jordan elimination: An illustration of interchanging rows would be r1 ¬→ r3, that would results: Now, beginning with this matrix, an illustration of sc

num2str function: The num2str function, that converts real numbers, can be called in many ways. If only the real number is passed to the num2str function, it will generate a s

Interchange rows : for illustration interchanging rows ri and rj is written as

Symbolic Variables and expressions: The MATLAB has a type known as sym for the symbolic variables and expressions; these work with strings. The illustration, to generate a sym

Q.1: Consider the transmission of a sinusoid x(t) = cos(2f0t) through a channel a ected by multipath and Doppler. Let there be two paths, and assume the sinusoid is being sent fro

Individual structure variable: The individual structure variable for one software package may look like this: The name of the structure variable is a package; it has f