Clear Filters
Clear Filters

Find all x-axis values to a certain y-axis value

18 views (last 30 days)
Hello all, I am new to Matlab and am using it for the first time for a project.
My problem is basically that i have a table (can be plotted into a graph) with certain data points (1-250) on the y-axis with time in ms on the x-axis. The resulting graph therefore doesn't follow a function.
What I need to do now is to find all time points (x-axis values) where y = 5.
I'd be grateful for any help and/or push into the right direction.

Accepted Answer

Dyuman Joshi
Dyuman Joshi on 28 Sep 2023
  2 Comments
Michel
Michel on 28 Sep 2023
Thank you so much, that was exactly what I needed!
Dyuman Joshi
Dyuman Joshi on 28 Sep 2023
Glad to have helped!
If you want to learn more about MATLAB, I would suggest you to take the free MATLAB Onramp tutorial.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!