解決済み


Find the maximum two numbers of every column of a matrix
Find the maximum two numbers of every column of a matrix. Example: If we input a matrix A = [ 1 2 4 6 0 3 ...

約8年 前

解決済み


Output a vector which is table of 9
Output a vector which is table of 9

約8年 前

問題


Calculate numerical integration.
x=0:0.01:1 y=x.^2 Calculate area from x=0 to x=1, and y=0 to y=x^2 using numerical integration. (hint: trapz)

約8年 前 | 6 | 55 個のソルバー

解決済み


Factorial !
Calculate the factorial of a non-negative integer without using the built in function *factorial*

約8年 前

解決済み


Array GCD
* Find Greatest Common Divisor in a given array * Function Template: function ans = arraygcd(a) % a=[45 15 200 ...

約8年 前

解決済み


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

約8年 前

解決済み


ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
MATLABでは,角括弧の中に要素を入れることで、ベクトルを作成できる。 x = [1 2 3 4] また次のようにも書ける(コンマはオプション)。 x = [1, 2, 3, 4] 問題:次のベクトルを出力する関数を作成せよ。...

約8年 前

解決済み


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

約8年 前

解決済み


y equals x divided by 2
function y = x/2

約8年 前

解決済み


Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input

約8年 前

送信済み


Physical oceanography: wave equation
Simulate simple wave

約8年 前 | ダウンロード 4 件 |

Thumbnail

問題


Solve equation numerically
y'=y In order to solve equation using computer, numerical analysis are needed. 1st order Euler's method is one of the metho...

約8年 前 | 3 | 51 個のソルバー

解決済み


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

約8年 前

問題


Analyze observation data
There are results of observation. A B C -------------------------- t=1 2.2 2.6 2.4 t=2 2.4 ...

約8年 前 | 7 | 66 個のソルバー

解決済み


"Find out the best cricket"
This is how I originally read Problem 2013, so let's just go with it. Give me the first and last name of the best cricket, rega...

約8年 前

解決済み


Find the square of the sum of the digits of a number
If a number (n) is provided as an input, find the square of the sum of the digits of the number. Example If n = 21, the an...

約8年 前

解決済み


Find the index of n in magic(n)
If input n=5, then magic(n) is 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22...

約8年 前

解決済み


Find Factrorial without using built-in function
A number is given, you have to find the factorial of the number without using built-in factroial function. You may use loops....

約8年 前

解決済み


Calculate square and cube of number
Calculate square and cube of number x

約8年 前

解決済み


Vector Magnitude Calculator
'a' is a vector that starts at the origin and ends at (x, y). Find ||a||. Hint: It is as simple as "ABC".

約8年 前

解決済み


Polynomial Multiplication
Multiply two polynomial equation.Given polynomial coefficients a and b.

約8年 前

解決済み


Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle

約8年 前

解決済み


Vector LCM
* Find Least Common Multiple of a given vector. * Need general solution as the test suite will be expanded. * Function Templa...

約8年 前

解決済み


Infernal Recursion
Consider the recursion relation: x_n = (x_(n-1)*x_(n-2))^k Given x_1, x_2, and k, x_n can be found by this definition. Wr...

約8年 前

解決済み


Phonebook-like problem
strcmpi('Yes', 'No')

約8年 前

解決済み


Max index of 3D array
Given a three dimensional array M(m,n,p) write a code that finds the three coordinates x,y,z of the Maximum value. Example ...

約8年 前

解決済み


Basics: Divide integers to get integer outputs in all cases
Divide integers a and b in such a way that output y is always an integer (in ceil manner)

約8年 前

解決済み


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

約8年 前

解決済み


Put Two 1D matrices into one 1D matrix
Example: If input a = [1 2 3 4 5]; input b = [10 9 8 7 6]; then output will be, y_correct = [1 10 2 9 3 8 4 7 5...

約8年 前

解決済み


Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

約8年 前

さらに読み込む