Community Profile

# Shubham Sangle

41 total contributions since 2019

View details...

Contributions in
View by

Using App Designer to Draw Elliptical ROI's
drawellipse function is available in matlab You can access documentation of drawellipse as https://in.mathworks.com/help/images...

1 year ago | 0

Creating multiple plots from a data file using a for loop
You can use this, () indexing on a table returns a portion of a table as a table plot(table(:, column1), table(:, column2))

1 year ago | 0

next prime number using While loops

1 year ago | 1

Can we use scatteredinterpolant in parallel
You can refer to answer to this reddit question. May be this will help- https://www.reddit.com/r/matlab/comments/2nfz1j/help_wi...

1 year ago | 0

Why will Matlab not start up properly on my windows based system?
You should provide some more details, so that we can specifically answer your question. But as of now I am posting answer to ...

1 year ago | 0

Check for column in table

1 year ago | 0

How can I convert strings in cell array into array?
strcat() has the property that it trims out leading and trailing blanks from parameters that are character vectors. It does not ...

1 year ago | 0

| accepted

GPU compatibility for using deep learning in Matlab.
I think this blog written by Steve Eddins can help you regarding this problem https://blogs.mathworks.com/deep-learning/2017/10...

1 year ago | 0

| accepted

Why do I get a Segmentation Fault regarding 'xsetup' when installing MATLAB?
This issue has been asked earlier at here This was accepted answer given by Mathworks support team ``This problem has been kno...

1 year ago | 0

| accepted

Solved

Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

1 year ago

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

1 year ago

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

1 year ago

Solved

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

1 year ago

Solved

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

1 year ago

Solved

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

1 year ago

Solved

Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

1 year ago

Solved

Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

1 year ago

Solved

Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

1 year ago

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

1 year ago

Solved

Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

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

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

1 year ago

Solved

Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

1 year ago

Solved

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

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

1 year ago