I am an Application Support Engineer at MathWorks. My job position allows me to explore different domains in MathWorks and find my target domain by doing projects in different domains.

My areas of interest are Signal processing and communications.

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

Answered

Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.

The reason for showing 1x1 sym for theta1 is that they are declared as symbolic variables using syms theta1. However, 0x1 sym is...

Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.

The reason for showing 1x1 sym for theta1 is that they are declared as symbolic variables using syms theta1. However, 0x1 sym is...

15 days ago | 0

Answered

Eye Diagram different values in measurement for histogram and line plot

Hi Muhammad, In the attached simulink model, the Stop Time is 100 sec. So, when you are trying to change the Display Mode to 2D...

Eye Diagram different values in measurement for histogram and line plot

Hi Muhammad, In the attached simulink model, the Stop Time is 100 sec. So, when you are trying to change the Display Mode to 2D...

15 days ago | 0

Answered

Is there a way to display a pdeplot3d in a subplot?

Hi Christian_T You can display a pdeplot3d in a subplot like other 3d plots. I am using example code available in pdeplot3d doc...

Is there a way to display a pdeplot3d in a subplot?

Hi Christian_T You can display a pdeplot3d in a subplot like other 3d plots. I am using example code available in pdeplot3d doc...

16 days ago | 0

Answered

Error using sym/subsindex

Hi Susmit In the given code, the error is due to the presence of x(j+1) and y(j+1) that belongs to Class uint32. However, the E...

Error using sym/subsindex

Hi Susmit In the given code, the error is due to the presence of x(j+1) and y(j+1) that belongs to Class uint32. However, the E...

16 days ago | 0

Answered

How to measure the amplitude and wavelength of the following wave I got after edge detection. Also, I want just one of upper or lower curve as they both have same parameters.

Here is the link for a similar question and the code to get the x and y values for the wave after edge detection is available in...

How to measure the amplitude and wavelength of the following wave I got after edge detection. Also, I want just one of upper or lower curve as they both have same parameters.

Here is the link for a similar question and the code to get the x and y values for the wave after edge detection is available in...

16 days ago | 0

| accepted

Answered

Integrate new rows inside matrix and repeating them

