We have a body that goes underwater (let's say a whale) with magnetometer and accelerometer data. I also have GPS, date, depth, pressure and temperature data. I want to know if there is any simple way (Matlab code most preferably) to combine data from magnetometer and accelerometer to find a way to estimate speed of the body (whale).
I have thought of 2 ways to perform this but I don't know how to proceed:
- Differentiate depth to determine speed of descend
- Use acceleration and magnetic data to determine pitch, roll, yaw (I prefer this method).
Please feel free to provide a link if there is an already-existing matlab code for all of this.
Feel free to ask question so I can further explain. No gyroscope data