Risolto

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

circa 4 anni fa

Risolto

Counting Sequence

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

circa 4 anni fa

Risolto

Scrabble Scores

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

circa 4 anni fa

Risolto

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

circa 4 anni fa

Risolto

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

circa 4 anni fa

Risolto

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

circa 4 anni fa

Risolto

The Goldbach Conjecture

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

circa 4 anni fa

Risolto

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

circa 4 anni fa

Risolto

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

circa 4 anni fa

Risolto

Encode Roman Numerals

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

circa 4 anni fa

Risolto

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

circa 4 anni fa

Risolto

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

circa 4 anni fa

Risolto

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

circa 4 anni fa

Risposto

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

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

circa 4 anni fa | 0

Risposto

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

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

circa 4 anni fa | 0

Risposto

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

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

circa 4 anni fa | 0

| accettato

Risposto

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

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

circa 4 anni fa | 2

Risposto

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

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

circa 4 anni fa | 0

Risposto

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

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

circa 4 anni fa | 0

Risposto

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

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

circa 4 anni fa | 0

| accettato

Risposto

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

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

circa 4 anni fa | 2

Risposto

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

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

circa 4 anni fa | 0

| accettato

Risposto

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

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

circa 4 anni fa | 0

Risolto

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

circa 4 anni fa

Risolto

Kaprekar Steps

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

circa 4 anni fa

Risolto

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

circa 4 anni fa

Risolto

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

circa 4 anni fa

Risposto

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

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

circa 4 anni fa | 0

Risolto

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

circa 4 anni fa

Risolto

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

circa 4 anni fa