Community Profile

photo

James


Naval Surface Warfare Ctr

3,031 2012 年以降の合計貢献数

連絡する

James's バッジ

  • Cody 5th Anniversary Author
  • Scavenger Finisher
  • Thankful Level 2
  • First Answer
  • Community Group Solver
  • Introduction to MATLAB Master
  • Computational Geometry IV Master
  • Indexing V Master
  • Project Euler I
  • Draw Letters
  • Cody Problems in Japanese Master
  • Number Manipulation II Master
  • Matrix Patterns III Master
  • Magic Numbers II Master
  • Indexing IV Master

すべて表示

貢献した分野
表示方法

解決済み


Given a Vector v1, create v2 which is the sum of each two adjacent elements in v1. {length(v2)=length(v1)-1}
if v1 is [1 2 3 4 5 6 7 8] then v2 should be [3 5 7 9 11 13 15]. if v1 is [1; 3; 5; 7] the...

19日 前

解決済み


Unique: Faster for options 'rows' and 'stable' for large array of uint8
Challenge: Execute unique(a,'rows','stable') Faster for 'a' being uint8. The "unique" function for the 'rows' and 'stable' o...

約1ヶ月 前

解決済み


Create tangent function out of cosine only
Please don't use tangent and sine functions

約1ヶ月 前

解決済み


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

5ヶ月 前

解決済み


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

5ヶ月 前

解決済み


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

5ヶ月 前

解決済み


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

5ヶ月 前

解決済み


USC Fall 2012 ACM : Chemical Analysis
This Challenge is to solve Question D, Chemical Analysis, of the <http://contest.usc.edu/index.php/Fall12/Home USC ACM Fall 2012...

5ヶ月 前

解決済み


Repeat Vector Values an Arbitrary Number of Times
Given two vectors of the same size, repeat the values of the first vector the number of times given in a second vector. For exam...

5ヶ月 前

解決済み


4 Digit Sequence Repetitions
Given a 4 digit integer, a sequence can be created such that the next digit in the sequence is the ones digit from the sum of th...

5ヶ月 前

解決済み


Negative without '-'
Simple: return a negative number without using the '-' sign. Thanks to Problem <https://www.mathworks.com/matlabcentral/cody/...

5ヶ月 前

解決済み


(Linear) Recurrence Equations - Generalised Fibonacci-like sequences
This problem is inspired by problems <http://uk.mathworks.com/matlabcentral/cody/problems/2187-generalized-fibonacci 2187>, <htt...

5ヶ月 前

解決済み


How many Fibonacci numbers?
Find the number of unique Fibonacci numbers (don't count repeats) in a vector of positive integers. Example: x = [1 2 3 4...

5ヶ月 前

解決済み


Solve equation numerically
y'=y In order to solve equation using computer, numerical analysis are needed. 1st order Euler's method is one of the metho...

5ヶ月 前

解決済み


Iccanobif numbers 1
There are a lot of problems in Cody that deal with Fibonacci numbers (1, 1, 2, 3, 5, 8, 13, 21 etc...) so let's turn things arou...

5ヶ月 前

問題


Iccanobif numbers 1
There are a lot of problems in Cody that deal with Fibonacci numbers (1, 1, 2, 3, 5, 8, 13, 21 etc...) so let's turn things arou...

5ヶ月 前 | 0

解決済み


Find the next Fibonacci number
In the sequence of Fibonacci numbers, every number is the sum of the two preceding ones: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55...

5ヶ月 前

解決済み


Will there be a new leader?
Simply answer the title.

5ヶ月 前

解決済み


GJam 2017 Kickstart: Leader (Large)
This Challenge is derived from <http://code.google.com/codejam/contest/6304486/dashboard#s=p0 GJam 2017 Kickstart Leader>. This ...

6ヶ月 前

解決済み


GJam 2017 Kickstart: Leader (Small)
This Challenge is derived from <http://code.google.com/codejam/contest/6304486/dashboard#s=p0 GJam 2017 Kickstart Leader>. This ...

6ヶ月 前

解決済み


Solve Rubik's Cube - One Rotation
A standard Rubik's Cube is shown in 3-D and also unfolded to identify the specific Tile-face/Vector numbering. The faces are ...

6ヶ月 前

解決済み


Create a magic square matrix for a given odd integer
A magic square of size 'N' is a matrix that satisfies the following criterias: # Dimension - NxN # Matrix should contain ALL...

6ヶ月 前

解決済み


Add consecutive integer numbers
Given consecutive numbers, add the numbers *without using the sum command in MATLAB.*

6ヶ月 前

解決済み


Wrecked Angles?
It's time for some simple geometry fun to start off the new year. You will be given the perimeter P and the area A of a recta...

6ヶ月 前

問題


Wrecked Angles?
It's time for some simple geometry fun to start off the new year. You will be given the perimeter P and the area A of a recta...

6ヶ月 前 | 0

解決済み


Mechanical Advantage of a Gear Train
Calculate the mechanical advantage of a gear train. The mechanical advantage of a gear couple is given by MA = T_o/T_i where ...

6ヶ月 前

解決済み


Word Search Solver
There are n words (minimum of three letters in each word) supplied with a given word search board. The answer will contain n row...

6ヶ月 前

解決済み


Solve The Equation
The coefficients of a system of equations are given in two vectors, x1 and x2. Write a function to solve the equation and return...

6ヶ月 前

解決済み


How many complete pizzas
x is a vector with numbers of pizza slices. A corresponding vector n indicates in how many slices the pizza slices of x were cut...

6ヶ月 前

解決済み


convert between ascii and characters
I have seen multiple problems like this but none of them have a robust test suite associated with them. The first input C is ...

6ヶ月 前

Load more