I could obtain the difference speed and separately plot two errors (error and error1) for two different methods, but how can I plot these two errors togather on the same time axes? see attached

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