Estadística
28 Preguntas
1.286 Respuestas
12 Archivos
Cody5 Problemas
607 Soluciones
CLASIFICACIÓN
60
of 301.908
REPUTACIÓN
3.252
CONTRIBUCIONES
28 Preguntas
1.286 Respuestas
ACEPTACIÓN DE RESPUESTAS
100.0%
VOTOS RECIBIDOS
299
CLASIFICACIÓN
3.938 of 21.456
REPUTACIÓN
378
EVALUACIÓN MEDIA
3.00
CONTRIBUCIONES
12 Archivos
DESCARGAS
12
ALL TIME DESCARGAS
3689
CLASIFICACIÓN
204
of 177.301
CONTRIBUCIONES
5 Problemas
607 Soluciones
PUNTUACIÓN
7.324
NÚMERO DE INSIGNIAS
22
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Resuelto
Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...
3 días hace
Problema
Play the Disk
To access the memory address of program on disk, MS-DOS uses sectors,cylinders and heads, on disk in 3D coordinates. Given the h...
4 días hace | 0 | 6 solvers
Resuelto
Accessing values in a cell
You are given c, which is a 1xN cell array, and a and b, which are each two 1xM vectors. Your job is to give the bth value in t...
4 días hace
Resuelto
String Logic 9
Examples: 'CAT' --> 'C' 'DOG' --> 'G' 'ROSLY' --> 'R' 'PROBLEM' --> 'M' 'TRUST' --> 'T' 'BASIC' --> 'C' 'GIANT' --> 'I'...
12 días hace
Resuelto
String Logic 14
Examples: 'DIG' --> 'HRN' 'KIMBALL' --> 'VRZDBXX' 'DEAL' --> 'HJBX' 'LIMB' --> 'XRZD' 'MADE' --> 'ZBHJ' 'CHEF' --> 'FPJL'
12 días hace
Resuelto
Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given number of...
13 días hace
Resuelto
Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>
13 días hace
Resuelto
Pi Digit Probability
Assume that the next digit of pi constant is determined by the historical digit distribution. What is the probability of next di...
13 días hace
Resuelto
Trimming Spaces
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...
13 días hace
Resuelto
Accessing elements on the diagonal
Access the diagonal elements of a matrix without 'diag' function
17 días hace
Resuelto
Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...
17 días hace
Resuelto
Finding an element in a vector
x is a vector of unknown length your function should return the index of the first element in the vector that is greater than...
18 días hace
Resuelto
Matlab Basics - Pick out parts of a vector
Consider x a vector of length >= 7 (there are at least 7 elements in the vector, write a script that extracts the 2nd element, a...
18 días hace
Resuelto
Basics: 'Find the eigenvalues of given matrix
Find the eigenvalues y for a given matrix x.
18 días hace
Resuelto
Counting down
Create a vector that counts from 450 to 200 in increments of 10.
18 días hace
Resuelto
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...
18 días hace
Resuelto
polar inertia
given locations of a set of unit masses on complex plane, find polar moment of inerta about the origin. for example output 4 if ...
30 días hace
Resuelto
Number of vertices of a hypercube
Return the number of vertices of a n-dimensional hypercube.
alrededor de 1 mes hace
Resuelto
Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.
alrededor de 1 mes hace
Resuelto
Half?
If you toss an even number (x) of coins, what is the probability (y) of 50% head and 50% tail?
alrededor de 1 mes hace
Resuelto
Create matrix of replicated elements
Given an input element x, and the dimensions, (m, n) return a matrix of size m x n filled with element x. Example: Input: ...
alrededor de 1 mes hace
Resuelto
Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....
alrededor de 1 mes hace
Resuelto
vectorization in N
For a given integer n (n>1), compute the sum f (i) (1 <= i <= n) where f (i) = 1 if n is odd and 2 otherwise.
alrededor de 1 mes hace
Resuelto
Remove the small words from a list of words.
Your job is to tidy up a list of words that appear in a string. The words are separated by one or more spaces. Remove all words ...
alrededor de 1 mes 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...
alrededor de 1 mes hace
Resuelto
Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.
alrededor de 1 mes hace
Resuelto
How many trades represent all the profit?
Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...
alrededor de 1 mes hace
Resuelto
Make a run-length companion vector
Given a vector x, return a vector r that indicates the run length of any value in x. Each element in r shows how many times the ...
alrededor de 1 mes hace
Resuelto
Make an awesome ramp for a tiny motorcycle stuntman
Okay, given a vector, say v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 3 6 9 11 0; 6 9 ...
alrededor de 1 mes hace











