Answered

my datatip disappears in app GUI when i add another y axis

Refer to the link below https://www.mathworks.com/matlabcentral/answers/266547-why-always-said-an-error-occurred-while-drawing-...

my datatip disappears in app GUI when i add another y axis

Refer to the link below https://www.mathworks.com/matlabcentral/answers/266547-why-always-said-an-error-occurred-while-drawing-...

4 years ago | 0

| accepted

Answered

How to combine multi column cell in table with commas for excel?

You can try creating table from string array rather than numeric array to combine the data for A into one column as shown below ...

How to combine multi column cell in table with commas for excel?

You can try creating table from string array rather than numeric array to combine the data for A into one column as shown below ...

4 years ago | 0

Answered

Equation with multiple variables: Finding all combinations x1,x2 that lead to certain outcome y.

You can use meshgrid to obtain all possible combinations of x1 and x2 followed by feval to evaluate the function as shown below ...

Equation with multiple variables: Finding all combinations x1,x2 that lead to certain outcome y.

You can use meshgrid to obtain all possible combinations of x1 and x2 followed by feval to evaluate the function as shown below ...

4 years ago | 0

Answered

Obtaining bode plot from FRF

You can estimate the transfer function from the frequency response data using tfest. Once the transfer function is obtained you ...

Obtaining bode plot from FRF

You can estimate the transfer function from the frequency response data using tfest. Once the transfer function is obtained you ...

4 years ago | 0

Answered

Need help with OFDM noise module

I suppose you think your model is inaccurate because BERtheory and BERarray does not match. This is because you are performing b...

Need help with OFDM noise module

I suppose you think your model is inaccurate because BERtheory and BERarray does not match. This is because you are performing b...

4 years ago | 0

Answered

Plotting Matrix Columns with Colorbar

You can use contour function to plot isochrones as shown below. x=1:50; t=1:5000; M=somefun(x,t) % dimensions of M= 50x5000 ...

Plotting Matrix Columns with Colorbar

You can use contour function to plot isochrones as shown below. x=1:50; t=1:5000; M=somefun(x,t) % dimensions of M= 50x5000 ...

4 years ago | 0

Answered

I am trying to open Simulink but an error massege pops up in command promt as follows:

Its not clear what qss_tb_library is. In case you are trying to open Simulink, use the following command in command window simu...

I am trying to open Simulink but an error massege pops up in command promt as follows:

Its not clear what qss_tb_library is. In case you are trying to open Simulink, use the following command in command window simu...

4 years ago | 0

Answered

need help in plotting this simulink

You can set the sample time of the input block you are using to 1/n and set the Stop Time to 1.

need help in plotting this simulink

You can set the sample time of the input block you are using to 1/n and set the Stop Time to 1.

4 years ago | 0

Answered

I keep getting this error, " Failure in initial objective function evaluation. FSOLVE cannot continue."

fsolve fails to continue because the function MyFunction doesnot not have access to the variables (M1, M2, M3...). You can use ...

I keep getting this error, " Failure in initial objective function evaluation. FSOLVE cannot continue."

fsolve fails to continue because the function MyFunction doesnot not have access to the variables (M1, M2, M3...). You can use ...

4 years ago | 0

| accepted

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

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

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

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

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

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

5 years 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/...

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

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

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

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

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

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

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

5 years 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

5 years 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

5 years 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)

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

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

5 years ago | 1

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

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

5 years ago | 0