# Sameer Pujari

### MathWorks

Followers: 0 Following: 0

I am an Application Support Engineer at MathWorks. DISCLAIMER: Any advice or opinions here are my own, and in no way reflect that of MathWorks

**Programming Languages:**

Python, C++, C

**Spoken Languages:**

English, Hindi, Marathi

**Professional Interests:**

Embedded Systems

**Statistics**

RANK**3 024**

of 295 068

REPUTATION**18**

CONTRIBUTIONS

**0** Questions

**10** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**1**

RANK

of 20 171

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

**Feeds**

How can I use collected data in a GUI of the US map?

Hi Aden You can use Thematic Maps to classify attributes and display them on the maps from the table data. Please refer to the ...

nästan 2 år ago | 0

What's the difference between address and pointer?

Hello Min Hoon Code generation in Simulink provides code optimization by allowing function reuse. The following documentation l...

nästan 2 år ago | 0

| accepted

Running two different models in one simulink code with subsystems

Hi Aishwarya As per my understanding of your question, As you are using an atomic subsystem and there are no dependencies betwe...

nästan 2 år ago | 0

Not able to change the values of the voltage source on Simulink

Hi Rosheen I understand that you want to change the value of a certain block parameter and then simulate the model for that cer...

nästan 2 år ago | 0

| accepted

How to select a preferred channel on the audiorecorder

Hi Venkat The "audiorecorder" function is a lightweight function for most common usages (acquire sound from a stereo source, on...

nästan 2 år ago | 0

MatLab Report Generator Word Wrap Issues

Hi Matt To get the text to wrap to the second line by separating at a "space" rather than in the middle of a word when using...

nästan 2 år ago | 1

| accepted

How to extract raw data from a rgb image visualized with known colormap?

Hello Xin Liu From the given info, I understand that you want to get RGB image back after you have visualised with a known co...

ungefär 2 år ago | 0

Could not connect to STM32F7xx board for serial communication

Hi Omar Ismail I understand you are facing communication issue while using “Monitor and Tune” mode on STM32F7xx board Ensuring...

ungefär 2 år ago | 0

Plotting a graph to show the variation in time of a current

Hi Eduard Mihai Upon reproducing your code, I understood that the issue you are facing is due to not converting the phase angle...

ungefär 2 år ago | 0

How can I set Internal Pull-Up or Pull-Down resistor for Digital I/O pins using Simulink Coder Support Package for STMicroelectronics Nucleo Board?

Hi Sandeep Goyani, I understand you are facing an issue regarding selecting pull mode for a certain GPIO PIN in Simulink. ...

ungefär 2 år ago | 0

| accepted

Solved

Number of 1s in a binary string

Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

mer än 3 år ago

Solved

Create times-tables

At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

mer än 3 år ago

Solved

Swap the input arguments

Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

mer än 3 år ago

Solved

Roll the Dice!

*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

mer än 3 år ago

Solved

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

mer än 3 år ago

Solved

Magic is simple (for beginners)

Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

mer än 3 år ago

Solved

Reverse the vector

Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

mer än 3 år ago

Solved

Generate a vector like 1,2,2,3,3,3,4,4,4,4

Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

mer än 3 år ago

Solved

Maximum value in a matrix

Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

mer än 3 år ago

Solved

Check if number exists in vector

Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

mer än 3 år ago

Solved

Length of the hypotenuse

Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

mer än 3 år ago

Solved

Calculate Amount of Cake Frosting

Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

mer än 3 år 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 ...

mer än 3 år ago

Solved

Sum all integers from 1 to 2^n

Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

mer än 3 år ago

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

mer än 3 år ago

Solved

Pi Digit Probability

Assume that the next digit of pi constant is determined by the historical digit distribution. What is the probability of next di...

mer än 3 år ago

Solved

Pi Estimate 1

Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

mer än 3 år ago

Solved

Approximation of Pi

Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...

mer än 3 år ago

Solved

Given a square and a circle, please decide whether the square covers more area.

You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

mer än 3 år ago