Statistik
0 Probleme
704 Lösungen
RANG
N/A
of 300.759
REPUTATION
N/A
BEITRÄGE
0 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
0
RANG
of 21.081
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Discussions
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Gelöst
Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...
etwa 10 Jahre vor
Gelöst
Matlab Basics - Logical Tests I
Write a script to test whether a year number is for a leap year or not. eg. x = 1884 output = 1 eg. x = 3 output = 0
etwa 10 Jahre vor
Gelöst
Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]
etwa 10 Jahre vor
Gelöst
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
etwa 10 Jahre vor
Gelöst
calculate linear convolution two vectors
for e.g in: a = [1 2 3] b = [4 5 6] out: y = [4 13 28 27 18]
etwa 10 Jahre vor
Gelöst
Are you in XY plane?
Take a point P as an input position Vector (x,y,z). If you are in XY plane, return 1 as an output otherwise return 0. Example...
etwa 10 Jahre vor
Gelöst
Max index of 3D array
Given a three dimensional array M(m,n,p) write a code that finds the three coordinates x,y,z of the Maximum value. Example ...
etwa 10 Jahre vor
Gelöst
Hard limit function
Classify x data as if x>=0 then y=1 if x<0 then y=0 Example x = [ -2 -1 0 1 2] y = [ 0 0 1 1 1]
etwa 10 Jahre vor
Gelöst
Sum the 'edge' values of a matrix
Sum the 'edge' values of an input matrix (the values along the perimeter). Example [1 2 3 4 5 6 7 8 9] Output = ...
etwa 10 Jahre vor
Gelöst
Frobenius Norm
Write your own version of Frobenius Norm without using the 'norm' function.
etwa 10 Jahre vor
Gelöst
Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm
etwa 10 Jahre vor
Gelöst
Matlab Basics II - Minimum
Write a function that returns the minimum of each ROW of a matrix x example: x = [1 2 3; 4 5 6]; output [1;4];
etwa 10 Jahre vor
Gelöst
multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...
etwa 10 Jahre vor
Gelöst
Symmetric matrix
You must create a n-by-n *symmetric* matrix such that A(row,col) = row/col for col >= row. Example if n =3 : output is : ...
etwa 10 Jahre vor
Gelöst
Project Euler: Problem 4, Palindromic numbers
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 ...
etwa 10 Jahre vor
Gelöst
Cody Computer Part 4 : Are you a morning Cody player Addicted ?
This is a stupid Cody challenge. You just have to *click "Submit" between 7 and 9 AM.* ... Greenwich Mean Time (GMT). To see ...
etwa 10 Jahre vor
Gelöst
Moving average (variable kernel length)
Find the moving average in a vector. The kernel length is a variable. For example x = 1:10 kernel_length = 2 would r...
etwa 10 Jahre vor
Gelöst
Palindrome Check
Check whether the entire matrix is palindrome or not. Example matrix = [7 8 7] matrix_reverse = [7 8 7] So the mat...
etwa 10 Jahre vor
Gelöst
Next Lower Power of B
Given a number _n_ and a base _B_ greater than 1, return the lowest integer power of _B_ that is less than or equal to _n_. E...
etwa 10 Jahre vor
Gelöst
Text processing - Help Johnny write a letter home from camp
Johnny overuses the word 'great'. Write a script that will help him with this and future letters. If a sentence contains more ...
etwa 10 Jahre vor
Gelöst
Upper triangular matrix
Create a function to retrieve the upper triangular matrix of a matrix (without using tril). The matrix will always be square. ...
etwa 10 Jahre vor
Gelöst
Integer or Float?
Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...
etwa 10 Jahre vor
Gelöst
Signed Magnitude
For a given input vector, return the value that is furthest from zero. For example, if x = [1 2 -12] return -12.
etwa 10 Jahre vor
Gelöst
String substitution, sub problem to cryptoMath
This is a sub problem related to this problem: <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition>...
etwa 10 Jahre vor
Gelöst
Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.
etwa 10 Jahre vor
Gelöst
edge detection
write a function that gives the indexes of rising or falling edge x is a vector (assume it contains always at least one eleme...
etwa 10 Jahre vor
Gelöst
Tiling a matrix
Given a matrix and a number of columns, replicate matrix in a single row
etwa 10 Jahre vor









