Gelöst


Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

mehr als 12 Jahre vor

Gelöst


distance to a straight line (2D) given any 2 distinct points on this straight line
Given 2 points P1,P2 on a straight line and a 3rd point, determine the distance of the 3rd point to the straight line. Your answ...

mehr als 12 Jahre vor

Gelöst


construct matrix with identical rows
Input a row vector such as x=1:10. Now we need to construct a matrix with L rows,of which every row vector is a copy of x. E...

mehr als 12 Jahre vor

Gelöst


Compute circular convolution
In signal processing, we usually encounter the circular convolution case. Compute it here using the two input sequences (denoted...

mehr als 12 Jahre vor

Gelöst


Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

mehr als 12 Jahre vor

Gelöst


Do Fast Fourier Transformation
Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

mehr als 12 Jahre vor

Gelöst


More luck than brains
Give a random function that guess and return numbers from 1 to 6 exactly like the test suite .

mehr als 12 Jahre vor

Gelöst


Find the logic
There exists one logic in between input and output. Find it (easy math). Example 1: x=13 then y=339; Example 2: x=26...

mehr als 12 Jahre vor

Gelöst


Orthonormal matrix
You decide whether any given matrix is an orthonormal matrix or not. If each column in a matrix is perpendicular to the other...

mehr als 12 Jahre vor

Gelöst


Flexible Anonymous Function
Given a function handle, return a handle to a function that would accept an arbitrary number of inputs, applies the function to ...

mehr als 12 Jahre vor

Gelöst


Two-output anonymous function?
Return a function handle that when applied to an input, it produces two outputs: the first is the same as the input, and the sec...

mehr als 12 Jahre vor

Gelöst


Handle to an array of functions
Given a cell array of functions that operate on scalars, it is required to return a function handle to process a vector of value...

mehr als 12 Jahre vor

Gelöst


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

mehr als 12 Jahre vor

Gelöst


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

mehr als 12 Jahre vor

Gelöst


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

mehr als 12 Jahre vor

Gelöst


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

mehr als 12 Jahre vor

Gelöst


Negative Infinity
Round the given array a towards negative infinity.

mehr als 12 Jahre vor

Gelöst


Positive Infinity
Round the array a towards positive infinity

mehr als 12 Jahre vor

Gelöst


Let's get back to school, and create multiplication tables
For a given range, create multiplication tables. (start is always < endno) Example start = 17 endno = 19 Then, ...

mehr als 12 Jahre vor

Gelöst


Spot the rectangle (Part 2)
This problem is related to the <http://bit-player.org/2009/the-17x17-challenge 17x17 challenge>. See also <http://www.mathworks....

mehr als 12 Jahre vor

Gelöst


Spot the rectangle
This problem is related to the <http://bit-player.org/2009/the-17x17-challenge 17x17 challenge>. Given a matrix filled with ones...

mehr als 12 Jahre vor

Gelöst


A SUBSREF variant that accepts the 'end'-operator.
Unfortunately, Matlab's |subsref| function does not support the |end| -operator. The |end| -operator is a powerfull method to re...

mehr als 12 Jahre vor

Gelöst


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

mehr als 12 Jahre vor

Gelöst


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

mehr als 12 Jahre vor

Gelöst


3D reconstruction
i want to reconstruct 3D images based on ultrasound 2D images using matlab can i have the codes ?

mehr als 12 Jahre vor

Gelöst


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

mehr als 12 Jahre vor

Gelöst


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

mehr als 12 Jahre vor

Gelöst


Replace pattern 0 1 0 and 1 0 1
Find and replace a pattern in a row of zeroes and ones. * Find 1 0 1 and replace it with 1 1 1 * Find 0 1 0 and replace it w...

mehr als 12 Jahre vor

Gelöst


Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27

mehr als 12 Jahre vor

Gelöst


Finger Counting
Just counting numbers using fingers. First all my ten fingers are closed. I will say 1 and open my one finger. Likewise for 6...

mehr als 12 Jahre vor

Mehr laden