I have logged a signal from simulink to workspace in timeseries format and got 317 samples of that signal. Can i increase the number of samples i get or the sampling rate?
3 ビュー (過去 30 日間)
古いコメントを表示
I tried changing start time and end time in this, so that i can get 317 samples in reduced interval thus accuracy of the logged signal can be increased.But, when i run the code again the applied changes were not taken.
Is it even possible to change sampling rate because,this approximated signal causing cumulative error in my code.
3 件のコメント
Paul
2024 年 1 月 13 日
How exactly is the signal being logged? Using a To Workspace block?
How exactly do you get that "Define Uniform Time Vector" dialog box?
回答 (1 件)
Paul
2024 年 1 月 14 日
More samples of the logged signal can be collected by settng the Sample Time of the To Workspsace block to whatever sample time is needed. The sample time will have to be consistent with the step size of the simulation solver. There will not be a problem if the solver is variable step.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Sources についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!