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...

1 year 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...

1 year 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...

2 years 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...

2 years ago | 0 | 15 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()| .

2 years 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...

2 years ago | 1 | 12 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...

2 years 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...

2 years ago | 1 | 4 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...

2 years 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.

2 years 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 ...

2 years 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 ...

2 years ago

Solved

Whether the input is vector?

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

2 years ago

Solved

Get the length of a given vector

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

2 years 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...

2 years ago | 1 | 8 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...

2 years ago | 2 | 14 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...

2 years ago | 1 | 33 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...

2 years ago | 1 | 30 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 ...

2 years ago | 1 | 10 solvers

Problem

Pose interpolation in 2D

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

2 years ago | 1 | 16 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...

2 years ago | 1 | 28 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...

2 years ago | 1 | 58 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...

2 years ago | 1 | 40 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...

2 years ago | 2 | 82 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...

2 years ago | 1 | 50 solvers