Sorry, I again directed the reply to Stefan only. Forwarding to the list...
---------- Forwarded message ----------
From: Antonio <tritemio@...>
Date: Jun 26, 2006 7:52 PM
Subject: Re: [Qucs-help] equation: scalar - vector operations
To: Stefan Jahn <stefan@...>
On 6/26/06, Stefan Jahn <stefan@...> wrote:
> Am Sa, 24.06.2006, 19:08, schrieb Antonio:
> > Hi to the list,
> Hello Antonio,
> > Doing some sweep simulation (see the attachments), I had the need to
> > divide each element of a vector for a scalar, and obtain a vector as
> > result. Is this possible in QUCS? I hit this problem while simulating
> > a non ideal transformer, sweeping L2. If I want to calculate n (the
> > transformation ratio, don't know if this is the proper term in
> > english) for each L2 value I have to divide L1 which is a scalar by L2
> > which is a vector, see the attachments for more details.
> Well, in fact this should be possible. I'll look at the example and
> come up for a comment...
This is very good news. Unfortunately I'm not jet able to do such
operations, is there a particular syntax?
To trigger the error I see please modify the least equation to
n = k * sqrt( L1 / L2 )
in this way I get this error during the simulation:
vector 'L1' and 'L2' have different sizes
while I would like a vector named n with all the calculated values.