Gelöst


Acidity of vinegar and salts
Assuming: pH (potentia hydrogenii) = - log10(H+ ionic concentration in mol/Liter). For a buffer solution containing acetic acid ...

mehr als 13 Jahre vor

Gelöst


You LOVES Matlab 41%
Given two strings, determine the percentage that one loves the other in the following way: YOU LOVES MATLAB there is 1 '...

mehr als 13 Jahre vor

Gelöst


Fastest shortest-path-finder in the west
Given connectivity information about a graph, your job is to find the <http://en.wikipedia.org/wiki/Shortest_path_problem *short...

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

Problem


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

mehr als 13 Jahre vor | 0 | 6 Lösungsvorschläge

Problem


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

mehr als 13 Jahre vor | 0 | 7 Lösungsvorschläge

Gelöst


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

mehr als 13 Jahre vor

Gelöst


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]

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

Problem


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

mehr als 13 Jahre vor | 4 | 76 Lösungsvorschläge

Gelöst


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

mehr als 13 Jahre vor

Problem


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

mehr als 13 Jahre vor | 0 | 3 Lösungsvorschläge

Gelöst


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

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

Problem


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

fast 14 Jahre vor | 1 | 73 Lösungsvorschläge

Problem


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

fast 14 Jahre vor | 2 | 62 Lösungsvorschläge

Problem


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

fast 14 Jahre vor | 4 | 48 Lösungsvorschläge

Gelöst


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

fast 14 Jahre vor

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

fast 14 Jahre vor | 0

Problem


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

fast 14 Jahre vor | 2 | 4 Lösungsvorschläge

Problem


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

fast 14 Jahre vor | 5 | 40 Lösungsvorschläge

Gelöst


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

fast 14 Jahre vor

Gelöst


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

fast 14 Jahre vor

Mehr laden