MATLAB Answers

How to design 2:1 mux in simulink ?

11 views (last 30 days)
aastha
aastha on 15 Feb 2014
Answered: Nitish Kumar on 18 Nov 2020
as 2:1 mux is not present in simulink library of matlab so can anybody guide me how to generate 2:1 mux

  1 Comment

Sign in to comment.

Answers (1)

Nitish Kumar
Nitish Kumar on 18 Nov 2020
function output=my_new_2_isto_1_mux(D_0,D_1,select_line)
if(select_line==0)
output=D_0;
else
output=D_1;
end
end

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!