photo

Joy Life


2016 年からアクティブ

Followers: 0   Following: 0

統計

Cody

0 問題
77 解答

ランク
N/A
of 302,110

評判
N/A

コントリビューション
0 質問
0 回答

回答採用率
0.00%

獲得投票数
0

ランク
 of 21,551

評判
N/A

平均評価
0.00

コントリビューション
0 ファイル

ダウンロード
0

ALL TIME ダウンロード
0

ランク
11,620
of 179,130

コントリビューション
0 問題
77 解答

スコア
590

バッジ数
4

コントリビューション
0 投稿

コントリビューション
0 パブリック チャネル

平均評価

コントリビューション
0 ハイライト

平均いいねの数

  • Promoter
  • Leader
  • Commenter
  • Solver

バッジを表示

Feeds

表示方法

解決済み


Determine whether the number is multiple of 3 or not
Let a=6 and as 6 = 2*3 which means 6 is multiple of 3; return true if a is multiple of 3,otherwise false.

9年以上 前

解決済み


Geometric Series
Given x and n, give the sum of x ^ 1 to x ^ n. You should not have to use a loop for this.

9年以上 前

解決済み


Duration of a trip in minutes
Input is a string which includes the duration of a trip. Convert the duration to minutes. For example if the duration of a t...

9年以上 前

解決済み


Path of least resistance
Find the length of the shortest path through the matrix from the top left to bottom right corner. You may move right, down, or d...

9年以上 前

解決済み


Words Count: A Cell Array Approach
Given an input character vector consisting of words, punctuation marks, white spaces, and possibly newline characters (\n), arra...

10年弱 前

解決済み


Words Count: A String Array Approach
Given an input character vector consisting of words, punctuation marks, white spaces, and possibly newline characters (\n), arra...

10年弱 前

解決済み


Change on Spiral Matrix
n>=3, generate a matrix of nth such that n^2 is the max number, and max number must be in [1,1] or [end, end]. One example will ...

10年弱 前

解決済み


Change input vector
If a input vector is [3, 2, 6, 1, 6], the output vector is [3, 2, 6, 1, 6] + [1, 2, 3, 4, 5] = [4, 4, 9, 5, 11].

10年弱 前

解決済み


determine if
determine if the elements of a matrix is a nan and return true

10年弱 前

解決済み


find the 'M'
for an input x, return 1 at the location of the letter 'M'

10年弱 前

解決済み


cheating technique1
in these cody problems, there is a way to cheat. find out how people cheat.

10年弱 前

解決済み


cheating technique2
there are some ways to get hints just by looking at the test suits to cheat. try.

10年弱 前

解決済み


find a number (cheat)
find a number input^5 = input the out put should be the number. try cheating

10年弱 前

解決済み


0, 2, 0, -2, 0, 2, 0, -2, ...
Generate the first n terms of a periodic sequence defined as f(x) = 0, 2, 0, -2, 0, 2, 0, -2, ..., for x = 1, 2, 3, 4, 5, 6...

10年弱 前

解決済み


merge two matrices together in one matrix
a= [1 2 3 4]; b=[5 6 7 8]; take the first column from matrix (a)and (b)then insert them in matrix (c) respectively, and so on;...

10年弱 前

解決済み


Use a timetable to analyze a train timetable (Part 5)
You are analyzing a train timetable (you have some time to kill since you just missed your train!) How many trains depart each d...

10年弱 前

解決済み


Use a timetable to analyze a train timetable (Part 4)
You are analyzing a train timetable (you have some time to kill since you just missed your train!) What is the average daily tri...

10年弱 前

解決済み


create a square matrix
create a [n*n] matrix. example: mat(4)= [ 1 4 9 16 4 4 9 16 9 9 ...

10年弱 前

解決済み


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

10年弱 前

解決済み


Replicate and Tile an Array
Replicate and tile an array. Example A = [1 2 3; 4 5 6; 7 8 9] B = Epli_and_Tile(A,1,2) B = [ 1 2 3 1...

10年弱 前

解決済み


Where is the number that you want to find?
For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

10年弱 前

解決済み


Find matrix of indices for multidimensional matrix.
Given some multidimensional matrix A. Get a matrix of the same size as A where all elements are replaced by their index along th...

10年弱 前

解決済み


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

10年弱 前

解決済み


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

10年弱 前

解決済み


Is my wife right?
Regardless of input, output the string 'yes'.

10年弱 前

解決済み


Create cotangent function out of sine.
Please, don't use cos, tan, cot matlab functions.

10年弱 前

解決済み


Distance between Berlin and New York in km
Use Pythagoras to calculate the distance between two locations in km (based on their respective longitudes and latitudes). Fo...

10年弱 前

解決済み


Project Euler: Problem 4, Palindromic numbers
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 ...

10年弱 前

解決済み


String substitution, sub problem to cryptoMath
This is a sub problem related to this problem: <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition>...

10年弱 前

解決済み


Make a simplified barcode
Given an integer to encode, make a barcode using the following encoding scheme: * The bar code is made from the binary versio...

10年弱 前

さらに読み込む