Averaging a curve with itself
Mostrar comentarios más antiguos
I'm trying to average this curve (pixel intensity of a selected object by distance from a point) with itself along the x-axis: 

I've tried linear interpolation, which was unsuccessful because I do not have fully unique values in x. However, my x-values also do not always match perfectly between the upper and lower curves, which means that I cannot just average y-coordinate by matching x-values.
What would be the best way to go about doing this? I have attached my code and the relevant .mat file in case that helps.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Detection en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


