필터 지우기
필터 지우기

Separate a signal in two signals with Simulink

조회 수: 41 (최근 30일)
Hamda Zarrouk
Hamda Zarrouk 2023년 2월 7일
편집: Fangjun Jiang 2023년 2월 7일
Hello,
So I imported a table of 1024*1000 it is basically signals when plotted. I need to separate the signals into channel left and channel right. To do that on table receives all the pair-index-columns and the other all the impair-index-columns.
In MATLAB it is easy to do but I need to so the same thing in Simulink which is with what I am struggling right now.
Thank you
  댓글 수: 2
Fangjun Jiang
Fangjun Jiang 2023년 2월 7일
?? "To do that on table receives all the pair-index-columns and the other all the impair-index-columns"
Hamda Zarrouk
Hamda Zarrouk 2023년 2월 7일
The audio signal is made out for example of 1000 sin waves that include both left and right channel and i want to separate them into 2 Signals of 500 but they have to be separated in a way that the first one is in the fist channel, the second in the second channel, the third back in the first channel and so on.
I am using a Bus selector but how can i automate the separations and handle a big number of signals ?

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

채택된 답변

Fangjun Jiang
Fangjun Jiang 2023년 2월 7일
편집: Fangjun Jiang 2023년 2월 7일
  1. Pre-process the data in MATLAB and then import the two splitted data sets into Simulink. Or
  2. Use the "Selector" block. In the dialog, select "Index vector (dialog)" and specify [1:2:end] or [2:2:end]

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Signal Import and Export에 대해 자세히 알아보기

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by