Solved

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

3 mesi ago

Solved

QWERTY coordinates

Given a lowercase letter or a digit as input, return the row where that letter appears on a standard U.S. QWERTY keyboard and it...

3 mesi ago

Solved

Find the two most distant points

Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

3 mesi ago

Submitted

heat transfer during injection moulding

to molten the polymer materials the way of heating and heat transfer mechanism will be like this

3 mesi ago | 1 download |

Answered

HYSTERISIS LOOPS USING DATA

you can try this code x = rand(10,1); y = rand(10,1); quiver(x(1:end-1),y(1:end-1),diff(x),diff(y),0);

HYSTERISIS LOOPS USING DATA

you can try this code x = rand(10,1); y = rand(10,1); quiver(x(1:end-1),y(1:end-1),diff(x),diff(y),0);

3 mesi ago | 0

Solved

Balanced number

Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...

3 mesi ago

Solved

Trimming Spaces

Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

3 mesi ago

Solved

Reverse Run-Length Encoder

Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

3 mesi ago

Solved

Prime factor digits

Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

3 mesi ago

Solved

Sums with Excluded Digits

Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

3 mesi ago

Solved

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

3 mesi ago

Solved

Get the area codes from a list of phone numbers

Given a string of text with phone numbers in it, return a unique'd cell array of strings that are the area codes. s = '508-6...

5 mesi ago

Answered

simulation of Gas network coupled with AC grid

i think you can apply similar model to solve

simulation of Gas network coupled with AC grid

i think you can apply similar model to solve

5 mesi ago | 0

Submitted

2d plot animation

the 2d plot animation is possible by using comet

5 mesi ago | 2 downloads |

Answered

how to find two blob center point difference

i think you can use this code convert image to grayscale image gray_image = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) convert th...

how to find two blob center point difference

i think you can use this code convert image to grayscale image gray_image = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) convert th...

5 mesi ago | 0

Solved

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 mesi ago

Solved

Scrabble Scores

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

5 mesi ago

Solved

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 mesi ago

Solved

Remove the small words from a list of words.

Your job is to tidy up a list of words that appear in a string. The words are separated by one or more spaces. Remove all words ...

5 mesi ago

Solved

Remove the polynomials that have positive real elements of their roots.

The characteristic equation for a dynamic system is a polynomial whose roots indicate its behavior. If any of the <http://www.ma...

5 mesi ago

Solved

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 mesi ago

Solved

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 mesi ago

Solved

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 mesi ago

Solved

Implement a ROT13 cipher

Replace each character in string s1 with the character that is shifted 13 positions from it (wrap back to the beginning if neces...

5 mesi ago

Solved

The Goldbach Conjecture

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

5 mesi ago

Solved

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 mesi ago

Submitted

valentine day love gift image for couples

mathematical function was derived and set on MATLAB to model

5 mesi ago | 2 downloads |

Submitted

ODE mathematical model of launching rocket

Ordinary differential equation for for launching rocket basically requires two model equations to give energy and mass transpor...

5 mesi ago | 6 downloads |

Submitted

application of ODE for launching rocker

we can derive two model equation for the launching of rocket

5 mesi ago | 2 downloads |

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6 mesi ago