Here is the code to integrate two lines inside matrix and repeated frequently before each rows. A = [ "G"+1 "X"+8 "Y"+118 ...

Integrate new rows inside matrix and repeating them

Here is the code to integrate two lines inside matrix and repeated frequently before each rows. A = [ "G"+1 "X"+8 "Y"+118 ...

17 days ago | 0

| accepted

Answered

How to Code This Using filter?

Assuming that 'a' is input data and 'x' is the output data, you can use the filter function as shown below a = 1:5; num = 1; ...

How to Code This Using filter?

Assuming that 'a' is input data and 'x' is the output data, you can use the filter function as shown below a = 1:5; num = 1; ...

18 days ago | 0

| accepted

Answered

Single sided spectrum through FFT algorithm

Hi Aishwarya, Here is the explanation for the lines highlighted in bold. 1. f = fs/2*linspace(0,1,NFFT/2+1); https://www.mat...

Single sided spectrum through FFT algorithm

Hi Aishwarya, Here is the explanation for the lines highlighted in bold. 1. f = fs/2*linspace(0,1,NFFT/2+1); https://www.mat...

18 days ago | 1

| accepted

Answered

How can I equate coefficients of the like powers from rhs and lhs in an equation to obtain a system of ODEs?

Hi Silvia, You can use the coeffs function to equate like powers of t and obtain the corresponding ODEs. eqn = lhs(EQ12)-rhs(E...

How can I equate coefficients of the like powers from rhs and lhs in an equation to obtain a system of ODEs?

Hi Silvia, You can use the coeffs function to equate like powers of t and obtain the corresponding ODEs. eqn = lhs(EQ12)-rhs(E...

18 days ago | 0

Answered

Finding roots of a matrix equation

Refer the roots documentation from the given link https://www.mathworks.com/help/matlab/ref/roots.html

Finding roots of a matrix equation

Refer the roots documentation from the given link https://www.mathworks.com/help/matlab/ref/roots.html

19 days ago | 0

Answered

transient analysis in power system

You can use the File Exchange links, link1 link2 to do the transient analysis of a power system. You can also use Simscape Elect...

transient analysis in power system

You can use the File Exchange links, link1 link2 to do the transient analysis of a power system. You can also use Simscape Elect...

1 month ago | 0

| accepted

Answered

How to right use awgn after audioread?

Hi Nik, Here, the snr value increases by 1 dB for every for loop iteration. Since, some userdefined functions are used before s...

How to right use awgn after audioread?

Hi Nik, Here, the snr value increases by 1 dB for every for loop iteration. Since, some userdefined functions are used before s...

1 month ago | 0

Answered

Mathworks SDR e-book failure: "The Fixed-Point Designer must be available to construct an MFILT.CICINTERP filter."

Hi David, Fixed-Point Designer provides data types and tools for optimizing and implementing fixed-point and floating-point alg...

Mathworks SDR e-book failure: "The Fixed-Point Designer must be available to construct an MFILT.CICINTERP filter."

Hi David, Fixed-Point Designer provides data types and tools for optimizing and implementing fixed-point and floating-point alg...

1 month ago | 0

Answered

Change keyboard shortcuts for switching between editor and command window

Hi Nirab For the 2020b update, the keyboard shortcuts are not configurable. One more update has been made to the existing enhan...

Change keyboard shortcuts for switching between editor and command window

Hi Nirab For the 2020b update, the keyboard shortcuts are not configurable. One more update has been made to the existing enhan...

1 month ago | 0

Answered

designing BPFs using butter function

As the frequency response of the Butterworth filter is maximally flat (no ripples), you do not have an option to specify the pas...

designing BPFs using butter function

As the frequency response of the Butterworth filter is maximally flat (no ripples), you do not have an option to specify the pas...

1 month ago | 0

Answered

Discrepancy help article and functionality of "display" block in Dashboard Blockset

Hi Jonathan, The Display block from the Dashboard library supports vector, 2-D matrix, and complex signals. This feature is av...

Discrepancy help article and functionality of "display" block in Dashboard Blockset

Hi Jonathan, The Display block from the Dashboard library supports vector, 2-D matrix, and complex signals. This feature is av...

1 month ago | 1

| accepted

Answered

Error with Push Button Callback (including check boxes)

Hi Chirag, In the given code, the reason for the error "Too many input arguments" is that the getdatafromTRA0104 function is de...

Error with Push Button Callback (including check boxes)

Hi Chirag, In the given code, the reason for the error "Too many input arguments" is that the getdatafromTRA0104 function is de...

1 month ago | 1

| accepted

Answered

Using the solve function for a more complex variable

Hi Noel, Use the solve function to find the solution for the above equations as shown below. syms x y z s1 s2 c1 c2 eqn1 = x ...

Using the solve function for a more complex variable

Hi Noel, Use the solve function to find the solution for the above equations as shown below. syms x y z s1 s2 c1 c2 eqn1 = x ...

2 months ago | 1

| accepted

Answered

.m Script into GUI App Help

Hi Ann Type guide in MATLAB command window. Open Blank GUI(default). Drag and drop the axes and push button in GUI figure wind...

.m Script into GUI App Help

Hi Ann Type guide in MATLAB command window. Open Blank GUI(default). Drag and drop the axes and push button in GUI figure wind...

2 months ago | 0

Answered

How to record a sound using App Designer in real-time

Hi Mike Use the audiorecorder object to record audio data from an input device such as microphone in App designer. Refer the ...

How to record a sound using App Designer in real-time

Hi Mike Use the audiorecorder object to record audio data from an input device such as microphone in App designer. Refer the ...

2 months ago | 1

| accepted

Answered

plot() doesn't work in .m file?

Assuming that you have included the code for reading table into M and storing it in x and y before using plot(x,y), the error mi...

plot() doesn't work in .m file?

Assuming that you have included the code for reading table into M and storing it in x and y before using plot(x,y), the error mi...

2 months ago | 1

| accepted

Answered

Assigning values to variables after using isolate?

In your code, check with the symsum function as it do not return the sum of the series((-D*n^2*pi^2*t)/(r^2))) with respect to t...

Assigning values to variables after using isolate?

In your code, check with the symsum function as it do not return the sum of the series((-D*n^2*pi^2*t)/(r^2))) with respect to t...

2 months ago | 0

Answered

Calculating double integral of two variable

Hi Ismael, To calculate the double integral of a two variable function, integral2 accepts only numeric variables. So, the entir...

Calculating double integral of two variable

Hi Ismael, To calculate the double integral of a two variable function, integral2 accepts only numeric variables. So, the entir...

2 months ago | 0

Answered

freqresp gives wrong output for purely real inputs

Hi Will, I have brought the issue of 'freqresp accepting frequency input with non-zero imaginary part' to the notice of our dev...

freqresp gives wrong output for purely real inputs

Hi Will, I have brought the issue of 'freqresp accepting frequency input with non-zero imaginary part' to the notice of our dev...

2 months ago | 1

| accepted

Answered

Trouble with integration of double integer

In the given code, as x(k+1))*cos(2*pi*k*t) is a constant value, integration of this constant can be done as shown below. fun =...

Trouble with integration of double integer

In the given code, as x(k+1))*cos(2*pi*k*t) is a constant value, integration of this constant can be done as shown below. fun =...

