|
From: | Rick T |
Subject: | exporting data using wavwrite and interpolation |
Date: | Mon, 19 Mar 2012 19:50:47 -1000 |
clear all, clf
xx=[0, 0.296192, 0.592384, 0.888577, 1.18477, 1.48096, 1.77715, 2.07335, 2.36954, 2.66573, 2.96192, 3.25811, 3.55431, 3.8505, 4.14669, 4.44288];
yy=[0, 0.406737, 0.743145, 0.951057, 0.994522, 0.866025, 0.587785, 0.207912, -0.207912, -0.587785, -0.866025, -0.994522, -0.951057, -0.743145, -0.406737, -2.44929e-16];
subplot(2,1,1),plot(xx,yy) %this is what I really want the export wav file to look like
subplot(2,1,2),plot(yy)
wavwrite([yy'] ,16,32,'/tmp/test.wav')
[Prev in Thread] | Current Thread | [Next in Thread] |