Community Profile

photo

Sameer Pujari

MathWorks

Last seen: 28 días hace Con actividad desde 2021

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

Estadísticas

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

Ver insignias

Content Feed

Ver por

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

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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.

más de 2 años hace

Resuelto


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]

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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.

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


Return area of square
Side of square=input=a Area=output=b

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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.

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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.

más de 2 años hace

Cargar más