Plot data from excel problem - Real flight data
Show older comments
Hello the community,
I am facing a problem using Matlab for plotting data from excel sheet.
I am a private pilot and I used the Iphone app "Flight data reccorder" to reccord my flight yesterday. It sends me by mail a csv file with a lot if data like altitude, ground speed, longitude, etc...
I want to visualize in 3D my flight so I plotted the longitute, the lattitude and the altitude using plot3 after converting excel collumn into arrays.
Here is wat tI obtain:

As you can see on the upper side on the left there are some problems with the altitude at the begining and the end of the flight.
I checked the values of the altitude on my arrays and there is no problem the first value are about 300ft which was the altitude of the terrain.
When I plot pnly the alitude here is what it looks like:

The are problems at the boundaries as you can see. But the strange values in the plot don't appear in the array. Here are the first and last values int the array altitude:

On the lft we have the take off and on the right landing.
I don't understand why whenI plot it there are the points at the beginings and the end at about 3000ft....
Does any one have an idea??
Thks in advance
Regards from France
Alex
2 Comments
Walter Roberson
on 14 Apr 2019
Can you attach the data?
Is it possible that you are using something like a moving average to smooth the data before plotting it? Moving average can introduce odd values at the two ends.
Alex LENFANT
on 14 Apr 2019
Accepted Answer
More Answers (1)
Alex LENFANT
on 15 Apr 2019
Edited: Alex LENFANT
on 15 Apr 2019
0 votes
Categories
Find more on Mapping Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!