![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/1841757_1558559456433.jpeg)
the cyclist
Alden Scientific
Head of Modeling and Statistics at Alden Scientific. Obsessive runner. Professional Interests: Predictive modeling, statistics. (I don't respond to email via author page, but will usually look at a question if you send me a link to it.)
Python, R, MATLAB, SQL
Spoken Languages:
English
Pronouns:
He/him
Estadística
49 Preguntas
5.307 Respuestas
1 Archivo
Cody24 Problemas
281 Soluciones
CLASIFICACIÓN
15
of 296.839
REPUTACIÓN
15.538
CONTRIBUCIONES
49 Preguntas
5.307 Respuestas
ACEPTACIÓN DE RESPUESTAS
73.47%
VOTOS RECIBIDOS
2.937
CLASIFICACIÓN
10.273 of 20.413
REPUTACIÓN
58
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
1 Archivo
DESCARGAS
2
ALL TIME DESCARGAS
582
CLASIFICACIÓN
590
of 157.200
CONTRIBUCIONES
24 Problemas
281 Soluciones
PUNTUACIÓN
3.102
NÚMERO DE INSIGNIAS
7
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Resuelto
Find Air Temperature from Cricket Stridulation Rate
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...
alrededor de 2 años hace
Resuelto
The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...
más de 3 años hace
Resuelto
Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...
casi 5 años hace
Resuelto
Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...
más de 8 años hace
Resuelto
Sum my indices
Given inputs M and N (in that order), output an MxN matrix whose entries are equal to the sum of their indices. Example input...
más de 9 años hace
Problema
Sum my indices
Given inputs M and N (in that order), output an MxN matrix whose entries are equal to the sum of their indices. Example input...
más de 9 años hace | 3 | 164 solvers
Resuelto
Cull vector elements that contain a specified digit
Given inputs of (1) a row vector and (2) a digit, identify the elements of that vector that contain the digit, remove them, and ...
más de 10 años hace
Problema
Cull vector elements that contain a specified digit
Given inputs of (1) a row vector and (2) a digit, identify the elements of that vector that contain the digit, remove them, and ...
más de 10 años hace | 1 | 55 solvers
Resuelto
Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').
casi 11 años hace
Problema
Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').
casi 11 años hace | 4 | 326 solvers
Resuelto
Multielement indexing of a row array
The row array birthRateChina stores the China birth rate (per 1000 people) for years 2000 to 2012. Write a statement that create...
casi 11 años hace
Resuelto
Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...
casi 11 años hace
Resuelto
Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...
casi 11 años hace
Resuelto
Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.
casi 11 años hace
Resuelto
Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...
alrededor de 11 años hace
Resuelto
Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
alrededor de 11 años hace
Resuelto
Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...
alrededor de 11 años hace
Resuelto
Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...
más de 11 años hace
Resuelto
Poker Card Deal!
Anyone want to play a card game? Well this is making one deck of cards, with the option of using 2 jokers. The outputs are ...
más de 11 años hace
Resuelto
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...
más de 11 años hace
Resuelto
Duplicate each element of a vector.
for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice. Ex...
alrededor de 12 años hace
Resuelto
Make a 1 hot vector
Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...
alrededor de 12 años hace
Resuelto
Multiply 2 numbers
Very easy, you just have to multiply 2 numbers but you cannot use the following signs (*, /, - ,^) ,mtimes , times, cross, pro...
alrededor de 12 años hace
Resuelto
The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...
alrededor de 12 años hace
Resuelto
Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...
alrededor de 12 años hace
Resuelto
Replace multiples of 5 with NaN
It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...
alrededor de 12 años hace
Resuelto
Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.
alrededor de 12 años hace
Resuelto
distance between two points
compute distance between two points,where it is in Cartesian, Polar or Spherical coordinates.
alrededor de 12 años hace
Resuelto
Back to basics 26 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of strings of all MATLAB keywords.
alrededor de 12 años 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 12 años hace