How to plot multiple audio files horizontally in MATLAB
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/796064/image.jpeg)
0 commentaires
Réponse acceptée
Chunru
le 10 Nov 2021
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Measurements and Spatial Audio dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!