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

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

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

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

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

4 years ago | 1

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

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

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

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

4 years ago | 1

| accepted

Answered
Why does indent in live scripts not obey indent setting?
This issue is already brought to the notice of our developers. They will investigate the matter further."

4 years ago | 0

| accepted

Answered
Spectral correlation Function of a signal
Refer the following link to MATLAB GUI for calculation of Spectral Correlation Density. https://www.mathworks.com/matlabcentra...

4 years ago | 0

Answered
Ask about the method Deconvolution with Gaussian Filter
Hi, Use “fft” and “ifft” functions to compute fourier transform and its inverse respectively. For gaussian filtering use “gauss...

4 years ago | 0

Answered
How do I create a frequency waterfall plot from an impulse response?
Use waterfall function to obtain waterfall plot. t=0:1/Fs:info.Duration; t= t(1:end-1)'; Z=[dB_mag(1:NFFT/2) Fy(1:NFFT/2) ...

4 years ago | 0

Answered
Extract info from .json file by matlab
Hi, In order to plot the data use str2num to covert the string to numeric data type. If the data in JSON was array of numbers ...

4 years ago | 0

Answered
Can't use functions like sin(s) with transfer function/nyquist
Hi, nyquist function is based on an algorithm which computes the zero-pole-gain representation of the system. sin(s) cannot be...

4 years ago | 0

Answered
How can i formulate this fitness function ?
Hi, In this case P and O are variables of the order 16-by-12. Use syms to create the symbolic variables and nested for-loop to...

4 years ago | 0

Answered
Flood filling algorithm stop condition
Hi, You can count the total number of pixels checked by the sum of lengths of foreground_queue and background_queue. Once the ...

4 years ago | 0

| accepted

Answered
Subscription assignment dimension mismatch.
Hi, In the line below, RHS has dimensions of 1*1000 and LHS has dimensions 10*10*1000. Make sure the dimensions match to avoid...

4 years ago | 0

Answered
Asymmetric 3D Gaussian Filtering in Matlab
Hi, The input argument “sigma” to the function “imgaussfilt3” must be a positive number or a 3-element vector of positive num...

4 years ago | 0

Answered
i keep getting error about access is denied while installing
Please refer to the following link: https://www.mathworks.com/matlabcentral/answers/195436-why-am-i-getting-access-is-denied-du...

4 years ago | 0

Answered
if f(t)=1/t find the average rate of f with respect to t over the intervals from t=2 to t=3
Hi, Do you want to find average rate or average? Method to find both is given below syms t f=@(t) 1./t; tmin=2; tmax=3; a...

4 years ago | 0

Answered
How to fit a helix in 3D using cftool?
Hi, Assuming the helical parametric equations to be x=a*sin(z) y=b*cos(z) z=t “fittype” can be used to assign the model...

4 years ago | 0

Answered
How to print APP Window
Hi, “print” functionality is not supported by App Designer. Moreover, figures created programmatically using UIFigure do not s...

4 years ago | 0

| accepted

Answered
Figure Tick Marks and Axes Properties in Matlab 2019
Hi, Use “xticks” to have major ticks at desired positions xticks([0:10:300]); In order to have minor ticks check the XMinor...

4 years ago | 0

| accepted

Answered
GUI update ( code and figure )
Hi, Check Generate callback function prototypes under Generate FIG file and MATLAB file in Tools-->GUI Options-> Generate FI...

4 years ago | 0

Answered
How can I solve derivative with restrictions/bounds on variable
Hi, You can use “assume” function to restrict the values of z assume(z>0 & z<L); Moreover, if you are trying to find varia...

4 years ago | 0

Answered
expected value formula in xcorr
Hi, By default, “xcorr” computes raw correlations by summation with no normalization. For more details on working of “xcorr” ...

5 years ago | 0

Answered
Store the values of matrix within a for loop and perform a series of calculations
Hi, Firstly, the line A=(1:100,1) gives error. So, try using this A= [1:100 1]; When ind=1, in case of Z2, dimensions of a...

5 years ago | 0

Answered
coherence plot and correlation plot,time domain to frequency domain
Hi, If you have the Signal Processing Toolbox, use the function "mscohere" to plot coherence. n = 0:599; x = cos(pi/4*n)+r...

5 years ago | 0

| accepted