Welcome to our Support Center

Scale By Power Of Two


Multiplies x by 2 raised to the power of n.


Input parameters


n : integer, scalar number. This function rounds n before it scales x (0.5 rounds to 0; 0.51 rounds to 1).
Β x : class, n-dimensional tensor.

Output parameters


x*2^nΒ : class, the result of multiplying x by 2, raised to the power of n.


All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install PERRINE library to run it).

Table of Contents