A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A répondu
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...

presque 5 ans il y a | 0

A répondu
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...

presque 5 ans il y a | 0

A répondu
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;...

presque 5 ans il y a | 0

| A accepté

A répondu
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...

presque 5 ans il y a | 2

A répondu
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...

presque 5 ans il y a | 0

A répondu
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 ...

presque 5 ans il y a | 0

A répondu
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...

presque 5 ans il y a | 0

| A accepté

A répondu
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...

presque 5 ans il y a | 2

A répondu
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...

presque 5 ans il y a | 0

| A accepté

A répondu
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 ...

presque 5 ans il y a | 0

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A répondu
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. =-====================...

presque 5 ans il y a | 0

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

Charger plus