integrate identical data give un identical
1 次查看(过去 30 天)
显示 更早的评论
The problem simply I created data from source using matlab simulink and saved it to worksapce, when I call this data from workspace to simulink and compare it with the original source give identical results, but when I integrate the results will be not identical??
Below what I did and the links for the model and word doc for the plots analysis 1. create sin wave and save it to workspace. the model link is: https://drive.google.com/open?id=0BycJ_aTQNwAUbzBja1dVMWc2TUFRX20yZnVVRmJLSGpxU2M0
2. call the sine wave from the workspace to the model and compare it with the original sinwave in plot.
3. Both are identical 100% you can zoomed to verify.
4. let us consider this sin wave is the acceleration.
5. use the second order integration for both original sinwave and workspace sinwav to determine velocity and position.
6. the results are not identical. see this link for word doc with all plots please:
https://drive.google.com/open?id=0BycJ_aTQNwAUX0VjZE5ieVZRQ000WGppS3JiVGpaeTVzUVlF
Note: first time run the simulink model you have to generate the sindata (cut simin block and connect the second integral to the original sin wave after first run paste and reconnect the integral as it was before.)
If you know any solution for this problem please let me know.
2 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!