3 months ago | 0

Answered

Create marks and names for 6 other subjects inside the same structure. Then write code that determines which subject has the highest mark. Once found, print the name of the subject with the highest mark to the command window.

Use the below code to find the subject with the highest mark and print the subject name. len = length(student.subjects); for i...

Create marks and names for 6 other subjects inside the same structure. Then write code that determines which subject has the highest mark. Once found, print the name of the subject with the highest mark to the command window.

Use the below code to find the subject with the highest mark and print the subject name. len = length(student.subjects); for i...

3 months ago | 0

Answered

Remove point at the edge

Hi Fateh In the above figure, find the equation of the bottom line (long width) of the rectangle highlighted in the red colour....

Remove point at the edge

Hi Fateh In the above figure, find the equation of the bottom line (long width) of the rectangle highlighted in the red colour....

3 months ago | 0

Answered

How should I resolve the warning "Warning: Reached the maximum number of function evaluations (100000). The result fails the global error test."?

Hi Yaswanth It looks like the warning occurs even when the maximum number of function evaluations are 2000. I recommend you to ...

How should I resolve the warning "Warning: Reached the maximum number of function evaluations (100000). The result fails the global error test."?

Hi Yaswanth It looks like the warning occurs even when the maximum number of function evaluations are 2000. I recommend you to ...

3 months ago | 0

| accepted

Answered

Changes in font, font size and fontweight (bold) within a tabe

Hi, Please find the below code to change the font, font size and font weight of a table. import mlreportgen.dom.*; myReport =...

Changes in font, font size and fontweight (bold) within a tabe

Hi, Please find the below code to change the font, font size and font weight of a table. import mlreportgen.dom.*; myReport =...

3 months ago | 0

Answered

Calculate values for a variable of an implicit function

Hi Plato To calculate the values for a variable of an implicit function, use the below code. f=0.2; r=0.41; a=0.08; syms y ...

Calculate values for a variable of an implicit function

Hi Plato To calculate the values for a variable of an implicit function, use the below code. f=0.2; r=0.41; a=0.08; syms y ...

3 months ago | 0