Beantwortet
Resolving the "Homeworks"... is it correct?
Instead of saying yes or no, I suggest you create some tests to see if it does what you want. Some examples: A = eye(2); ...

etwa 11 Jahre vor | 0

Gelöst


Three...is a magic number.
Yes it is... It's a magic number... To help you get rid of that earworm, here's a new Cody problem. You are given a squar...

etwa 11 Jahre vor

Gelöst


Langston's Ant
The <http://en.wikipedia.org/wiki/Langton%27s_ant Langston's Ant> Challenge is to determine the number of Black squares after K ...

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


Metamorphosis
Inspired by problem <http://www.mathworks.com/matlabcentral/cody/problems/866-community-problem-500 866>. Can you make your c...

etwa 11 Jahre vor

Gelöst


Community Problem 500!
In honor of this being the 500th Community problem, see if you can create a function that has a Cody size of 500. It can do any...

etwa 11 Jahre vor

Beantwortet
How can I do Conformal mapping
See <http://www.mathworks.com/help/images/examples/exploring-a-conformal-mapping.html Exploring a Conformal Mapping>.

etwa 11 Jahre vor | 0

Gelöst


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

etwa 11 Jahre vor

Gelöst


click away
Write a function that clicks on a GUI button. *Description*: Some times one wishes to use Matlab to automate some time con...

etwa 11 Jahre vor

Gelöst


Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): As an addit...

etwa 11 Jahre vor

Gelöst


2048 Next Move
Given a board in the game 2048 (see the game here: <http://gabrielecirulli.github.io/2048/ 2048>) and a direction ('up','down','...

etwa 11 Jahre vor

Gelöst


Find best domino orientation
Given a list of pairs, find the orientation they should be placed in a line, such that the sum of the absolute values of the dif...

etwa 11 Jahre vor

Gelöst


Choose the best fitting dominoes
You will be given a cell array of nx2 matrices. Choose one row from each matrix. These are the ordered pairs that will be plac...

etwa 11 Jahre vor

Beantwortet
Can MATLAB Taylor series functions haldle multi variable problems?
For multi-variable problems you need <http://www.mathworks.com/help/symbolic/mupad_ref/mtaylor.html mtaylor>.

etwa 11 Jahre vor | 0

| akzeptiert

Gelöst


Equal to their cube
Tell me three real numbers that are equal to their cubes?

etwa 11 Jahre vor

Gelöst


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

etwa 11 Jahre vor

Gelöst


Sort complex numbers into complex conjugate pairs
Sort complex numbers into complex conjugate pairs. Example: Input x = [3-6i -1-4i -1+4i 3+6i] Sorted output = [-1 - ...

etwa 11 Jahre vor

Gelöst


Infernal Recursion
Consider the recursion relation: x_n = (x_(n-1)*x_(n-2))^k Given x_1, x_2, and k, x_n can be found by this definition. Wr...

etwa 11 Jahre vor

Gelöst


Complex number
For complex number c=a+bi, write code that will add a and b together.

etwa 11 Jahre vor

Gelöst


Find out phase angle of second order system.
Find out phase angle of second order system. In control system, phase angle is given by inverse of cos.

etwa 11 Jahre vor

Gelöst


Wrapping the Tower of Pisa
The famous artist Christo Vladimirov Javacheff, who likes pizza, wants to wrap the well-known Italian tower in paper. It is a ci...

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

etwa 11 Jahre vor

Gelöst


Remove the two elements next to NaN value
The aim is to *remove the two elements next to NaN values* inside a vector. For example: x = [6 10 5 8 9 NaN 23 9 7 3 21 ...

etwa 11 Jahre vor

Gelöst


Negation and new variables
Inspired by Problem 1827 by Andrew Newell. Write a function that has the following property: (x~=y) neg3(x)=x; neg3...

etwa 11 Jahre vor

Gelöst


Self-Description
This is a simplified version of the <http://xkcd.com/688/ *xkcd comic* by the same name>. Simply return the angle (in degrees...

etwa 11 Jahre vor

Gelöst


Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

etwa 11 Jahre vor

Gelöst


Generate a random matrix A of (1,-1)
Input n: is an positive integer which serves as the dimension of the matrix A; Output: A=(Aij),where each entry Aij is either...

etwa 11 Jahre vor

Gelöst


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

etwa 11 Jahre vor

Gelöst


select the primes of a vector
Find the prime numbers in a vector

etwa 11 Jahre vor

Gelöst


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

etwa 11 Jahre vor

Mehr laden