Choosing our generalized coordinates as the horizontal ...

This block chooses an output according to the command signal. The command signal is rounded to the nearest positive integer, and the corresponding input is passed through. Figure 5.2: Multiport Switch Used to Choose an Output. Both methods can be expanded to handle choices between more than two inputs. ................
................