解決済み


Can I make a right triangle ?
Input(a) - is vector with any amount of values. Interpreted as legths of sides. Output(b): * Is true if there are any 3 va...

約3年 前

解決済み


How many digits are there?
Input(s) - any string Output(n) - number of digits within string s

約3年 前

解決済み


Convert a vector into numbers
Suppose a vector x = [ 1 2 4 7] is given. You have to convert this vector into string number y = '1247'. Examples x = [ 1...

約3年 前

解決済み


Add one raw in given matrix as shown in example
*Add one raw in given matrix as shown in example* A=[1 0;0 1]; X=[3 5]; Answer must be:[1 0; 0 1;3 5]

約3年 前

解決済み


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

約3年 前

解決済み


Find out of matrix transpose Complex conjugate
Find out of matrix transpose Complex conjugate A=[2 3+i;1 4+i] Then answer must be [2.0000 1.0000; ...

約3年 前

解決済み


Create Vector containing following elements
Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];

約3年 前

解決済み


Sum of integers numbers
Sum of the numbers from 1 to 100

約3年 前

解決済み


Find out sum of prime number till given number
Find out sum of prime number till given number Example, if number is 10, then answer must be 17.

約3年 前

解決済み


Find out value of polynomial at different value.
Find out value of polynomial at different value. Example p(s) = s + 8 For s=0, value is 8.

約3年 前

解決済み


Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.

約3年 前

解決済み


Solve Linear equations
Solve Linear equations Example: x+y=2 and x+2y=3, then x and y equal to 1.

約3年 前

解決済み


My Problem, Find the square of the horizontal concatenation of the third and fifth elements of a vector.
given the 1x5 vector x, y must be the square of the horizontal concatenation of the third and fifth elements. So, if x = [1 1 1 ...

約3年 前

解決済み


Help the Patriots get to the Super Bowl
Given a football by the Patriots, return it to them with 2 psi less air in it. (The original psi is passed as a number to the...

約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年 前

解決済み


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

約3年 前

解決済み


Reverse Calculator
Use this reverse calculator and give correct output Its simple, In my Reverse calculator if you press 0 it will be considered...

約3年 前

解決済み


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

約3年 前

解決済み


Implement a counter
Write a function that returns a function that counts the number of times it is invoked. Example: >> h = counter; >> h() ...

約3年 前

解決済み


The Dark Side of the Die
It is well-known that opposite sides of a classic hexahedral die add to 7. Given a vector of dice rolls, calculate the sum of th...

約3年 前

解決済み


Volume of a sphere given its surface area
You just measured its surface area, that is the input.

約3年 前

解決済み


Find the index of nth maximum of a row vector of real numbers
Given a vector of real numbers x, find the index idx of _n_ th maximum value. If nth maximum occurs more than once, return the i...

約3年 前

解決済み


Remove the middle element from a vector
Remove the middle element of a vector? *Example:* [1,2,3] should return 2 [1,2,3,4] should return 2 [] should return...

約3年 前

解決済み


Check if integer
Given a vector of elements, determine if each element is an integer and return true or false accordingly.

約3年 前

解決済み


Power of n ?
Determine if _x_ (positive integer) is a power of _n_, return true or false accordingly.

約3年 前

解決済み


calculate RMS voltage
given peak to peak voltage, calculate rms voltage

約3年 前

解決済み


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

約3年 前

解決済み


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

約3年 前

解決済み


Change Vector Value
Change the element of the vector with respect to the element of the direction vector If the element of the direction vecto...

約3年 前

解決済み


Determine the Anti-diagonal of a Magic Square
Determine the anti-diagonal (crossing from top right to lower left) of a magic square of size n. Examples If n = 3 y =...

約3年 前

もっと読み込む