How can I add query points between two adjacent points of sampled data?
2 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Voss
2024-2-24
x = [1;3;4;6;10]
n = 4; % number of points to insert in each interval
N = numel(x);
q = linspace(1,N,(n+1)*(N-1)+1);
Xq = interp1(1:N,x,q).'
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!