How can I make a decimal value of A multiplexed signal in Simulink?

A
andersonsmith93 · Jul 6, 2020 · 2K views
Question
I have a multiplexed signal in a form like 10010100 which means that I have 8 separate boolean elements in one multiplexed message. However I would have to transform this to decimal form for next block in my model. The value should convert straight from 10010100 -> 148. I don´t find blocks for that operation? Could someone help me to find the way for conversion?
Expert Answer
Profile picture of Neeta Dsouza
Neeta Dsouza PhD Expert
Answered Aug 21, 2026
If you have a communication system toolbox, use a bit to integer converter block
If not use a bin2dec matlab function in a Interpreted matlab function block
100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!