I am an engineer in Engineering Development Group at Mathworks, Hyderabad. My main responsibilities include handling technical support cases at Mathworks.

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

Answered

How to extend a curve until x-axis and y-axis

Hi, You can use interp1 function to interpolate your plot till x=0. There are different methods the function adopts for interpo...

How to extend a curve until x-axis and y-axis

Hi, You can use interp1 function to interpolate your plot till x=0. There are different methods the function adopts for interpo...

12 days ago | 0

Answered

Use "breakyaxis" with vectorgraphics

Hi, Try to save it using print. Typically, print uses the Painters renderer when generating vector graphics files. However, fo...

Use "breakyaxis" with vectorgraphics

Hi, Try to save it using print. Typically, print uses the Painters renderer when generating vector graphics files. However, fo...

2 months ago | 0

Answered

How do I apply High-pass filter onto this recorded audio? Because we need to take the filer of a.

Hi, You can use Filter Designer app to design your filter and export it to workspace. Refer to the link below for understanding...

How do I apply High-pass filter onto this recorded audio? Because we need to take the filer of a.

Hi, You can use Filter Designer app to design your filter and export it to workspace. Refer to the link below for understanding...

2 months ago | 0

Answered

curve fitting toolbox F test ?

Hi, You can use fitlm to extract p-values. The summary statistics of the model inlcudes p-value for the F-test on the model. P...

curve fitting toolbox F test ?

Hi, You can use fitlm to extract p-values. The summary statistics of the model inlcudes p-value for the F-test on the model. P...

2 months ago | 0

Answered

Discrete transfer function show different results in Simulink and in Matlab!

Hi, This might be because of the unstable poles in discrete transfer function. Try using LTI block instead of discrete transfer...

Discrete transfer function show different results in Simulink and in Matlab!

Hi, This might be because of the unstable poles in discrete transfer function. Try using LTI block instead of discrete transfer...

2 months ago | 0

Answered

saved plot always comes out bitmapped

Hi, Typically, print uses the Painters renderer when generating vector graphics files. However, for some complex figures, prin...

saved plot always comes out bitmapped

Hi, Typically, print uses the Painters renderer when generating vector graphics files. However, for some complex figures, prin...

2 months ago | 0

| accepted

Answered

Finding the curvature of a vector function

Hi, Refer to the following link which has function to calculate the Curvature vector. https://www.mathworks.com/matlabcentral/...

Finding the curvature of a vector function

Hi, Refer to the following link which has function to calculate the Curvature vector. https://www.mathworks.com/matlabcentral/...

2 months ago | 0

Answered

cannot modify plot axes as per documentation

Hi, The changing of units of x- or y-axis units by right-clicking the mouse on the axis label or by right-clicking on the plot...

cannot modify plot axes as per documentation

Hi, The changing of units of x- or y-axis units by right-clicking the mouse on the axis label or by right-clicking on the plot...

2 months ago | 0

Answered

Numerically Integral over one variable only

Hi, Try the following syms x y f=x^2+y; g=3*x-y; fg=f*g; F=int(fg,x,1,3)% to integrate symbolic expression fg with x varyi...

Numerically Integral over one variable only

Hi, Try the following syms x y f=x^2+y; g=3*x-y; fg=f*g; F=int(fg,x,1,3)% to integrate symbolic expression fg with x varyi...

2 months ago | 0

Answered

I solved the differential equation by eigenvalues/eigenvectors, how would I solve for the constants from my initial conditions?

Hi, You can use vpasolve to solve for C1, C2, C3. Try the following vpasolve(subs(X(1),t,0)==3,C3) % to solve for C3. Similar...

I solved the differential equation by eigenvalues/eigenvectors, how would I solve for the constants from my initial conditions?

Hi, You can use vpasolve to solve for C1, C2, C3. Try the following vpasolve(subs(X(1),t,0)==3,C3) % to solve for C3. Similar...

2 months ago | 0

Answered

Unable to perform assignment because the left and right sides have a different number of elements.

Hi, While calculating Q you are using h1 rather than an element in h1 vector . Hence size of ch1and consequently nh1 which are...

Unable to perform assignment because the left and right sides have a different number of elements.

Hi, While calculating Q you are using h1 rather than an element in h1 vector . Hence size of ch1and consequently nh1 which are...

2 months ago | 0

| accepted

Answered

Plotting normalised histogram of parameters

Hi, You can use histogram function to plot normalized histograms. To choose the type of normalization you can refer to Normaliz...

Plotting normalised histogram of parameters

Hi, You can use histogram function to plot normalized histograms. To choose the type of normalization you can refer to Normaliz...

2 months ago | 0

Answered

Evaluating Excel Data to organize data

Hi, You can use importdata to load file into workspace which gives you a structure with fields data and textdata. You can use c...

Evaluating Excel Data to organize data

Hi, You can use importdata to load file into workspace which gives you a structure with fields data and textdata. You can use c...

2 months ago | 1

Answered

How to cut out low frequencies from an audio file signal?

Hi, You can use high pass filter to filter out the low frequencies. Refer to this link to understand designing of high pass fil...

How to cut out low frequencies from an audio file signal?

Hi, You can use high pass filter to filter out the low frequencies. Refer to this link to understand designing of high pass fil...

2 months ago | 0

Answered

Using scatter3 in conjunction with setting axis limits draws at wrong coordinates

Hi, The point is being plotted at right position. Try rotating the plot to make sure the point is at right position

Using scatter3 in conjunction with setting axis limits draws at wrong coordinates

