Brandon
Followers: 0 Following: 0
Feeds
문제
Troubles With Spaces - Convert Some Messy Data Into A Clean Array
I have a bunch of messy data I have to go through. The data is stored in an odd format, so str2num isn't working. And even when ...
1년 초과 전 | 1 | 솔버 수: 3
답변 있음
How Do I Extract User Inputs From a UIFigure?
I found my answer in another question: How do I pass variables from one GUI to another The documentiation on GUI is especially ...
How Do I Extract User Inputs From a UIFigure?
I found my answer in another question: How do I pass variables from one GUI to another The documentiation on GUI is especially ...
1년 초과 전 | 1
| 수락됨
문제를 풀었습니다
Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] is s...
1년 초과 전
답변 있음
How Do I Extract User Inputs From a UIFigure?
I resolved my issue by creating a global array. I can then declare the global array be used inside of the close function. I assi...
How Do I Extract User Inputs From a UIFigure?
I resolved my issue by creating a global array. I can then declare the global array be used inside of the close function. I assi...
1년 초과 전 | 1
질문
How Do I Extract User Inputs From a UIFigure?
I am trying to make a window with several checkboxes, and an OK button. I want the state of the checkboxes to be saved in memory...
1년 초과 전 | 답변 수: 3 | 0
3
답변문제를 풀었습니다
Prime Ladders
A <http://en.wikipedia.org/wiki/Word_ladder word ladder> transforms one word to another by means of single-letter mutations. So ...
1년 초과 전
문제를 풀었습니다
Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...
1년 초과 전
문제를 풀었습니다
Goldbach's marginal conjecture - Write integer as sum of three primes
Goldbach's strong conjecture states that every even integer greater than 2 can be expressed as the sum of two primes. For exampl...
1년 초과 전
문제를 풀었습니다
Twins in a Window
<http://en.wikipedia.org/wiki/Twin_primes Twin primes> are prime numbers that differ by 2, such as [11,13] or [41,43]. Write a f...
1년 초과 전
문제를 풀었습니다
Twin Primes
Twin primes are pairs of primes that are immediately next to each other (difference of two). The lesser of twin primes are 3, 5,...
1년 초과 전
문제를 풀었습니다
(Linear) Recurrence Equations - Generalised Fibonacci-like sequences
This problem is inspired by problems <http://uk.mathworks.com/matlabcentral/cody/problems/2187-generalized-fibonacci 2187>, <htt...
1년 초과 전
문제를 풀었습니다
Find the next Fibonacci number
In the sequence of Fibonacci numbers, every number is the sum of the two preceding ones: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55...
1년 초과 전
문제를 풀었습니다
Return fibonacci sequence do not use loop and condition
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: ...
1년 초과 전
문제를 풀었습니다
Fibonacci Decomposition
Every positive integer has a unique decomposition into nonconsecutive Fibonacci numbers f1+f2+ ... Given a positive integer n, r...
1년 초과 전
문제를 풀었습니다
How many Fibonacci numbers?
Find the number of unique Fibonacci numbers (don't count repeats) in a vector of positive integers. Example: x = [1 2 3 4...
1년 초과 전
문제를 풀었습니다
Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...
1년 초과 전
문제를 풀었습니다
Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Input...
1년 초과 전
문제를 풀었습니다
Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...
1년 초과 전
문제를 풀었습니다
Calculate the Levenshtein distance between two strings
This problem description is lifted from http://en.wikipedia.org/wiki/Levenshtein_distance. The Levenshtein distance between two...
1년 초과 전
문제를 풀었습니다
Recaman Sequence - III
I want to create a Recaman sequence where there is a "1" in the n-th position. So from which integer should I start the Recaman ...
1년 초과 전
문제를 풀었습니다
Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...
1년 초과 전
문제를 풀었습니다
Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...
1년 초과 전
문제를 풀었습니다
Pair Primes
Let's define pair primes as follow; For 2 digits numbers: 11 and 17 are pair primes because both of them are 2 digits prime num...
1년 초과 전
문제를 풀었습니다
Birthday cake
It's Cody's 5th birthday, and you've been tasked with putting the candles on the cake. Your goal is to maximize the distance bet...
1년 초과 전
문제를 풀었습니다
Divisible by 7
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...
1년 초과 전
문제를 풀었습니다
Divisible by 16
Write a function to determine if a number is divisible by 16. This can be done by a few different methods. Here are two: # If...
1년 초과 전
문제를 풀었습니다
Divisible by 6
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...
1년 초과 전
문제를 풀었습니다
Divisible by 9
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...
1년 초과 전
문제를 풀었습니다
Divisible by 3
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...
1년 초과 전