Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1.
Examp...
4 years 前
已解决
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 years 前
已解决
Pose interpolation in 2D
Consider two poses represented by homogeneous transformation matrices: |T1| and |T2|. Write an algorithm to interpolate between...
4 years 前
已解决
Differential equations I
Given a function handle |f| an initial condition |y0| and a final time |tf|, solve numerically the differential equation
dy...
4 years 前
已解决
Combined Ages 2 - Symmetric, n ≥ 3
Following on <http://www.mathworks.com/matlabcentral/cody/problems/42382-combined-ages-1-symmetric-n-3 Combined Ages 2>, you wil...
4 years 前
已解决
Combined Ages 1 - Symmetric, n = 3
You have probably seen the common riddle wherein combined ages are provided and you must determine the individual ages. For exam...
System of equations
Find a solution to a system of equations represented by a |n| by |n+1| matrix. For instance,
[ 2 0 4; => 2*x = 4
...
4 years 前
已解决
Column norms of a matrix
Given a matrix M, return a vector y such that for each k
y(k)=norm(M(:,k))
(y(k) is the Euclidean norm of the k-th col...
4 years 前
已解决
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...
4 years 前
已解决
Composing relative poses 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 i...
4 years 前
已解决
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...
4 years 前
已解决
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 lan...
4 years 前
已解决
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...
4 years 前
已解决
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...
4 years 前
提问
Refresh plot for animation
Hello
I would like to animate a pendulum rod with a mass attached through a spring. My question is about animation. Currently...