Filter löschen
Filter löschen

How to multiply a bus by a constant and still retain signal names

17 Ansichten (letzte 30 Tage)
Vivek
Vivek am 14 Nov. 2014
Beantwortet: Vivek am 14 Nov. 2014
Seems like a really simple thing, but I can't figure it out. How can I multiply a bus by a gain or a constant and have the output as a bus that retains the same names as the input? When I put a gain block on a bus, the output becomes a vector with no signal names. On the other hand using a Bus assignment block doesn't solve the problem since one would still have to split out the individual signals in the bus and then multiply them. Any ideas?
  1 Kommentar
Vivek
Vivek am 14 Nov. 2014
Ah! I may have answered my own question within 5 minutes of asking it. Here's a screen shot

Melden Sie sich an, um zu kommentieren.

Antworten (3)

Vivek
Vivek am 14 Nov. 2014
That makes it clear.

Vivek
Vivek am 14 Nov. 2014
That makes it clear.

Vivek
Vivek am 14 Nov. 2014
That makes it clear.

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by