已解决


What's size of TV?
Many people buy TV. Usually they ask about diagonal. But also important are width and height. Let's assume that all TV have rati...

8 years 前

已解决


Convert decimal to hex as shown in test cases
Convert decimal to hex as shown in test cases.

8 years 前

问题


Convert decimal to hex as shown in test cases
Convert decimal to hex as shown in test cases.

8 years 前 | 2 | 135 个解题者

已解决


Back to Basics - New Data Type in R2016b - convert a char to a string
Convert an char array into a string.

8 years 前

已解决


kmph to mph converter
Convert the speed in miles/hour to km/hour.

8 years 前

已解决


this is a test problem
this is a anniversary test problem

8 years 前

已解决


what can you get for exactly amount of money
You go to store, where each product has price. Prices are in vector s= [ 195 125 260 440 395 290] and you have amount of ...

8 years 前

已解决


Negation the hard way
Write a function that has the following property: f(f(x)) = -x for any numeric array x. Note that there is no restriction on ...

8 years 前

已解决


Find the elements of a matrix according to a defined property.
From A = [5,2,3] and B = [1,2,3,4,5,6,7,8,9,10] produce a vector C where : C(1) is the sum of the first A(1) elements of B, ...

8 years 前

已解决


Select every other element of a matrix
Write a function called outMat = odd_idx( myMat ) that takes a matrix, myMat, as input argument and returns a matrix th...

8 years 前

已解决


I've got the power! (Inspired by Project Euler problem 29)
Consider all integer combinations of a^b and b^a for the integer values 2 ≤ a ≤ 4 and 2 ≤ b ≤ 5: 2^2=4, 2^3=8, 2^4=16,...

8 years 前

已解决


Convert String to Morse Code
Convert a given string to international <http://en.wikipedia.org/wiki/Morse_code Morse Code> * Strings will only have [A-z], ...

8 years 前

已解决


Prime number removal
remove all prime numbers from the input e.g. input = 1 2 3 4 5 6 7 8 9 10 11 12 ...

8 years 前

已解决


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

8 years 前

已解决


Calculating cost
You sold a Product at $x and gain 10% What was the cost of the product?

8 years 前

已解决


Find subtraction
Given a, b. Find a-b

8 years 前

已解决


Find 1's Complement
Find 1's complement of a binary number For Example: x = 10011010 1's complement of x = 01100101

8 years 前

已解决


Matlab Basics II - Operations and Matrix Dimensions
Write a function that takes two inputs, a & b, and outputs the sum and product of the two matrices. The matrices have OPPOSITE d...

8 years 前

已解决


What's for Lunch?
Given b choices of beverages, e choices of entrees, s choices of sides (take two different sides total) and d choices of dessert...

8 years 前

已解决


Finding fourier transform of a given vector
Find the fourier transform of a given input vector for ex a=[1 2 3 4] then y=[ 10.0000 + 0.0000i -2.0000 +...

8 years 前

已解决


Calculate trends in time series
Create a new variable that has trends in input series. If _t+1_ is bigger than or equal to _t_, than trend in _t_ will be 1, oth...

8 years 前

已解决


Max Change in Consecutive Elements
If an array is given as input then find the index of consecutive elements that represent maximum change. Example: Input ...

8 years 前

已解决


Rank of magic square (for beginners)
Compute the rank r of a magic square of order n WITHOUT rank and magic functions.

8 years 前

已解决


Avalaible area: wall construction
You need to build a wall to enclose a certain area. Calculate the available area after you build the wall. Assumptions * ...

8 years 前

已解决


~(*|/)
Return three quarters of n without using addition, subtraction, multiplication or division.

8 years 前

已解决


Find elements of set A those are not in set B
Given two sets of data A and B. Find elements of A those are not in set B. ...

8 years 前

已解决


Polynomial Evaluation
Create a routine that takes a list of coefficients of a polynomial in order of increasing powers of x; together with a value of ...

8 years 前

已解决


Repeat The Components of Matrix
Repeat The components of a matrix so that the size of the output matrix is double to input matrix and components are repeated ne...

8 years 前

已解决


Increase monotonically
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

8 years 前

已解决


persistant sum
There will be 9 tests for this problem. In each test you will be provided with 2 integers n=[n1,n2], where n2 is equal to t...

8 years 前

加载更多