Transforming axis. How to create a customized axis.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have x,y,z coordinates from a tissue and corresponding them, a signal value. The tissue is curved, so when I plot data in x-y plane, I can see the graph as shown. I want to plot 2D graph such that my x-axis is the midline of tissue(black line) and y-axis is my signal value.
Thanks!![Sample_3_z1-11.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/201151/Sample_3_z1-11.jpeg)
![Sample_3_z1-11.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/201151/Sample_3_z1-11.jpeg)
8 comentarios
Jan
el 11 de Feb. de 2019
@Chandel Singh: So start with finding a function to fit the hand drawn curve. This is not trivial and there is no unique solution. What about a cubic spline or are there any mathematical restrictions to the wanted function?
Afterwards a problem remains: in the parts, where the function is konvex, the relation is not necessarily unqiue. Example: If the fitted line is a circle, you cannot find a unique correlation between the curve and the center. This means, that there is no guarantee that there is a unique solution to you problem.
But you can find some solutions. Currently this problem does not concern Matlab, so you have to find mathematical solutions any where elese at first, before it matchs the topic of this forum.
Respuestas (2)
jahanzaib ahmad
el 22 de En. de 2019
minus some value from x coordinates
like if u have x,y data in A .
A =[A(:,1)-1321 A(:,2)];
0 comentarios
Ver también
Categorías
Más información sobre Interpolation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!