How do I make the x-axis of a signal to represent time?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Ahmed Elaraby
il 22 Giu 2021
Commentato: Ahmed Elaraby
il 22 Giu 2021
So I'm trying to plot a graph with the time as the x-axis, but I'm having a hard time trying to.
This is my code so far:
load handel.mat
filename = 'handel.wav';
audiowrite(filename,y,Fs);
clear y Fs
[y,Fs] = audioread('handel.wav');
plot(y);
xlabel 'Time'
ylabel 'Audio signal'
I'm still new to MATLAB so it's still not easy for me.
Thanks in advance
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Audio I/O and Waveform Generation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!