Answered
KLT tracker: vision.PointTracker is whether affine model or translation model
Hi Nisha, The KLT Algorithm uses the 'good features to track' which assumes the affine model. You can go thourgh the following...

meer dan 3 jaar ago | 0

| accepted

Answered
Is there an equivalent serialbreak() function with the new serialport class in MATLAB 2020b?
Hi Matthew, As of MATLAB R2019b there is no builtin function to send a serial break to the 'serialport' object. Instead this w...

meer dan 3 jaar ago | 0

Answered
K-means Clustering for Image Segmentation to find sum of cluster's pixels
Hi Sebastian, Assuming that the goal is finding the pixels corresponding to a particular cluster, one can use the "find" functi...

meer dan 3 jaar ago | 0

| accepted

Answered
Volshow contrast or scaling the colormap
Hi, Assuming that the colormap generation is being a bit difficult, one can use the "ColorMap" property of the volshow() functi...

meer dan 3 jaar ago | 0

Answered
Can I change the way Matlab2020b determines default y limits of plots?
Hi, The limits for the axis objects are set automatically in 2020b by default and hence it can take values which are not rounde...

meer dan 3 jaar ago | 0

Answered
An error while using polyxpoly for finding (xi,yi) of an intersecting line and circle
Hi, The x co-ordinates as well as the y co-ordinates of the line and the circle should not be combined as this generates a com...

meer dan 3 jaar ago | 1

| accepted

Answered
How to generate 10 iid Gaussian random samples having mean 0 and variance 10. From the generated samples check the mean and the variance. Repeat the experiment for 100 samples, 1000 samples and so on.
Hi, The following lines of code might be helpful: mu = 0; variance = 10; num_sample = 1000; sample_arr = mu+sqrt(variance...

meer dan 3 jaar ago | 0

| accepted

Answered
Why i have error when open Matlab
MATLAB might be unable to resolve the default path. The following link might be helpful: https://www.mathworks.com/matlabcentra...

meer dan 3 jaar ago | 0

Answered
Detecting watershed oversegmentation errors
The over-segmentation of the Watershed algorithm may be resolved by using the 'imhmin' function prior to using the 'watershed' f...

meer dan 3 jaar ago | 0

Answered
How to extract Best fitness graph for Genetic Algorithm in Matlab after each optimization run?
Hi, The following link might be helpful: https://www.mathworks.com/help/gads/creating-a-custom-plot-function.html Hope thi...

meer dan 3 jaar ago | 0

Answered
How can I use sigmoid layer at output for multilabel classification?
The following link might be helpful: https://www.mathworks.com/matlabcentral/answers/409466-how-can-i-use-a-sigmoid-output-lay...

meer dan 3 jaar ago | 0

Answered
Extra margin or boarder space around apps in 20a/20b.
CEF (Chromium Embedded Framework) windows scale up pixel positions for any DPI higher than 96 on a Windows system. However, it a...

meer dan 3 jaar ago | 0

| accepted

Answered
Finding x and y values of a point on a Simulink plot
The fllowing link might be helpful for solving the problem: https://www.mathworks.com/matlabcentral/answers/92034-is-it-possibl...

meer dan 3 jaar ago | 0

Answered
Find a square in an image and give back it's location and color in the image
The following link might be helpful for solving your problem: https://www.mathworks.com/matlabcentral/answers/24943-detect-squa...

meer dan 3 jaar ago | 0

Answered
Does 'fitglm' use least squares or maximum likelihood to form the fit?
The 'fitglm' function makes use of the “Iteratively Reweighted Least Squares” method to find the regression coefficients in the ...

meer dan 3 jaar ago | 0

| accepted

Answered
Hanning window Frequency Domain Graph
The graph for frequency response is correct. In case you want to generate a plot for magnitude response in decibels, make the fo...

meer dan 3 jaar ago | 1

| accepted

Answered
How can I remove outliers by using mahalanobis distance?
One can use p-values obtained from a chi-squared distribution to remove outliers using Mahalanobis Distance. The p-values f...

meer dan 3 jaar ago | 1

| accepted

Answered
How to find mosaic plot of this dataset
There is no direct implementation for mosaic plot in MATLAB. A workaround for this issue would be to access the zip file “mosa...

meer dan 3 jaar ago | 0

Answered
Matlab function which convolves a one dimensional signal with a one dimensional filter
The following code snippet defines a function for 1D convolution: function z = conv1D(x,y) l = length(x); z = zeros(2...

meer dan 3 jaar ago | 0

Answered
What is the difference between scalogram and scatteing coeffcients??
Consider a 1-D signal F. The zeroth order scattering coefficient can be obtained by convolving F with the scaling function  to o...

meer dan 3 jaar ago | 0

| accepted

Answered
3D Delaunay Triangulation Error/Weirdness
Since the number of faces is set to 100 for the given sphere function, the triangulation has become highly dense. Here are so...

meer dan 3 jaar ago | 0

Answered
How can I sample a signal after it goes through a communication channel?
Assuming that the mathematical form of r(t) is known, the following code snippet will generate a sequence of sampled points from...

meer dan 3 jaar ago | 0

| accepted

Answered
How can I overlay in color a matrix over a grey scale image with Matlab2020
The function imagesc can be used to produce the desired results. Assuming that I and A are 2-dimensional arrays, the followin...

meer dan 3 jaar ago | 0

Answered
Is it possible to use Euclidean Transform with estimateGeometricTransform function
The estimateGeometricTransform function cannot estimate non-scaling or rigid transformation matrices. However, there are o...

meer dan 3 jaar ago | 0

Answered
Need help in making a Markov Probability Matrix
Assuming random values for the Markov probability matrix, the following snippet might be helpful for defining a Markov Probabili...

meer dan 3 jaar ago | 0

| accepted