Convert Vector into Scalar Simulink

57 views (last 30 days)
Would it be possible, in Simulink, to read a vector that displays per example [1 2 3] and extract these numbers and put them together as an scalar in the following format: 123 ?
Thank you very much

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 12 Jul 2020
Demux it you will get 1, 2 and 3, then 1*100+2*20+3=123

More Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!