- replace the duplicated number with NaN or anything somehow.
- interpolate the data linearly
for duplication
unique
function may help.
for interpolation
interp1
would be a good fit for you.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!