Hhumm...
Is there any block in Simulink to ADD (or substract) two (or more) VECTORS,
like the Sum block for scalars ? If not, is it possible to create it ?
The way to Demux the vector then to use the Sum block for scalar, then to Mux,
is not clean.
In the same way, how to visualize TWO lines (from a vector) with a GRAPH SCOPE,
like one line from a scalar with the standard Graph Scope ?
Many thanks to the one who could help me !
BARTOLO Cyril
C.N.R.S. (National Center for Scientific Research)
Email: bar...@r2d2.iaf.cnrs-gif.fr
> Is there any block in Simulink to ADD (or substract) two (or more) VECTORS,
> like the Sum block for scalars ? If not, is it possible to create it ?
> The way to Demux the vector then to use the Sum block for scalar, then to Mux,
> is not clean.
>
> In the same way, how to visualize TWO lines (from a vector) with a GRAPH SCOPE,
> like one line from a scalar with the standard Graph Scope ?
>
The Sum block in SIMULINK 1.3 supports both scalar and vector summation as
well as a "summation mode", which adds the elements of a single input
vector.
The Graph Scope in SIMULINK 1.3 allows multiple lines to be plotted
simultaneously.
Hope this helps...
-Gary
== Gary Levenson ============================= ga...@mathworks.com =======
The MathWorks, Inc. in...@mathworks.com
24 Prime Park Way http://www.mathworks.com
Natick, MA 01760-1500 ftp.mathworks.com
===Tel: 508-653-1415 === Fax: 508-653-2997===============================