I want to add a definite fixed intervals between my input data
1 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Arif Hoq
2022-3-30
try this:
distance =[0 0 5 10 15 20];
C=cell(6,1);
for i=1:length(distance)-1
C{i}= distance(i):1:distance(i+1);
end
output=[C{:}];
output=[output(1) unique(output)]
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interpolating Gridded Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!