Effacer les filtres
Effacer les filtres

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

17 vues (au cours des 30 derniers jours)
Vivek
Vivek le 14 Nov 2014
Réponse apportée : Vivek le 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 commentaire
Vivek
Vivek le 14 Nov 2014
Ah! I may have answered my own question within 5 minutes of asking it. Here's a screen shot

Connectez-vous pour commenter.

Réponses (3)

Vivek
Vivek le 14 Nov 2014
That makes it clear.

Vivek
Vivek le 14 Nov 2014
That makes it clear.

Vivek
Vivek le 14 Nov 2014
That makes it clear.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by