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

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

9 días 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...

10 días 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.

13 días 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...

17 días 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.

17 días 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?

17 días 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.

17 días 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...

18 días 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...

18 días 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...

18 días 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

21 días 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

21 días 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...

alrededor de 2 meses 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...

alrededor de 2 meses 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.

alrededor de 2 meses 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...

alrededor de 2 meses 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...

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

3 meses 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

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

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

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

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

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

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

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

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

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

6 meses ago | 0

| accepted

Answered

Phasor plot representation sinusoidal

There is a similar question asked in the community earlier. You can click here to refer to it. With some modifications, you shou...

Phasor plot representation sinusoidal

There is a similar question asked in the community earlier. You can click here to refer to it. With some modifications, you shou...

6 meses ago | 0

Answered

Simulink bode diagram loop transfer with negative feedback

You may refer to the tutorial video for more information on how to get the open loop transfer function.

Simulink bode diagram loop transfer with negative feedback

You may refer to the tutorial video for more information on how to get the open loop transfer function.

6 meses ago | 0