필터 지우기
필터 지우기

How can I convert a raw matrix into a sequence of digits?

조회 수: 5 (최근 30일)
hadi
hadi 2012년 11월 13일
댓글: Nazim Mohamed 2015년 2월 16일
I need to convert a raw matrix into a sequence of digits (single element matrices)using simulink block that gives one element at a time because I am using (Integer to binary converter) that gives me 1x8 matrix and I need to transmit those binary digits one by one through a communication channel..
  댓글 수: 6
hadi
hadi 2012년 11월 13일
I think if there is a Parallel to Serial converter block then the problem will be solved? thanks for your help.
Nazim Mohamed
Nazim Mohamed 2015년 2월 16일
Hello, is it possible to run the simulation in 'inf' and modify the constant value while simulation ?

댓글을 달려면 로그인하십시오.

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2012년 11월 13일
편집: Azzi Abdelmalek 2012년 11월 16일
You can use an Index Vector block with 8 input, the control input is a repeating sequence stair [0 1 2 3 4 5 6 7] block. If it's not clear I will post a simulink model
  댓글 수: 3
hadi
hadi 2012년 11월 13일
thank you Azzi really thank you am really appreciate it ..I think the output for your model is 1 then 0 then 0 1 1 0 1 1 isn't it?
Azzi Abdelmalek
Azzi Abdelmalek 2012년 11월 13일
yes, is'nt what you want?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 String에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by