Community Profile

photo

Naman Bhaia


Last seen: 12 mois il y a Actif depuis 2019

Followers: 0   Following: 0

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

Statistiques

All
  • Knowledgeable Level 3
  • 3 Month Streak
  • Commenter
  • Solver
  • Knowledgeable Level 2
  • First Answer

Afficher les badges

Feeds

Afficher par

A répondu
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 ...

presque 5 ans il y a | 0

A répondu
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...

presque 5 ans il y a | 0

A répondu
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...

presque 5 ans il y a | 0

| A accepté

A répondu
coder.checkGpuInstall() error
Hello Xabier, Can you check if the gpu build details you want is returned by the gpuDevice command?

presque 5 ans il y a | 0

A répondu
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...

presque 5 ans il y a | 0

| A accepté

A répondu
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...

presque 5 ans il y a | 0

A répondu
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...

presque 5 ans il y a | 0

A répondu
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...

presque 5 ans il y a | 0

| A accepté

A répondu
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...

presque 5 ans il y a | 0

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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 5 ans il y a

A résolu


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 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A répondu
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...

environ 5 ans il y a | 0

A répondu
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...

environ 5 ans il y a | 0

Charger plus