解決済み

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

1年以上 前

解決済み

Counting Sequence

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

1年以上 前

解決済み

Scrabble Scores

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

1年以上 前

解決済み

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

1年以上 前

解決済み

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

1年以上 前

解決済み

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

1年以上 前

解決済み

The Goldbach Conjecture

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

1年以上 前

解決済み

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

1年以上 前

解決済み

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

1年以上 前

解決済み

Encode Roman Numerals

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

1年以上 前

解決済み

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

1年以上 前

解決済み

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

1年以上 前

解決済み

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

1年以上 前

回答済み

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

1年以上 前 | 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...

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

1年以上 前 | 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;...

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

1年以上 前 | 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...

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

1年以上 前 | 1

回答済み

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

1年以上 前 | 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 ...

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

1年以上 前 | 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...

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

1年以上 前 | 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...

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

1年以上 前 | 0

回答済み

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

1年以上 前 | 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 ...

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

1年以上 前 | 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 ...

1年以上 前

解決済み

Kaprekar Steps

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

1年以上 前

解決済み

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

1年以上 前

解決済み

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

1年以上 前

回答済み

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

1年以上 前 | 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...

1年以上 前

解決済み

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

1年以上 前