integrate identical data give un identical

1 view (last 30 days)
mike
mike on 1 Apr 2018
Commented: mike on 5 Apr 2018
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 Comments
Manan Mishra
Manan Mishra on 4 Apr 2018
Can you please zip your files and attach them here?
mike
mike on 5 Apr 2018
Please see the attached zipped folder Thank you!

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!