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

5 months 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))

5 months ago | 0

next prime number using While loops

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

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

5 months ago | 0

Check for column in table

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

6 months ago