How to plot multiple audio files horizontally in MATLAB

조회 수: 1 (최근 30일)
Deepu S S
Deepu S S 2021년 11월 10일
댓글: Rik 2021년 11월 10일

채택된 답변

Chunru
Chunru 2021년 11월 10일
n = 1000;
t = (0:n-1)'*.0001;
x = randn(n, 6); % 1000 samples 6 channels
y = 0.2*x + (1:6); % scale the x by 0.2, add offset for each channel
plot(t, y)
xlabel('t (s)');
set(gca, 'YTick', (1:6), 'YTickLabel', "ch"+(1:6))
  댓글 수: 5
Deepu S S
Deepu S S 2021년 11월 10일
how to store the data from files as matrix?

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by