I am an Application Support Engineer at MathWorks.

My area of interest is MATLAB and Signal Processing.

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

Answered

How to fill a black area with circles?

The area which you are concerned about is just a accumulation of black pixels. From the image there is no way to find the exact ...

How to fill a black area with circles?

The area which you are concerned about is just a accumulation of black pixels. From the image there is no way to find the exact ...

22 days ago | 0

Answered

Documentation within MATLAB 2019a extremely slow (Ubuntu)

This has been a known error. Currently there isn't any workaround available for MATLAB R2019a but it was scheduled to be rectifi...

Documentation within MATLAB 2019a extremely slow (Ubuntu)

This has been a known error. Currently there isn't any workaround available for MATLAB R2019a but it was scheduled to be rectifi...

1 month ago | 0

Answered

Conversion to logical from sym not possible

In your code diff(fun) never reaches less than 0, hence the loop isn't executed. Also, you are comapring a symbolic variable wit...

Conversion to logical from sym not possible

In your code diff(fun) never reaches less than 0, hence the loop isn't executed. Also, you are comapring a symbolic variable wit...

2 months ago | 0

Answered

"Warning: Error updating Legend" when opening a saved figure as .fig

Even I could reproduce similar issue in MATLAB 2018a but it worked fine for later versions of MATLAB. I verified it for MATLAB 2...

"Warning: Error updating Legend" when opening a saved figure as .fig

Even I could reproduce similar issue in MATLAB 2018a but it worked fine for later versions of MATLAB. I verified it for MATLAB 2...

2 months ago | 0

| accepted

Answered

binary text file transfer via serial port to FPGA

You may refer to this existing MATLAB Answer for help.

binary text file transfer via serial port to FPGA

You may refer to this existing MATLAB Answer for help.

2 months ago | 0

Answered

Solving 4 equations with 4 unknowns.

You can refer to the Tips section of the documention of solve function. It states that "If solve cannot find a solution and Retu...

Solving 4 equations with 4 unknowns.

You can refer to the Tips section of the documention of solve function. It states that "If solve cannot find a solution and Retu...

2 months ago | 0

Answered

Heatmap, how to put a particular condition?

You may refer to the documentation of heatmap for more details.

Heatmap, how to put a particular condition?

You may refer to the documentation of heatmap for more details.

2 months ago | 0

Answered

Solving 4 equations with 4 unknowns.

Can you share S1, S2 and S3 matrices which you are using?

Solving 4 equations with 4 unknowns.

Can you share S1, S2 and S3 matrices which you are using?

2 months ago | 0

Answered

Tilted circle in 3D mesh

You may to refer an already existing answer in MATLAB Answers in this regard.

Tilted circle in 3D mesh

You may to refer an already existing answer in MATLAB Answers in this regard.

2 months ago | 0

Answered

how can i zero pad of an image(vein) to make it look like a cylinder

If you have the Image Processing ToolBox you can use the function PADARRAY. For example if I wanted to pad 2 zeroes around the m...

how can i zero pad of an image(vein) to make it look like a cylinder

If you have the Image Processing ToolBox you can use the function PADARRAY. For example if I wanted to pad 2 zeroes around the m...

2 months ago | 0

Answered

How to model tapped windings in Simscape?

You can refer to the documentation of Multi-Winding Transformer block which gives a detailed explanation about tapped transforme...

How to model tapped windings in Simscape?

You can refer to the documentation of Multi-Winding Transformer block which gives a detailed explanation about tapped transforme...

2 months ago | 0

Answered

EdgeAlpha for bar plot

The output of the mean function which you are using to calculate mean of matrix y is a vector, not a matrix. The function bar re...

EdgeAlpha for bar plot

The output of the mean function which you are using to calculate mean of matrix y is a vector, not a matrix. The function bar re...

2 months ago | 0

Answered

Counting the number of objects in an image based on colour

You may refer to this documentation for further details and modify the code according to your need

Counting the number of objects in an image based on colour

You may refer to this documentation for further details and modify the code according to your need

2 months ago | 0

| accepted

Answered

how can I calculate the current simulation time

Can you explain the question in a more detailed manner and also attach a better resolution image

how can I calculate the current simulation time

Can you explain the question in a more detailed manner and also attach a better resolution image

2 months ago | 0

Answered

Sinusoidal Frequency Divider Simulink

There is no such block which directly divides an analog frequency. You need to design an analog frequency divider circuit. One s...

Sinusoidal Frequency Divider Simulink

There is no such block which directly divides an analog frequency. You need to design an analog frequency divider circuit. One s...

3 months ago | 0

Answered

Fourier Transform in Simulink