Hi, The point is being plotted at right position. Try rotating the plot to make sure the point is at right position

2 months ago | 0

| accepted

Answered

I am trying to combine plots to one graph for u, p and a. So i need three separate graphs in total but im having trouble combining the plots needed for each graph.

Hi, When you are trying to plot u2, try the following plot (t2,u2, '--r') Similarly for p2 and a2

I am trying to combine plots to one graph for u, p and a. So i need three separate graphs in total but im having trouble combining the plots needed for each graph.

Hi, When you are trying to plot u2, try the following plot (t2,u2, '--r') Similarly for p2 and a2

2 months ago | 0

| accepted

Answered

Data type error finding an actual value for the inverse Laplace of a function when attempting to plot it

Hi, t is a variable and hence cannot be used with plot function. You can plot X_o against t0. plot(t0,X_o)

Data type error finding an actual value for the inverse Laplace of a function when attempting to plot it

Hi, t is a variable and hence cannot be used with plot function. You can plot X_o against t0. plot(t0,X_o)

2 months ago | 0

Answered

Table UI issues in MATLAB

Hi, You can use uifigure instead of figure as shown below fig=uifigure; uitable(fig,'Data',T); To change the properties of t...

Table UI issues in MATLAB

Hi, You can use uifigure instead of figure as shown below fig=uifigure; uitable(fig,'Data',T); To change the properties of t...

2 months ago | 0

Answered

How do I change the names of functions generated by embedded coder?

Hi, Function Customization can be done using using Embedded Coder Dictionary. Refer to this link to specify a rule that govern...

How do I change the names of functions generated by embedded coder?

Hi, Function Customization can be done using using Embedded Coder Dictionary. Refer to this link to specify a rule that govern...

2 months ago | 0

Answered

Button push status GUI

Hi, You can try this function pushbutton1_Callback(hObject, eventdata, handles) % operation 1 here guidata(hObject, handle...

Button push status GUI

Hi, You can try this function pushbutton1_Callback(hObject, eventdata, handles) % operation 1 here guidata(hObject, handle...

2 months ago | 0

| accepted

Answered

How to Plot straight lines and 1 more lines using Bode plot.

Hi, The plot in bode ans.PNG is obtained by factorizing the transfer function i.e transfer function=G1*G2*G3*G4*G5 and bode plo...

How to Plot straight lines and 1 more lines using Bode plot.

Hi, The plot in bode ans.PNG is obtained by factorizing the transfer function i.e transfer function=G1*G2*G3*G4*G5 and bode plo...

2 months ago | 0

Answered

How to plot x(t) vs t in simulink

Hi, Assuming you have X(s), you can use Transfer Fcn block followed by scope to plot X vs t. Note that the input to Transfer Fc...

How to plot x(t) vs t in simulink

Hi, Assuming you have X(s), you can use Transfer Fcn block followed by scope to plot X vs t. Note that the input to Transfer Fc...

2 months ago | 0

Answered

How to increment a value with push button in a GUIDE-based GUI?

Hi, You can initialize the Current_Level in the function gui_ThresholdEstimation_OpeningFcn as shown below function gui_Thresh...

How to increment a value with push button in a GUIDE-based GUI?

Hi, You can initialize the Current_Level in the function gui_ThresholdEstimation_OpeningFcn as shown below function gui_Thresh...

2 months ago | 0

Answered

Column Format in UI Table

Hi, The issue can be resolved by passing the data to uitable from cell array rather than table.

Column Format in UI Table

Hi, The issue can be resolved by passing the data to uitable from cell array rather than table.

4 months ago | 0

Answered

Column Format in UI Table

Hi, You can use format as shown below. format bank table.Data=table.Data % to update the table data to current format

Column Format in UI Table

Hi, You can use format as shown below. format bank table.Data=table.Data % to update the table data to current format

4 months ago | 0

Answered

Generating Rician Fading coefficients

Hi, You can create Rician fading channel system object using comm.RicianChannel and use info method on the system object creat...

Generating Rician Fading coefficients

Hi, You can create Rician fading channel system object using comm.RicianChannel and use info method on the system object creat...

4 months ago | 0

Answered

Structured array or hierarchy of object creation

Hi, You can create a structure AREA with one of its fields as structure Fibre as shown below. AREA.length= 2; AREA.width=...

Structured array or hierarchy of object creation

Hi, You can create a structure AREA with one of its fields as structure Fibre as shown below. AREA.length= 2; AREA.width=...

4 months ago | 0

Answered

how to calculate degree between 3 points in 3-D Co-ordinate in matlab?

Hi, You can find the vectors AB and BC and use dot product of AB and BC to find the angle between them.

how to calculate degree between 3 points in 3-D Co-ordinate in matlab?

Hi, You can find the vectors AB and BC and use dot product of AB and BC to find the angle between them.

4 months ago | 0

Answered

MATLAB 2018b App Designer

Hi, To change the contents of GUI on a click of pushbutton, the visibility of existing components can be turned off and the vi...

MATLAB 2018b App Designer

Hi, To change the contents of GUI on a click of pushbutton, the visibility of existing components can be turned off and the vi...

6 months ago | 0

| accepted

Answered

What is MagNet and how to disable?

Hi, Magnet is a window manager for Mac that keeps the workspace organized. If you have Magnet installed, you can choose to igno...

What is MagNet and how to disable?

Hi, Magnet is a window manager for Mac that keeps the workspace organized. If you have Magnet installed, you can choose to igno...

6 months ago | 0

| accepted