I want to add a definite fixed intervals between my input data
4 ビュー (過去 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 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!