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

environ un an 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...

plus d'un an 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...

presque 2 ans 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...

presque 2 ans 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()| .

presque 2 ans 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...

presque 2 ans 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...

presque 2 ans 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...

presque 2 ans 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...

presque 2 ans 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.

presque 2 ans 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 ...

presque 2 ans 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 ...

presque 2 ans ago

Solved

Whether the input is vector?

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

presque 2 ans ago

Solved

Get the length of a given vector

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

presque 2 ans 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...

environ 2 ans 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...

environ 2 ans 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...

environ 2 ans ago | 1 | 26 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...

environ 2 ans ago | 1 | 23 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 ...

environ 2 ans ago | 1 | 9 solvers

Problem

Pose interpolation in 2D

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

environ 2 ans ago | 1 | 13 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...

environ 2 ans ago | 1 | 21 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...

environ 2 ans ago | 1 | 44 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...

environ 2 ans ago | 1 | 32 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...

environ 2 ans ago | 2 | 66 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...

environ 2 ans ago | 1 | 38 solvers