Noah Sung
Followers: 0 Following: 0
統計
Cody
0 問題
167 解答
ランク
N/A
of 289,759
評判
N/A
コントリビューション
0 質問
0 回答
回答採用率
0.00%
獲得投票数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
解決済み
Test Problem; Create a 5x5 array containing all ones
This is a test for learning the process of creating a Cody problem. The goal of this test problem will be to create an array,...
3年以上 前
解決済み
Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...
3年以上 前
解決済み
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
3年以上 前
解決済み
Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...
3年以上 前
解決済み
Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...
3年以上 前
解決済み
Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.
3年以上 前
解決済み
Guess
A random number between 1 and 10 is created for the variable y. Guess what its value is.
3年以上 前
解決済み
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...
3年以上 前
解決済み
Number of problems
No, you don't read it wrong: this assignment is to return the number of this problem (and not the problem of this number).
3年以上 前
解決済み
Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.
3年以上 前
解決済み
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
3年以上 前
解決済み
Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.
3年以上 前
解決済み
Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...
3年以上 前
解決済み
Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]
3年以上 前
解決済み
Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...
3年以上 前
解決済み
Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...
3年以上 前
解決済み
Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.
3年以上 前
解決済み
Area of a Square
Inside a square is a circle with radius r. What is the area of the square?
3年以上 前
解決済み
Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3
3年以上 前
解決済み
Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.
3年以上 前
解決済み
Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];
3年以上 前
解決済み
find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;
3年以上 前
解決済み
Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...
3年以上 前