Question

Quaternion rotation around only two axes.

Hello all, I am working on a problem where i am using quaternions to put meaured accelerations into the global reference frame...

1 month ago | 1 answer | 0

Question

Find Sum of array

Hello, i am trying to find the sum of an array that contains elements that contain decimals. How would i go about doing this? th...

2 months ago | 2 answers | 0

Question

Incorrect position calculation from IMU for gait analysis

Hello All, i am trying to do gait analysis using an IMU. I am using a zero velocity update algorthm to force the food valeocity...

3 months ago | 0 answers | 0

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4 months ago

Question

Quaternions given relative to NED but I want to orientate my sensor relative to Down only

Hello all, i am using the Bosch BNO055 IMU to do gait analysis. The quaternions outlutted from the sensor are relative to the NE...

5 months ago | 0 answers | 0

Question

What is wrong with this path?

Hello, I have a very very simple question and it has constantly vexxed me. I have tried but i cannot wrap my head around the mat...

5 months ago | 1 answer | 0

Question

IMU orientation using AHRS filter

Hello, I am having IMU orientation troubles I am using the AHRS Filter to output Angular Velocity and Quaternions relative to th...

5 months ago | 1 answer | 0

Question

make vectors same length

Hello, I input my data as three different variables, acc, gyr, and mag. I want a small amount of code that makes all three var...

5 months ago | 2 answers | 0

Question

Calculate area within mesh plot

Hello all, i am looking to calculate the area of a section of mesh plot. I have attahced a photo of the mesh plot for your sake....

6 months ago | 1 answer | 0

Question

calculate area of particular space in mesh plot

Hello All, I am working a a bit of a creative problem and i am trying to calcualte the area of a certain part of my mesh plot....

6 months ago | 0 answers | 0

Question

matrix index is out of range for deletion

Hello, I am trying to delete certain rows of an 1D array if a conditional statement is true. My code is: for i = 1:length(TF...

6 months ago | 2 answers | 0

Question

Adding multiple folders to path

Hello. I am trying to add multiple folders to my matlab path, but i am not having much luck. My directory looks like this: Ba...

7 months ago | 1 answer | 0

Question

Error using eigs. Input matrix is badly conditioned. It might contain Inf or NaN.

Hello all, I have a varibale named psi, that is a 1x10940 cell array of cells, with each cell containing a 2x2 matrix. I calcua...

7 months ago | 0 answers | 0

Question

create a matrix with a for loop

Hello all, i am trying to calculate a bunch of matrices using a for loop. I have written the following code T = 60; for t = 60...

7 months ago | 2 answers | 0

Question

Find point on a trajectory nearest a point

Hello all, I am trying to the point on a trajectory nearest a point. I have a trajectory called 'trajAP" (it is a a trejectory...

7 months ago | 0 answers | 0

Question

How to make a trajectory from position and Velocity data

Hello, I feel that this is a very easy question and i am mad that i have not figured it out myself. I have position data (eule...

7 months ago | 1 answer | 0

Question

Removing DC component at 0 HZ from acceleration data after fft

Hello, After i compute the FFT of my acceleration data (Fs = 50 Hz) i am getting a large spike at 0 Hz (the leftover DC compon...

8 months ago | 1 answer | 0

Question

rotate acceleration vector using rotation matrix

Hello, first time question asker here. I am trying to orient a smartphone whlist it is in a persons pocket. I collected acceler...

10 months ago | 1 answer | 0

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

2 years ago