已解决


Maximum running product for a string of numbers
Given a string s representing a list of numbers, find the five consecutive numbers that multiply to form the largest number. Spe...

5 years 前

已解决


Counting Sequence
Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...

5 years 前

已解决


Scrabble Scores
Given a word, determine its score in <http://en.wikipedia.org/wiki/Scrabble Scrabble>. The input string will always be provi...

5 years 前

已解决


Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

5 years 前

已解决


Tic Tac Toe FTW
Given a tic tac toe board: * 1 represents X * 0 represents empty. * -1 represents O It is X's move. If there is an imme...

5 years 前

已解决


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...

5 years 前

已解决


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

5 years 前

已解决


Find state names that end with the letter A
Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...

5 years 前

已解决


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

5 years 前

已解决


Encode Roman Numerals
Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...

5 years 前

已解决


The Goldbach Conjecture, Part 2
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

5 years 前

已解决


Word Counting and Indexing
You are given a list of strings, each being a list of words divided by spaces. Break the strings into words, then return a maste...

5 years 前

已解决


Find the two-word state names
Given a list of states, remove all the states that have two-word names. If s1 = 'Alabama Montana North Carolina Vermont N...

5 years 前

已回答
How to extract data set from Image in Matlab
Greetings, I believe you are looking for the color map of the image? If so then the imread() function can be used to get the...

5 years 前 | 0

已回答
I know a certain y1 and I want to find the respective x1.
Greetings, I believe I have a solution to your problem, I wrote a scrip to demonstrate the concept, let me know if this is no...

5 years 前 | 0

已回答
I need to solve an equation which is dependent on another equation and get the required plot. How can i do that?
Solve equation 1, store result in a variable, use said variable as input to equation 2? Here is a quick example~ x = 0:0.1:5;...

5 years 前 | 0

| 已接受

已回答
How can i compute the derivative of a signal in an instant of time/sample?
Greetings, Consider the general deffinition of the first derivative, dy/dx. In the continuous realm, dy and dx are infinitely...

5 years 前 | 2

已回答
Multiple combinations of huge data set
Greetings, I would think you are maxing out your memory allocation, considering you have 201 million rows in your result...If...

5 years 前 | 0

已回答
How to Iteratively changed C during Eulers Method ?
Greetings, Have you tried storing the values of c in a vector, in each iteration of the first for loop and the indexing said ...

5 years 前 | 0

已回答
Discrete Fourier series problem
Greetings, Are you sure that you have the right general equation for y? The function looks odd to me, when I consider the gen...

5 years 前 | 0

| 已接受

已回答
unable to define local function because it has the same name as the file
I believe the answer is that you can have an entire script be a function, if the file name is something like "solverX" and the f...

5 years 前 | 3

已回答
1) I need a code to determine the intersection points, I have tried '==' is not working, also I would like to know if it is possible to make the grid line look like a graph sheet i.e using Xtick and Ytick
Greetings, I believe I may know what is causing your problem and I might know how to solve it. Consider the following: Al...

5 years 前 | 0

| 已接受

已回答
how to do while loops with actual problems
Greetings, I believe I have a solution to your problem. First, let us consider the nature of the problem...We have a certain ...

5 years 前 | 0

已解决


Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

5 years 前

已解决


Kaprekar Steps
6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...

5 years 前

已解决


Find the peak 3n+1 sequence value
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...

5 years 前

已解决


Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

5 years 前

已回答
import loop for a files in a folder
Thank you it works greatly to import but the reading part is missed . Every time I will get this error. =-====================...

5 years 前 | 0

已解决


Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

5 years 前

已解决


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

5 years 前

加载更多