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
古いコメントを表示
Hello can you help with the above question

9 件のコメント
Cris LaPierre
2023 年 7 月 10 日
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
2023 年 7 月 10 日
移動済み: Cris LaPierre
2023 年 7 月 10 日
Matthew Worker
2023 年 7 月 10 日
移動済み: Cris LaPierre
2023 年 7 月 10 日
Sandeep Mishra
2023 年 7 月 10 日
移動済み: Cris LaPierre
2023 年 7 月 10 日
Can you share myFun function?
Matthew Worker
2023 年 7 月 17 日
Cris LaPierre
2023 年 7 月 17 日
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
2023 年 7 月 17 日
Cris LaPierre
2023 年 7 月 18 日
We are several steps removed from the original question. I suggest asking a new question in the forum.
Matthew Worker
2023 年 7 月 24 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Vibration Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

