# Naman Bhaia

DISCLAIMER: Any advice or opinions posted here are my own, and in no way reflect that of MathWorks

**Statistics**

RANK**786**

of 239.517

REPUTATION**64**

CONTRIBUTIONS

**0** Questions

**44** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**7**

RANK

of 16.817

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

How to make Embedded coder use isnan C-API than implementing custom code?

I believe Code Replacement Customization can be the possible solution. To implement that, you could develop a code replacement ...

circa 2 anni ago | 0

How do I find the lowest values in one array that are greater than each value from another array?

Hello Liam, Can you try if the following code helps with the problem you have? z=zeros(1,0); %defining an array z to store out...

circa 2 anni ago | 0

How to make a diamond with asterisks?

Hello Juan, I believe a question similar to yours has been answered in this MATLAB Answers thread. Check and see if it helps wi...

circa 2 anni ago | 0

| accepted

coder.checkGpuInstall() error

Hello Xabier, Can you check if the gpu build details you want is returned by the gpuDevice command?

circa 2 anni ago | 0

I want to plot a graph as shown below, For that non linear system, i have written a Matlab script but i can't really identify how do i plot such graph.

Hello Yash, If issue you are facing is in plotting the graphs in one figure, you can use the hold command while plotting. And...

circa 2 anni ago | 0

| accepted

Please help! Trying to convert greyscale image back to rgb. error "rbg" not defined when using conversion code.

I think it is saying 'rbg' not found becuase it seems to be a typographical error. Try 'imshow(rgb)' and see if it solves the is...

circa 2 anni ago | 0

How to start code generation programmatically

Hello Christer, Check and see if these documentation links help: Embedded coder MATLAB coder Simulink coder Also you can us...

oltre 2 anni ago | 0

How to plot A Curve That Connects The Highest Values in Y-Axis

Hello Yaser, I believe the issue you are facing can be solved in two steps: Find the maximum value corresponding to each value...

oltre 2 anni ago | 0

| accepted

Can I fix the figure(plot size) with axis limit changed?

Hello Soonwoo, I think the issue you are describing can be bypassed by fixing the figure size. You can visit this MATLAB Answer...

oltre 2 anni ago | 0

Solved

Scrabble Scores

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

oltre 2 anni ago

Solved

Counting Sequence

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

oltre 2 anni 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...

oltre 2 anni ago

Solved

Duplicates

Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

oltre 2 anni 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...

oltre 2 anni ago

Solved

Making change

Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = ...

oltre 2 anni 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...

oltre 2 anni 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...

oltre 2 anni 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...

oltre 2 anni 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...

oltre 2 anni ago

Solved

Find relatively common elements in matrix rows

You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...

oltre 2 anni ago

Solved

Find the alphabetic word product

If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

oltre 2 anni ago

Solved

Cell joiner

You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

oltre 2 anni 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...

oltre 2 anni ago

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

oltre 2 anni ago

Solved

Return a list sorted by number of occurrences

Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

oltre 2 anni ago

Solved

Pascal's Triangle

Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

oltre 2 anni ago

Solved

Quote Doubler

Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

oltre 2 anni ago

Solved

Binary numbers

Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

oltre 2 anni ago

Change units of colorbar

Hello Andres, What I understood from your question is that you just want to change the X-axis labels. Since you said that you a...

oltre 2 anni ago | 0

Help "Page not found" after installing a new version

Hello Michael, As far as I could understand a similar question has been posted on MATLAB Answer. You can see the thread here an...

oltre 2 anni ago | 0