Interpolating the data given between -pi and pi
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have the following program and wanted to get the value between -π and π. But the program I made below only gives
. Any help is apperciated
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/330701/image.png)
ts=1/21;
t=0:ts:1;
for k=1:lengtht(t)
th(k)=(k-1)*2*pi/(length(t)-1)
end
Thanks
0 Kommentare
Siehe auch
Kategorien
Mehr zu Interpolation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!