metre to feet converter
The idea is to make a converter, which exchange meters to feets.
We use a factor of 1m = 3.281*1f.
so 3m are equals to 9.843 m...
Repeat The Components of Matrix
Repeat The components of a matrix so that the size of the output matrix is double to input matrix and components are repeated ne...
Find the next prime number
Find the next prime number or numbers for given n. For example:
n = 1;
out = 2;
or
n = [5 7];
out = [7 11];
...
11年弱 前
解決済み
Four quadrant inverse tangent function.
Create a function that returns an array P the same size as X and Y containing the element-by-element, four-quadrant inverse tang...
11年弱 前
解決済み
Matrix Construction I
Given n, construct a matrix as shown in the example below.
Example
For n=8, the output should look like this:
1 2 3 4 ...
11年弱 前
問題
Matrix Construction I
Given n, construct a matrix as shown in the example below.
Example
For n=8, the output should look like this:
1 2 3 4 ...
11年弱 前 | 5 | 270 個のソルバー
解決済み
Two-output anonymous function?
Return a function handle that when applied to an input, it produces two outputs: the first is the same as the input, and the sec...
11年弱 前
解決済み
singularity 2.0 (really hard)
This problem is the continuation of problem <http://www.mathworks.com/matlabcentral/cody/problems/1770-singularity-2-0-harder Si...
11年弱 前
解決済み
singularity 2.0 (hard)
This problem is the continuation of problem <http://www.mathworks.com/matlabcentral/cody/problems/1769-singularity-2-0-easier Si...
11年弱 前
解決済み
singularity 2.0 (easier)
If you have been in Cody long enough you have probably run across some badly constructed problems and test suites.
This prob...
11年弱 前
解決済み
Say something funny
Say something funny, or not.
Your solution will be (fully automatically and objectively) scored based on how clever or funny ...
Hydrogens in a Saturated Hydrocarbon
Given (c) carbon atoms in a saturated hydrocarbon molecule (all single bonds), how many hydrogen atoms (h) are in the molecule?
Replace values under a limit
For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n.
Example
x= [ 1 2 3...