문제를 풀었습니다


Find maximum value of a curve
Two vectors shall be already defined: - Input vector x (e.g. x = 0:1:10) - Result vector y (e.g. y = sin(x)) Create a n...

거의 10년 전

문제를 풀었습니다


Elements with highest local average
Input v is a row vector such that length(v)>3. Consider a sliding window of length 3 that is used to calculate the local average...

거의 10년 전

문제를 풀었습니다


Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

거의 10년 전

문제를 풀었습니다


Reverse the input
Given an input (n), produce an output in the reverse order with out using string variables or string function. Example x ...

거의 10년 전

문제를 풀었습니다


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

거의 10년 전

문제를 풀었습니다


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

거의 10년 전

문제를 풀었습니다


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

거의 10년 전

문제를 풀었습니다


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

거의 10년 전

문제를 풀었습니다


counting groups!
This problem is about counting groups. Example If you have x: x = [0.8 0.8 0.8 0.3 0.3 0.4 0.5 0.6 0.6 0.9] then a...

대략 10년 전

문제를 풀었습니다


Sum of the pixel values for the blue color
Calculate the sum of the pixel values for the blue color, with a picture as an input. *NOTE:* The picture will be provided as...

대략 10년 전

문제를 풀었습니다


Speed of light:Experiment
in 1849, Fizeau set up an experiment to measure the speed of light. The discription of this experiment can be found on wikipedi...

대략 10년 전

문제를 풀었습니다


Hard limit function
Classify x data as if x>=0 then y=1 if x<0 then y=0 Example x = [ -2 -1 0 1 2] y = [ 0 0 1 1 1]

대략 10년 전

문제를 풀었습니다


Positive Infinity
Round the array a towards positive infinity

대략 10년 전

문제를 풀었습니다


Negative Infinity
Round the given array a towards negative infinity.

대략 10년 전

문제를 풀었습니다


Concatenate a successive power matrix in a column matrix
Generate F = [M1 M^2 ... M^p] with M a matrix, without using for.

대략 10년 전

문제를 풀었습니다


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

대략 10년 전

문제를 풀었습니다


Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

대략 10년 전

문제를 풀었습니다


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

대략 10년 전

문제를 풀었습니다


Distances in a circle
A circle (360°) is given and a row of 6 monotonic increasing numbers with the which difference from last to first value is les...

대략 10년 전

문제를 풀었습니다


Largest territory
Determine whose territory is largest. If there are two more large territory, determine a smaller number. For example, X ...

대략 10년 전

문제를 풀었습니다


Multiplication
Multiply two numbers in a different manner. The numbers are given to you as vectors x and y. Example x = [ 1 2 0 1 ] ...

대략 10년 전

문제를 풀었습니다


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

대략 10년 전

문제를 풀었습니다


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

대략 10년 전

문제를 풀었습니다


2倍してみよう - ここからスタート!
初めにこの問題を試してみよう。 入力としてxを与え、それを2倍して結果をyに代入せよ。 Examples: Input x = 2 Output y is 4 Input x = 17 Output y is 34 ...

대략 10년 전

문제를 풀었습니다


interesting center of magic matrix
output the centre of magic matrix of n input=7; output=25

대략 10년 전

문제를 풀었습니다


reverse string
input='rama' output='amar'

대략 10년 전

문제를 풀었습니다


ascii value
let input='a' output=97

대략 10년 전

문제를 풀었습니다


execute the declaration in strings and return value
execute the commands in strings and return value input='a=23' output=23

대략 10년 전

문제를 풀었습니다


Alternately upper-lower case
Alternately upper-lower case Let s='achyuta' output='AcHyUtA'

대략 10년 전

문제를 풀었습니다


most frequent character
Obtain most frequent character Let s='balaram'; output='a';

대략 10년 전

더 보기