Another question please:
why when I use MultiplyDivide actor to multiply two matrices (the two provided
by Edward), I cannot use the VectorDisassembler actor? The result of the
multiplication is a vector too, isn't it?
I get the following error message: ptolemy.actor.TypeConflictException: Type
Sure, just about anything that does multiplication will handle matrices.
MultiplyDivide, Expression, FIR, etc. Math operations are polymorphic.
Matrices are specified in MATLAB syntax in the expression language.
E.g, in the Expression Evaluator:
[0, 1;1, 0]*[2; 3]
[3;2]
Edward
On 1/21/12
Muhannad,
The MultiplyDivide actor in Ptolemy does this, see attached.
I'm surprised you could not find this actor in Kepler.
When I entered Multiply into Search Components and hit Search it
came right up.
_Christopher
On 1/21/12 9:27 AM, Edward A. Lee wrote:
Sure, just about anything
Thanks Edwad and Christopher!
@Christopher: actually I found it but I didn't know in which syntax I have to
provide my Matrix/Vector data. It would be very helpful if the documentation of
MuliplyDivide actor includes the example provided by Edward.
Thanks once again!
Muhannad
On Jan 21,
Muhannad,
Ah, that explains it. The problem was not not finding the actor but not
finding the documentation for matrices and arrays.
In Kepler, if you double click on the Multiply or Divide actor, then the
Edit Parameters window has a Help button that bring up the documentation
for the
5 matches
Mail list logo