Interpolating the data given between -pi and pi
조회 수: 2 (최근 30일)
이전 댓글 표시
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
ts=1/21;
t=0:ts:1;
for k=1:lengtht(t)
th(k)=(k-1)*2*pi/(length(t)-1)
end
Thanks
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!