統計
Cody
0 問題
79 解答
ランク
N/A
of 301,134
評判
N/A
コントリビューション
0 質問
0 回答
回答採用率
0.00%
獲得投票数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
解決済み
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
3ヶ月 前
解決済み
Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...
3ヶ月 前
解決済み
Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...
3ヶ月 前
解決済み
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
3ヶ月 前
解決済み
Calculate the average value of the elements in the array
Calculate the average value of the elements in the array
3ヶ月 前
解決済み
Count ones
Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...
3ヶ月 前
解決済み
Calculate Reynolds Number
Write a MATLAB function that calculates the Reynolds number for flow over a flat plate: ρ = fluid density (kg/m³) V = veloc...
3ヶ月 前
解決済み
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
3ヶ月 前
解決済み
Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...
3ヶ月 前
解決済み
The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...
3ヶ月 前
解決済み
Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33
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ヶ月 前
解決済み
the average value of the elements
Calculate the average value of the elements in the array
3ヶ月 前
解決済み
Area of a Square
Inside a square is a circle with radius r. What is the area of the square?
3ヶ月 前
解決済み
Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.
3ヶ月 前
解決済み
Polynomial Multiplication
Multiply two polynomial equation.Given polynomial coefficients a and b.
3ヶ月 前
解決済み
Evaluate Polynomial
Given a polynomial equation coefficients in a vector p, you have to return its value at x. Example: For inputs p and x ...
3ヶ月 前
解決済み
Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.
3ヶ月 前
解決済み
Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...
3ヶ月 前



