photo

Pavel Dey

MathWorks

Last seen: 4 years ago Active since 2015

Followers: 0   Following: 0

Message

Statistics

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
Matlab application on Arduino board (standalone) without using SIMULINK
Hi Halsey, Yes you can program arduino board using a MATLAB script. You have to use a MATLAB Function Block to do t...

5 years ago | 2

| accepted

Answered
Simulink Modell terminates with " Reference to non-existent field 'accessInfoMap' ", when a MATLAB Function block is involved
I got a similar error. Error encountered while executing PostCodeGenCommand for model '<model name>': Reference to non-existe...

5 years ago | 0

Answered
Plot the graph of gain margin with changing variable
I think this documentation <http://in.mathworks.com/help/control/ug/model-array-with-single-parameter-variation_bsvnso4.html lin...

8 years ago | 0

Answered
Why won't imwrite save to a 16 bit tiff when called from a function?
That should not happen. Running a code from Command Window or from a script are same. Please make sure you are not missing anyth...

8 years ago | 0

Answered
Audiorecorder level trigger starting record
I think you may refer to this <http://in.mathworks.com/matlabcentral/answers/156656-how-to-trigger-the-microfone-to-record-via-g...

8 years ago | 0

Answered
How do I plot a curved plane in 3D stored as patch data in 2D, preserving distances
I think 'patch' will not give you the transformed 2-D data from the vertices and faces. To preserve the planar distance between ...

8 years ago | 0

Answered
Check if input status has changed over time period x
Not very sure about your use case, but seems like the attached demo model could be helpful. Use the 'Detect Change' block. As th...

8 years ago | 0

Answered
Viewing derived parameter in simscape in-order to debug
I don't think there is a direct way of logging the parameters like the signals. Since you are using a custom component and the p...

8 years ago | 0

Answered
How to get a damped sine wave with phase delay in Simulink?
You may use element-wise product to get an exponential sine wave. For conditions on beginning and ending of the signal, you may ...

8 years ago | 0

Answered
Hello, How can i plot tension and current on the board of each Element (Resistance and capacitor,…) of an electric circuit diagram?
Not sure what do you mean by tension of an electric element. But you may use sensors like voltage sensor (current sensor) to de...

8 years ago | 0

| accepted

Answered
How to let user enter student id and show the final marks
You may refer to the following two functions and create the actual ones. function y= get_marks(id) % Gives the marks...

8 years ago | 1

| accepted

Answered
GUIDE UI object positions change between retina display and windows
There is a bug in how 'character' units are handled between systems in different operating systems (specifically operating syste...

9 years ago | 0

Answered
Command window not dynamically displaying data in R2015b, waits till end of run to display everything
I am not sure how you constructed your code. However, you may follow the steps below or check if you have followed this while im...

9 years ago | 0

Answered
Auto align an image using Hough Transform
I would like to know how are you verifying the result? Have you written another code to get the output? In that case I would sug...

9 years ago | 0

Answered
Single-phase fully-controlled thyristor converter simulation using simulink
As far as I understood from your model is that you are using a pulse to trigger the gate and the input is a sine wave. However, ...

9 years ago | 0

Answered
Optical signal intensity detection by Photodiode
What I understood from your problem is that you want to compare the values of two array in MATLAB. To find out the maximum of in...

9 years ago | 0

Answered
I am being tasked with building an image processing GUI and need to set geometries within an image. Need some instruction on where to start.
I think you need to perform some thresholding operation before detecting the pattern. You may either perform thresholding using ...

9 years ago | 0

| accepted

Answered
Trouble in alternating direction implicit method
See the following function for solving implicit differential equation http://www.mathworks.com/help/matlab/ref/ode15i.html#zm...

9 years ago | 0

Answered
Stop and start timer in GUI with different StartDelay
I think the issue is not with GUI. Rather it is related to controlling the timer object. Since the timer works in background and...

9 years ago | 1

Solved


radius of a spherical planet
you just measured its surface area, that is the input.

9 years ago

Solved


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

9 years ago

Solved


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

9 years ago

Solved


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

9 years ago

Solved


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

9 years ago

Solved


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

9 years ago

Solved


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

9 years ago

Solved


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

9 years ago

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

9 years ago

Solved


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

9 years ago

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

9 years ago

Load more