WOLFRAM SYSTEM MODELER

IntegerToBinary

Function that takes an integer number and converts it to an array of binary numbers.

Wolfram Language

In[1]:=
SystemModel["EducationExamples.ElectricalEngineering.EightBitAdder.Components.IntegerToBinary"]
Out[1]:=

Information

 

IntegerToBinary

 

Function Documentation

This algorithm takes an integer number and converts it into an array of binary numbers.

Used in the IntegerToBinaryConverter block.

 

Syntax

y = IntegerToBinary(u, n)

Inputs (2)

u

Type: Integer

n

Type: Integer

Outputs (1)

y

Type: Logic[n]