Resuelto


Power Numbers
Find the n-th power of m.

casi 6 años hace

Resuelto


How many points lie within the rectangle and how many aren't?
Suppose, you are given the coordinates of bottom-left and top-right corners of a rectangle as *input-1, R* i.e *R=[Bottom-left c...

casi 6 años hace

Resuelto


Sum 1 to 100 even number
Write a Matlab program to add all the even numbers from 0 to 100 |

casi 6 años hace

Resuelto


Sort even numbers from 1 to 100
Sort even numbers from 1 to 100 for ex: x=1:100

casi 6 años hace

Resuelto


Specific toolboxes
Given a string that is the name of a MATLAB toolbox, return true if it is available on the Cody solvers evaluation system, false...

casi 6 años hace

Resuelto


Equidistant numbers containing certain value in an interval
Given a lower and upper bound of an interval, distance between numbers, and one particular number from that interval, create an ...

casi 6 años hace

Resuelto


Possible Outcomes of American Roulette
The payout for American roulette can be calculated by: payout = (38/n)-1 where n is the number of squares the bet covers. ...

casi 6 años hace

Resuelto


Repeat elements of a vector
Repeat each elements of a given vector according to their values. * x=[1,2,1,3] * y=[1,2,2,1,3,3,3]

casi 6 años hace

Resuelto


generate the matrix
given 3 inputs e.g [2,3,4] -- generate a matrix like below -- [2 2 0 0 0 0 0 0 0; 2 2 0 0 0 0 0 0 0; 0 0 3 3 3 0 0 0 0; 0 0...

casi 6 años hace

Resuelto


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for.

casi 6 años hace

Resuelto


Step number
Step number

casi 6 años hace

Resuelto


How tall are you?
measures your height forexample= 175cm 180cm 169cm

casi 6 años hace

Resuelto


Find the next binary palindrome number
We all know, a *palindrome* is nothing but a number or character which remains the same after the forward or backward alteration...

casi 6 años hace

Resuelto


Determine given vector is even or odd
Find the numbers of the input vector is odd or even then replace even with 1 and odd with 0 Example x = [ 3 3 4 6 1] ...

casi 6 años hace

Resuelto


Find 0 in array
Given array find where there 0 is.

casi 6 años hace

Resuelto


Create a vector of n alternating ones and zeros
Given n, your output should be a vector y of numbers such that the first number is 1 and the numbers following it alternate betw...

casi 6 años hace

Resuelto


Get the area of ​​the square.
Four circles are inscribed in the square ABCD. The perimeter of each circle is *aπ*. <<http://imgfz.com/i/UzgCJut.png>> Gi...

casi 6 años hace

Resuelto


Funny problems
Generate the following vector: if n=1 then q=1; elseif n=2 then q=[2 2 1]; elseif n=3 then q=[3 3 3 2 2 1]; ... end

casi 6 años hace

Resuelto


Four digit number ABCD reversal
write a MATLAB function to find the four-digit number ABCD when multiplied by 4 returns DCBA. The function takes an input x=4.

casi 6 años hace

Resuelto


Ordered pairs of integers (I, J).
Write a MATLAB function that calculates the number of ordered pairs of integers (I, J) that can be formed satisfying the conditi...

casi 6 años hace

Resuelto


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

casi 6 años hace

Resuelto


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

casi 6 años hace

Resuelto


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

casi 6 años hace

Resuelto


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

casi 6 años hace

Resuelto


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

casi 6 años hace

Resuelto


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

casi 6 años hace

Resuelto


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

casi 6 años hace

Resuelto


Find the area of ​​the square
There are *n²* circles inscribed in the square ABCD. The perimeter of each circle is *aπ* <<http://imgfz.com/i/3wzCeAT.png>> ...

casi 6 años hace

Resuelto


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

casi 6 años hace

Resuelto


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

casi 6 años hace

Cargar más