How do I make the x-axis of a signal to represent time?
    14 ビュー (過去 30 日間)
  
       古いコメントを表示
    
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 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
				Help Center および File Exchange で Spectral Measurements についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!