Find Zero Crossing in Cell Aray with Vectors
1 view (last 30 days)
Show older comments
Hello everybody,
I have the following data:
Time -> 25x25 cell
X -> 25x25 cell
Y -> 25x25 cell attached you will find a picture of what it looks like.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/402760/image.png)
I have to find the value in the red circle (see plot) and then save it for Y as well. In other words, when X reaches zero (zero crossing) the value for Y should be saved. If it is as in the picture that there is not only one value there, the golden mean should be taken.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/402765/image.png)
I always act a little stupid and I think that's broken. I hope you can help me.
Thank you in advance.
4 Comments
Answers (0)
See Also
Categories
Find more on String in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!