photo

Adam


Last seen: 3年以上 前 2023 年からアクティブ

Followers: 0   Following: 0

統計

Cody

0 問題
80 解答

ランク
N/A
of 302,049

評判
N/A

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

回答採用率
0.00%

獲得投票数
0

ランク
 of 21,520

評判
N/A

平均評価
0.00

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

ダウンロード
0

ALL TIME ダウンロード
0

ランク
6,726
of 178,520

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

スコア
1,004

バッジ数
5

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

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

平均評価

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

平均いいねの数

  • Commenter
  • Promoter
  • Introduction to MATLAB Master
  • Community Group Solver
  • Solver

バッジを表示

Feeds

表示方法

解決済み


Double all elements in the array
Duplicate all elements in the array

3年以上 前

解決済み


Times 5
Try out this test problem first. Given the variable x as your input, multiply it by five and put the result in y. Examples...

3年以上 前

解決済み


Times 10
Try out this test problem first. Given the variable x as your input, multiply it by ten and put the result in y. Examples:...

3年以上 前

解決済み


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

3年以上 前

解決済み


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

3年以上 前

解決済み


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

3年以上 前

解決済み


Multiply pi
Multiply pi with x!

3年以上 前

解決済み


Divide pi
Divide pi by x!

3年以上 前

解決済み


divide by 5

3年以上 前

解決済み


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

3年以上 前

解決済み


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

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年以上 前

解決済み


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Input...

3年以上 前

解決済み


Create incrementing array
Given a and b generate an output matrix as shown in following examples: a=2 b=5 output=[2 20 200 2000 20000] a=4 b...

3年以上 前

解決済み


Max of a Vector
Write a function to return the max of a vector

3年以上 前

解決済み


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

3年以上 前

解決済み


radius of a spherical planet
You just measured its surface area, that is the input.

3年以上 前

解決済み


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

3年以上 前

解決済み


Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

3年以上 前

解決済み


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

3年以上 前

解決済み


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

3年以上 前

解決済み


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

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年以上 前

解決済み


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

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年以上 前

解決済み


Array of Ones
Create a 100 X 100 array of ones.

3年以上 前

解決済み


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

3年以上 前

解決済み


What's Your BMI?
Find the body mass index. For reference, please refer to Wikipedia here: <http://en.wikipedia.org/wiki/Body_mass_index body ...

3年以上 前

解決済み


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

3年以上 前

さらに読み込む