Community Profile

photo

Tatvam Dadheech


42 total contributions since 2019

Tatvam Dadheech's Badges

  • Knowledgeable Level 2
  • Revival Level 1
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
Binary image colouring to red
Refer to the link below. https://www.mathworks.com/matlabcentral/answers/49610-how-to-color-a-binary-image This may solve your...

environ un an ago | 0

Answered
How i can calculate conditional probability in matlab
Refer to the link below. https://www.mathworks.com/matlabcentral/answers/349387-how-to-calculate-conditional-probability This ...

environ un an ago | 0

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

environ un an ago

Solved


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

environ un an 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...

environ un an 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...

environ un an ago

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

environ un an ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

environ un an ago

Solved


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

environ un an ago

Solved


Remove all the words that end with "ain"
Given the string s1, return the string s2 with the target characters removed. For example, given s1 = 'the main event' your ...

environ un an 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...

environ un an ago

Solved


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

environ un an ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

environ un an ago

Solved


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

environ un an ago

Solved


Extract leading non-zero digit
<http://en.wikipedia.org/wiki/Benford%27s_law Benford's Law> states that the distribution of leading digits is not random. This...

environ un an ago

Answered
Excel Columns to Matlab Array
Refer to the below link. https://in.mathworks.com/help/matlab/ref/readmatrix.html https://in.mathworks.com/help/matlab/ref/xls...

environ un an ago | 0

Answered
Scrape Website using MATLAB
Yes, you can. There is an inbuilt function called webread() which will scrape the website and return the content in it. After th...

environ un an ago | 0

| accepted

Solved


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

environ un an ago

Answered
Pushbutton to load .mat file
Refer to the link below. https://www.mathworks.com/matlabcentral/answers/293889-how-to-load-a-mat-file-with-a-push-button-calc...

environ un an ago | 0

| accepted

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

environ un an ago

Solved


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

environ un an 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...

environ un an ago

Answered
Saving data from loops
There are two ways to do it. x = []; for i = 1:n x = [x; choice(i)] end Above code will append the value of choice at i...

environ un an ago | 0

Answered
Is it possible to calculate ohm law with data acquired with a daq using matlab script?
Yes you can acquire voltage data using digital trigger. Following documentation explains how daq command can help you do the sam...

environ un an ago | 0

Answered
how to get the license for the online matlab
Matlab Online is not a free software but requires license. If you have have a student version or any other version of Matlab, yo...

environ un an ago | 0

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

environ un an ago

Solved


QWERTY coordinates
Given a lowercase letter or a digit as input, return the row where that letter appears on a <http://en.wikipedia.org/wiki/Keyboa...

environ un an ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

environ un an 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...

environ un an 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 ...

environ un an ago

Load more