MOTDSP563 DSP Blockset

 

     Search     Help Desk 
MOTDSP563 Matrix Sum  Contents   See Also

Purpose

Sum the elements of a matrix along rows or columns.

Library

Motdsp563lib

Description

The MOTDSP563 Matrix Sum block sums the elements of an M-by-N input matrix u along either the rows or columns.

When the Sum along parameter is set to Rows, the block sums across the elements of each row and outputs the resulting M-by-1 vector.

This is equivalent to

When the Sum along parameter is set to Columns, the block sums down the elements of each column and outputs the resulting 1-by-N vector.

This is equivalent to

Dialog Box

Command File
Command File used by Motorola DSP563xx simulator core.
DSP Processor Type
Select the DSP Processor to be used.
Sum along
The dimension of the matrix to sum along, row or column.
Number of columns in input
The number of columns in the input matrix.
Simulation Time to enter Interactive Mode (secs):
Simulation time to step into the assembly code by launching the assembly language debugger. This parameter must be a scalar greater than or equal to zero. This parameter will be ignored if not using Interactive Mode.

See Also

MOTDSP563 Matrix Mean Average or mean value.


[ Previous | Help Desk | Next ]