Matt Fig
Followers: 0 Following: 0
Matt is currently employed at Sunstate Risk Assessments, LLC in the beautiful Florida panhandle. He holds degrees in physics and mechanical engineering. Professional Interests: MATLAB, C++, ANSYS
Estadística
13 Preguntas
1.506 Respuestas
38 Archivos
Cody7 Problemas
67 Soluciones
CLASIFICACIÓN
33
of 295.569
REPUTACIÓN
5.983
CONTRIBUCIONES
13 Preguntas
1.506 Respuestas
ACEPTACIÓN DE RESPUESTAS
76.92%
VOTOS RECIBIDOS
1.443
CLASIFICACIÓN
20 of 20.247
REPUTACIÓN
27.437
EVALUACIÓN MEDIA
4.70
CONTRIBUCIONES
38 Archivos
DESCARGAS
180
ALL TIME DESCARGAS
260415
CLASIFICACIÓN
7.194
of 154.105
CONTRIBUCIONES
7 Problemas
67 Soluciones
PUNTUACIÓN
805
NÚMERO DE INSIGNIAS
4
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Problema
Find the repeating decimal pattern!
Write a function that takes one double input value and returns only the repeating decimal, if any, as a string. Only decimals f...
más de 12 años hace | 2 | 14 solvers
Problema
Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...
más de 12 años hace | 9 | 1090 solvers
Problema
Mechanics 1
I thought I would make a mechanics problem for all those physics lovers out there. Imagine two solid, rigid spheres B1 and B...
casi 13 años hace | 3 | 28 solvers
Problema
Circle and Quadratic
Imagine the quadratic curve with equation y=y(x)=ax^2+bx+c On the concave side of this curve there is a circle of radius...
casi 13 años hace | 2 | 14 solvers
Problema
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...
casi 13 años hace | 0 | 79 solvers
Resuelto
Which quadrant?
Given a complex number, output quadrant 'I' 'II' 'III' or 'IV' | II | I | ...
casi 13 años hace
Resuelto
Woodall number
Test whether the input is a Woodall number: <http://en.wikipedia.org/wiki/Woodall_number> _Please do not cheat by simply chec...
casi 13 años hace
Resuelto
Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...
casi 13 años hace
Resuelto
Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.
casi 13 años hace
Problema
Spiraling out of control....
Imagine a square with corners at the origin and at (1,1). An interesting spiral can be created by tracing the path of a moving ...
casi 13 años hace | 1 | 11 solvers
Problema
What are the odds?
Two numbers, A and B are drawn randomly and uniformly on [-R,R]. What is the probability that A*B < A+B. Your function should ...
casi 13 años hace | 2 | 26 solvers
Resuelto
Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1
casi 13 años hace
Resuelto
Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...
casi 13 años hace
Resuelto
Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...
casi 13 años hace
Resuelto
Recurrence relation
A recurrence relation is given by P(1) := 1 P(n+1) := exp(1) - (n+1)*P(n) Write a function that, given an integer |...
casi 13 años hace
Resuelto
Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...
casi 13 años hace
Resuelto
Number of 1s in the Binary Representation of a Number
*Description* Return the number of 1s in the (unsigned integer) binary representation of a number. This function should be ab...
casi 13 años hace
Resuelto
Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...
casi 13 años hace
Resuelto
Pull the variable y_correct from the Caller's Workspace
*Description* This highlights a very easy to use and high-scoring cheat that can be used on almost all Cody questions.
casi 13 años hace
Resuelto
Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...
casi 13 años hace
Resuelto
Given an unsigned integer x, find the largest y by rearranging the bits in x
Given an unsigned integer x, find the largest y by rearranging the bits in x. Example: Input x = 10 Output y is 12 ...
casi 13 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 13 años hace
Resuelto
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
casi 13 años hace
Resuelto
Magic!
Check whether the input matrix is a normal magic square: <http://en.wikipedia.org/wiki/Magic_square> Output the logical va...
casi 13 años hace
Resuelto
Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
casi 13 años hace
Resuelto
Double Deal
*Description* Given an input vector _v_, return the first element as the first output, the second element as the second outpu...
casi 13 años hace
Resuelto
Reverse the Words (not letters) of a String
*Description* Change the words of a string such that the words appear in reverse order. You may assume that the string is a n...
casi 13 años hace
Resuelto
Nearest
*Description* Find the value and index of the element in vector _x_ that is nearest to value _y_. _y_ should be able to be a ...
casi 13 años hace
Resuelto
Omit columns averages from a matrix
Omit columns averages from a matrix. For example: A = 16 2 3 13 5 11 10 8 9 7 ...
casi 13 años hace