Community Profile

photo

Pratyush Roy


Last seen: 1 día ago

MathWorks

34 total contributions since 2020

I am an Application Support Engineer at MathWorks.
My responsibility is to provide the best support for an application like ML,Image Processing, Signal Processing.
Disclaimer: Any articles/idea/opinions here are my own and in no way reflect that of MathWorks.

Pratyush Roy's Badges

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

Answered
Gaussian Elimination with Partial Pivoting, how do I swap rows
Hi Susanna, The variable 'k' seems to be not defined for the line given below: [m,I]=max(abs(A(k:n,k)) Can you furnish some...

16 días ago | 0

Answered
Matlab code for ODE problems
Hi Garrett, For all the methods for solving ODEs, the time as well as variable should change in steps. Considering the code sni...

29 días ago | 0

Answered
Keep getting Error: "Derivative of state '1' in block 'ECSE324_CaseStudy1Simulink/Integrator' at time 203.47847445739953 is not finite. The simulation will be stopped."
Hi Rory, The following link shows a similar case where the customer is facing an issue for non-finite derivative for an integra...

29 días ago | 0

Answered
goodness of fit ksdensity
Hi jstar, The goodnessOfFit function available in the System Identification Toolbox can be used to find goodness of fit. Let ...

alrededor de 1 mes ago | 1

Answered
Finding sumpixel value (in graph) for a video which has 514 frames.
Hi Thakif, Appending the sumpixel value for every frame in an empty array using for loop and plotting the array outside the loo...

alrededor de 1 mes ago | 0

Answered
How can construct a QAM signal with a specific center band(carrier) frequency in Simulink?
Hi Balint, You can go through the following links for help: https://www.mathworks.com/help/comm/ug/passband-modulation.html h...

alrededor de 1 mes ago | 0

Answered
I want to know if my data would fit a linear/exponential/logarithmic line. How do I figure this out?
Hi Benine, The Interactive Curve and Surface fitting app in the Curve Fitting toolbox is a good tool to create, plot and compar...

alrededor de 1 mes ago | 0

Answered
how to change amplitude? phased.FMCWWaveform
Hi Khurram, One cannot directly set the amplitude value using the phased.FMCWWaveform. As a workaround the step function on t...

alrededor de 1 mes ago | 0

Answered
Does the values of "start" effects the estimation of the 3 parameter weibull distribution
Hi Mustafa, The mle function uses the “fminsearch” or “fmincon” options to maximise the mle parameters iteratively. The ”s...

alrededor de 1 mes ago | 0

| accepted

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

alrededor de 1 mes 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...

alrededor de 1 mes 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...

alrededor de 1 mes 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...

alrededor de 1 mes 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...

alrededor de 1 mes 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...

alrededor de 2 meses 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...

alrededor de 2 meses 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...

alrededor de 2 meses 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...

alrededor de 2 meses 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...

alrededor de 2 meses 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...

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

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

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

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

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

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

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

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

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

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

3 meses ago | 0

Load more