photo

Naman Bhaia


Last seen: meer dan een jaar ago Active since 2019

Followers: 0   Following: 0

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

Statistics

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

View badges

Feeds

View by

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

meer dan 5 jaar ago | 0

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

meer dan 5 jaar ago | 0

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

meer dan 5 jaar ago | 0

| accepted

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

meer dan 5 jaar ago | 0

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

meer dan 5 jaar ago | 0

| accepted

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

meer dan 5 jaar ago | 0

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

meer dan 5 jaar ago | 0

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

meer dan 5 jaar ago | 0

| accepted

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

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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 = ...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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 ...

meer dan 5 jaar 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, ....

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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 ...

meer dan 5 jaar 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...

meer dan 5 jaar 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 ...

meer dan 5 jaar 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...

meer dan 5 jaar ago

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

meer dan 5 jaar ago | 0

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

meer dan 5 jaar ago | 0

Load more