Question

How to edit ThingSpeak data gathering script

Long ago I created a ThingSpeak channel to scrape data from a website. I used the template, filled in a bunch of parameters and...

9 months ago | 1 answer | 0

Question

Toolbox export using 19a style project files

I'm very confused about these new project files. I have a .prj file that I've used for ages to package my code into a .mltbx fi...

12 months ago | 1 answer | 2

Solved

How to find the position of an element in a vector without using the find function

Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

1 year ago

Problem

Invert a 3D rotation matrix

Given a 3D rotation matrix, belonging to the matrix group SO(3), compute its inverse without using the functions |inv()| or |pin...

1 year ago | 0 | 13 solvers

Problem

Invert a 3D rigid-body transformation

Given an SE(3) matrix representing a rigid-body motion, compute its inverse without using |inv()| or |pinv()| .

1 year ago | 1 | 9 solvers

Problem

Create a 3D rotation matrix

Consider an arbitrary coordinate frame {A}. Consider another coordinate frame {B} which has the same origin as {A} but is rotat...

1 year ago | 1 | 8 solvers

Problem

Create a 3D rotation matrix from roll-pitch-yaw angles

Consider an aerospace application where the world reference coordinate frame {W} and a body-fixed coordinate frame {B}. The ori...

1 year ago | 1 | 6 solvers

Problem

Orientation of a 3D coordinate frame

The orientation of a body-fixed frame {B} with respect to the world frame {W} is described by an SO(3) rotation matrix. Compute...

1 year ago | 1 | 5 solvers

Problem

Determine roll pitch yaw angles from a 3D rotation matrix

Consider an aerospace application where the world reference coordinate frame {W} and a body-fixed coordinate frame {B}. The ori...

1 year ago | 1 | 3 solvers

Solved

Vector creation

Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

1 year ago

Solved

Doubling elements in a vector

Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

1 year ago

Solved

Flip the vector from right to left

Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

1 year ago

Solved

Whether the input is vector?

Given the input x, return 1 if x is vector or else 0.

1 year ago

Solved

Get the length of a given vector

Given a vector x, the output y should equal the length of x.

1 year ago

Problem

Homogeneous lines and points in 2D: problem 1

In high school we learn the line equation y = mx + c where m is the gradient and c is the intercept. However this form is prob...

1 year ago | 1 | 9 solvers

Problem

Pose from bearing angles in 2D

A robot moving on the plane has a sensor that measures the bearing angle to two mapped landmarks, that is, the world frame coord...

1 year ago | 2 | 13 solvers

Problem

Composing relative poses in 2D: problem 1

We consider a world reference frame denoted by {0} which has its x-axis pointing east and its y-axis pointing north. There i...

1 year ago | 1 | 21 solvers

Problem

Composing relative poses in 2D: problem 1

We consider a world reference frame denoted by {0} which has its x-axis pointing east and its y-axis pointing north. There i...

1 year ago | 1 | 27 solvers

Problem

Twists in 2D

So far we have represented the pose of an object in the plane using a homogeneous transformation, a 3x3 matrix belonging to the ...

1 year ago | 1 | 8 solvers

Problem

Pose interpolation in 2D

Consider two poses represented by homogeneous transformation matrices: |T1| and |T2|. Write an algorithm to interpolate between...

1 year ago | 1 | 11 solvers

Problem

Relative points in 2D: problem 3

The 2D pose of a robot, with respect to a world coordinate frame {O}, is described by a 3x3 homogenous transform matrix T. A la...

1 year ago | 1 | 18 solvers

Problem

Relative points in 2D: problem 1

The 2D pose of a robot, with respect to a world coordinate frame {O}, is described by a 3x3 homogenous transform matrix T. A la...

1 year ago | 1 | 46 solvers

Problem

Relative points in 2D: problem 2

The 2D pose of a robot, with respect to a world coordinate frame {O}, is described by a 3x3 homogenous transform matrix T. A la...

1 year ago | 1 | 28 solvers

Problem

Relative pose in 2D: problem 1

We consider a world reference frame denoted by {0} which has its x-axis pointing east and its y-axis pointing north. There is a...

1 year ago | 2 | 79 solvers

Problem

Relative pose in 2D: problem 2

We consider a world reference frame denoted by {0} which has its x-axis pointing east and its y-axis pointing north. There is a...

1 year ago | 1 | 37 solvers