David Hardaker
Followers: 0 Following: 0
Estadística
0 Problemas
106 Soluciones
CLASIFICACIÓN
N/A
of 300.851
REPUTACIÓN
N/A
CONTRIBUCIONES
0 Preguntas
0 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
0
CLASIFICACIÓN
of 21.094
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
3.670
of 171.294
CONTRIBUCIONES
0 Problemas
106 Soluciones
PUNTUACIÓN
1.080
NÚMERO DE INSIGNIAS
1
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Resuelto
All your base are belong to us
Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...
casi 9 años hace
Resuelto
Remove NaN ?
input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the enti...
casi 9 años hace
Resuelto
Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...
casi 9 años hace
Resuelto
Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...
casi 9 años hace
Resuelto
Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...
casi 9 años hace
Resuelto
Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];
casi 9 años hace
Resuelto
Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.
casi 9 años hace
Resuelto
Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...
casi 9 años hace
Resuelto
Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product
casi 9 años hace
Resuelto
Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....
casi 9 años hace
Resuelto
Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>
casi 9 años hace
Resuelto
All capital?
Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0
casi 9 años hace
Resuelto
First N Perfect Squares
*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];
casi 9 años hace
Resuelto
Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...
casi 9 años hace
Resuelto
Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5
casi 9 años hace
Resuelto
Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...
casi 9 años hace
Resuelto
Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...
casi 9 años hace
Resuelto
Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....
casi 9 años hace
Resuelto
Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...
casi 9 años hace
Resuelto
Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...
casi 9 años hace
Resuelto
Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...
casi 9 años hace
Resuelto
Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...
casi 9 años hace
Resuelto
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
casi 9 años hace
Resuelto
Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...
casi 9 años hace
Resuelto
Pattern matching
Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...
casi 9 años hace
Resuelto
surface of a spherical planet
you just discovered its circumference, that is the input.
casi 9 años hace
Resuelto
Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...
casi 9 años hace
Resuelto
Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
casi 9 años hace
Resuelto
Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...
casi 9 años hace
Resuelto
Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...
casi 9 años hace
