please, how can i make the plot on the x axis from 15 to 25 hertz to rest on the x axis. that is to make them start from zero. i have used detrend but, it is not working
Ältere Kommentare anzeigen
Hello can you help with the above question

9 Kommentare
Cris LaPierre
am 10 Jul. 2023
Share your data and the code you have tried. You can paste your code into your post. You can attached your data using the paperclip icon after you save your variable to a mat file.
Matthew Worker
am 10 Jul. 2023
Verschoben: Cris LaPierre
am 10 Jul. 2023
Matthew Worker
am 10 Jul. 2023
Verschoben: Cris LaPierre
am 10 Jul. 2023
Sandeep Mishra
am 10 Jul. 2023
Verschoben: Cris LaPierre
am 10 Jul. 2023
Can you share myFun function?
Matthew Worker
am 17 Jul. 2023
Cris LaPierre
am 17 Jul. 2023
We need to see how your ode45 syntax to be able to answer that question. The relevant section of the documentation can be found here: https://www.mathworks.com/help/matlab/ref/ode45.html#bu00_4l_sep_shared-tspan
If you specify a vector a timepoints for tspan, ode45 will return solutions at those time points. If that is not close enough, you can use interp1. There is an anwer from 2012 about that: https://www.mathworks.com/matlabcentral/answers/92961-how-do-i-use-a-fixed-step-size-with-ode23-and-ode45-in-matlab
Note - that post mentions the interpolation feature was added in MATLAB 5. We are now on MATLAB 9.
Matthew Worker
am 17 Jul. 2023
Cris LaPierre
am 18 Jul. 2023
We are several steps removed from the original question. I suggest asking a new question in the forum.
Matthew Worker
am 24 Jul. 2023
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Vibration Analysis finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

