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!