The Matrix Block used isn't giving desired results as the Sum over field is not configured properly. Change the Sum over field t...

Fourier Transform in Simulink

The Matrix Block used isn't giving desired results as the Sum over field is not configured properly. Change the Sum over field t...

3 months ago | 0

Answered

plot errorbars on graph for selected points

You can use a for loop to scan your data and neglect data whose standard deviation is zero for plotting error bars.

plot errorbars on graph for selected points

You can use a for loop to scan your data and neglect data whose standard deviation is zero for plotting error bars.

3 months ago | 0

Answered

How to make a automatic image processing filter?

MATLAB has filters to enhance specific features of an image and you can use these filters as per your need and image. A single f...

How to make a automatic image processing filter?

MATLAB has filters to enhance specific features of an image and you can use these filters as per your need and image. A single f...

3 months ago | 0

Answered

Impulse response function for non-stationary time domain signal

The concept of frequency response from input and output by using convolution in time domain and multiplication in frequency doma...

Impulse response function for non-stationary time domain signal

The concept of frequency response from input and output by using convolution in time domain and multiplication in frequency doma...

5 months ago | 0

Answered

Filter designer Gaussian Window does not apply specified cut off frequencies

As it is a FIR Filter, the order of the filter needs to be large enough to give desired results. Try increasing the order of the...

Filter designer Gaussian Window does not apply specified cut off frequencies

As it is a FIR Filter, the order of the filter needs to be large enough to give desired results. Try increasing the order of the...

5 months ago | 0

Answered

Combine vectors of different dimensions to a table

You can try padding the arrays with 0 or NaN so that all arrays are of same size and the combine them as required

Combine vectors of different dimensions to a table

You can try padding the arrays with 0 or NaN so that all arrays are of same size and the combine them as required

5 months ago | 0

Answered

How can I design such this Digital Filter using MALAB not simulink?

You can use the Filter Designer app in MATLAB. You can refer to this link for more information.

How can I design such this Digital Filter using MALAB not simulink?

You can use the Filter Designer app in MATLAB. You can refer to this link for more information.

6 months ago | 0

| accepted

Answered

Further filtering of accelerometer data

After looking at the Fourier Transform (figure attached) of your input data it can be concluded that it majorly comprises of fre...

Further filtering of accelerometer data

After looking at the Fourier Transform (figure attached) of your input data it can be concluded that it majorly comprises of fre...

6 months ago | 0

Answered

DC-DC Buck converter Cyclic load

The purpose of that cyclic load is to show that the controller is able to regulate the output voltage at its set point while the...

DC-DC Buck converter Cyclic load

The purpose of that cyclic load is to show that the controller is able to regulate the output voltage at its set point while the...

7 months ago | 0

| accepted

Answered

Can we calculate the roots of polynomials with matrix coefficients?

You can use solve function to solve the system of equation in two variables. You may refer to its documentation for more informa...

Can we calculate the roots of polynomials with matrix coefficients?

You can use solve function to solve the system of equation in two variables. You may refer to its documentation for more informa...

7 months ago | 1

Answered

Comparison between elements of matrix of different data type

The way floating points are allocated in the memory is very different as compared to integers. Hence, the algorithm used for com...

Comparison between elements of matrix of different data type

The way floating points are allocated in the memory is very different as compared to integers. Hence, the algorithm used for com...

7 months ago | 0

Answered

reducing noise to calculate peak amplitude

You can compute the Short Time Fourier Transform of the entire signal. If you observe that there is an increase in the peak leve...

reducing noise to calculate peak amplitude

You can compute the Short Time Fourier Transform of the entire signal. If you observe that there is an increase in the peak leve...

7 months ago | 0

Answered

simscape example Model an Isothermal Hydraulic Actuator

Actuators are generally used to control the position of directional values. Its output will not be a sine wave even if a sine wa...

simscape example Model an Isothermal Hydraulic Actuator

Actuators are generally used to control the position of directional values. Its output will not be a sine wave even if a sine wa...

7 months ago | 0

| accepted

Answered

smoothness of a data based on previous dataset

Using a for loop may help you solve the problem. You may refer to the Documentation of for loop.

smoothness of a data based on previous dataset

Using a for loop may help you solve the problem. You may refer to the Documentation of for loop.

7 months ago | 1

| accepted

Answered

Internal heat source PDE

The unit of heatSourceValue in internalHeatSource is W/m3. You can refer Page No. 5-214 of Partial Differential Equation User’s ...

Internal heat source PDE

The unit of heatSourceValue in internalHeatSource is W/m3. You can refer Page No. 5-214 of Partial Differential Equation User’s ...

8 months ago | 0

| accepted