統計
Cody
0 問題
379 解答
ランク
N/A
of 300,853
評判
N/A
コントリビューション
0 質問
0 回答
回答採用率
0.00%
獲得投票数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
解決済み
Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...
2年以上 前
解決済み
Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...
2年以上 前
解決済み
Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...
2年以上 前
解決済み
Replace every 3rd element in a vector with 4
x is a vector of undetermined length You are to replace every 3rd element with the number 4, example: x = [11 23 34 43 2 3...
2年以上 前
解決済み
Determine the length of a string of characters
Determine the length of a string of characters
2年以上 前
解決済み
Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm
2年以上 前
解決済み
Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.
2年以上 前
解決済み
Toeplitz Matrix
For a given square matrix of order n-by-n check whether this is a Toeplitz matrix or not. Return true if it is.
2年以上 前
解決済み
letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...
2年以上 前
解決済み
QWERTY Shift Code Decoder
Decode a string encoded using the QWERTY shift code. QWERTY shift code is where the message was touch typed but with an offse...
2年以上 前
解決済み
Word Distance - Sum
Let's suppose that the distance of a word can be calculated by summing the differences between its letters, having assigned the ...
2年以上 前
解決済み
Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...
2年以上 前
解決済み
Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...
2年以上 前
解決済み
Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product
2年以上 前
解決済み
Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative
2年以上 前
解決済み
multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...
2年以上 前
解決済み
Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...
2年以上 前
解決済み
Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...
2年以上 前
解決済み
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
2年以上 前
解決済み
Area of a Square
Inside a square is a circle with radius r. What is the area of the square?
2年以上 前
解決済み
Cycling — Critical Power
From Training and Racing with a Power Meter by Allen and Coggan: "A number of equations have been presented in the scientific...
2年以上 前
解決済み
Use of regexp
Given a string, containing several sentences, such as: 'I played piano. John played football. Anita went home. Are you safe?...
2年以上 前
解決済み
Reverse within string
If input is a string 'yellow' the output should be 'leywol'. Locate the middle of the string and reverse the first (yel) and sec...
2年以上 前
解決済み
Find state names that end with the letter A
Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...
2年以上 前
解決済み
The Goldbach Conjecture, Part 2
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
2年以上 前






