Resuelto


Is this group simply connected?
Given connectivity information about a graph, your job is to figure out if the graph is fully connected. You are given a list of...

más de 13 años hace

Resuelto


Gambler?
Given a handle to a wealth function, confirm within 100 milliseconds 'Millionaire', 'Likely', or 'Gambler', if wealth() returns ...

más de 13 años hace

Resuelto


Get the elements of diagonal and antidiagonal for any m-by-n matrix
In the problem <http://www.mathworks.com/matlabcentral/cody/problems/858-permute-diagonal-and-antidiagonal Problem 858. Permute ...

más de 13 años hace

Resuelto


compare strings
Given 2 strings and 3 actions (Insert,delete,replace) on characters. Find the difference between two strings. Example: str...

más de 13 años hace

Resuelto


Give a matrix that matches itself when rotated
Given n and s, return a n-by-n matrix a of integers such that sum(sum(a == rot90(a))) is equal to exactly s. The integer...

más de 13 años hace

Resuelto


Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...

más de 13 años hace

Resuelto


Composite Trapezoidal Rule for Numeric Integration
Use the trapezoidal rule to numerically integrate a function, _f(x)_, passed as the first argument, between upper and lower limi...

más de 13 años hace

Resuelto


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

más de 13 años hace

Problema


Knots Contest: Minimum Knots (TestSuite)
This Challenge is to Minimize the number of Knots for the <http://www.mathworks.com/matlabcentral/contest/contests/38/rules Knot...

más de 13 años hace | 0 | 5 solvers

Problema


Knots Contest: Score (TestSuite)
This Challenge is to Score well on the <http://www.mathworks.com/matlabcentral/contest/contests/38/rules Knots contest> test sui...

más de 13 años hace | 0 | 6 solvers

Resuelto


Solving a quadratic equation
Given a, b ​​and c, Return the solution of the following quadratic equation: a*x^2 + b*x + c = 0.

más de 13 años hace

Resuelto


Divisors of an integer
Given a number N, return a vector V of all integers that divide N. For example, N = 10 Then V=[1 2 5 10]

más de 13 años hace

Resuelto


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

más de 13 años hace

Problema


Usage of varargout
This Challenge is to demonstrate usage of varargout. Output a cell array using varargout of magic squares of size 1 thru n. ...

más de 13 años hace | 4 | 76 solvers

Resuelto


Array GCD
* Find Greatest Common Divisor in a given array * Function Template: function ans = arraygcd(a) % a=[45 15 200 ...

más de 13 años hace

Problema


Knot Count - Speed
<<http://www.mathworks.com/matlabcentral/contest_static/knots/images/blue_knot.jpg>> The Matlab Semi-Annual Contest Grand Fin...

más de 13 años hace | 0 | 2 solvers

Resuelto


Knot Count - Speed
<<http://www.mathworks.com/matlabcentral/contest_static/knots/images/blue_knot.jpg>> The Matlab Semi-Annual Contest Grand Fin...

más de 13 años hace

Resuelto


Determine if input is a perfect number
A <http://en.wikipedia.org/wiki/Perfect_number/ perfect number> occurs whent the sum of all divisors of a positive integer, exce...

más de 13 años hace

Problema


R2012b atan in Degrees
Return in degrees the atan result of inputs for all four quadrants. *Examples:* [x, y] Degrees 1 0 0 1 1 ...

más de 13 años hace | 1 | 73 solvers

Problema


Global usage
This Challenge is to utilize Global variables. Global variables are risky as the subroutine may inadvertently and unwantingly...

más de 13 años hace | 2 | 62 solvers

Problema


Persistent Usage
This Challenge is to implement the Matlab Persistent variable capability. Given a sequence of Calls to a function return the ...

más de 13 años hace | 4 | 47 solvers

Resuelto


Determine if input is a Narcissistic number
<http://en.wikipedia.org/wiki/Narcissistic_number Narcissistic number> is a number that is the sum of its own digits each raised...

más de 13 años hace

Respondida
PLotting noisy signal matlab
If you want a specific set of points a third vector can be created, v=[1 4 9 12]; The plot(t(v),x(v)) will only use the subset ...

más de 13 años hace | 0

Problema


Image Processing 004: Zernike Coefficients
*Fit Zernike Terms to a wavefront.* The class notes of <http://www.visualopticslab.com/OPTI535/Lectures/Class06_08.pdf Schwie...

más de 13 años hace | 2 | 3 solvers

Problema


McCabe Complexity
The Challenge is to return the McCabe complexity for various functions. One way to determine the McCabe Complexity is to use ...

más de 13 años hace | 5 | 40 solvers

Resuelto


Image Processing 004: Zernike Coefficients
*Fit Zernike Terms to a wavefront.* The class notes of <http://www.visualopticslab.com/OPTI535/Lectures/Class06_08.pdf Schwie...

más de 13 años hace

Resuelto


Project Euler: Problem 16, Sums of Digits of Powers of Two
2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26. What is the sum of the digits of the number 2^N? Thanks ...

más de 13 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 ...

más de 13 años hace

Resuelto


letter yes yes & letter no no
Split a string into two strings, first string has all alphabetic letters, next string has all the rest, keep the order please, o...

más de 13 años hace

Resuelto


does it touch ?
given a sentence, tell how much it touches. input : string output : how much it touches touching : a bilabial phoneme d...

más de 13 años hace

Cargar más