Community Profile

photo

Pratyush Roy


Last seen: 3 days ago

MathWorks

119 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

  • Revival Level 3
  • Knowledgeable Level 3
  • 6 Month Streak
  • First Answer

View details...

Contributions in
View by

Answered
Write 32-bit float Simulink variable to file?
Hi Danijel, There is a Simulink block called Binary File writer which can be used to write binary files. You can go through the...

3 days ago | 0

Answered
Simulink from where to get Model Linearizer i cant find control system where to find all these or i need to buy them from add ons
Hi, You can refer to the documentation link here to understand where to get Linearization manager and how to use it. Hope this...

3 days ago | 0

Answered
Why does PowerGUI Library Link keeps disabling?
Hi Juan, It is expected behavior for the powergui block library link to become disabled in some situations. Due to the way th...

3 days ago | 0

Answered
Create .xyz file from grid data
Hi Laxmikant, You can use the meshgrid to create 2D grids in the X-Y plane and the concat function to concatenate the grid with...

3 days ago | 0

Answered
Spectrum Analyzer sample rate.
Hi Paul, When you right click on the Spectrum Analyzer block and click on the "Properties" option, the following window will po...

4 days ago | 0

Answered
Error in nlinfit function
Hi Harjot, The model function fun requires two input arguments, a coefficient vector and an array X—in that order—and return a ...

4 days ago | 0

Answered
How do I plot output of function symclip?
Hi Andrew, According to the code, x is passed as the input argument to the function. However, according to the second line of t...

4 days ago | 0

Answered
Simulating a simscape circuit
Hi Paul, The model fails to simulate because the other circuit components operate under discrete rate while the spectrum analyz...

5 days ago | 0

Answered
how can i set the load condition to 20% of full load
Hi Ayesha, Every DC Machine block in Simulink comes with several preset models. Each of these models specify certain values for...

5 days ago | 0

| accepted

Answered
How to imbinarize Cell nucleus
Hi, Firstly you can convert the RGB image to a grayscake image using the method rg2gray/ After this, you can use imbinarize wit...

6 days ago | 0

Answered
How do I make a multidimensional random walk?
Hi, For random walk in higher dimensions we can use a similar approach as mentioned in the code for 2 dimensional random walk. ...

6 days ago | 0

| accepted

Answered
plz explain this code on morphological operation
Hi, In the code mentioned above, we use bwlabel to find connected components within the image and attach labels to the connecte...

6 days ago | 1

| accepted

Answered
Inquiry about Fourier Transform
Hi, The variables f and fshift are MATLAB arrays which represent the frequency components of a signal, where the array f varies...

6 days ago | 0

Answered
Signal Labeller App / Machine Learning data format
Hi, The getLabeledSignal function can convert a labelled signal set to a table. You can go through the documentation page for m...

17 days ago | 0

Answered
optimization by minimizing the MAD
Hi, The link here might be helpful. Hope this helps!

19 days ago | 0

Answered
How to extract nodal coordinates in pdetool?
Hi, You can refer to the following link: https://www.mathworks.com/help/pde/ug/pde.femesh-properties.html The Nodes property ...

19 days ago | 0

Answered
Maximum number of labels in VolumeSegmenter
Hi, Unfortunately the maximum number of labels that is supported in the volume visualization with labeled data is 128 due to ...

19 days ago | 0

Answered
How do I create function that is defined by itself?
Hi, As per the equations mentioned above, the function is a periodic one with a period of 4. You can refer to code snippet belo...

19 days ago | 0

Answered
what is the difference between using SVM classifier and normal CNN for image classification?
Hi, In the first case we are using the Alexnet layers as a feature extractor, i.e., to transform the image to its representativ...

19 days ago | 0

| accepted

Answered
Error using internal.stats.pdist2mex
Hi, This issue could be due to RAM limitations. You can try the following workarounds: 1. Go to MATLAB > Preferences > Works...

19 days ago | 0

Answered
Connectivity between pair of Simulink blocks
Hi, There is no direct way to obtain whether any two blocks are conencted or not in Simulink. As a workaround, you can consider...

19 days ago | 0

Answered
applying Ideal low-pass with Gaussian noise image
Hi, You can use the mat2gray function to map the output image values between 0 and 1, where 0 represents black, 1 represents wh...

19 days ago | 0

Answered
How can i sample the function y(t) = sin(200πt) --> y[n] = sin(200πn)
Hi, The following code snippet might be helpful for generating discrete sequences under different sampling frequencies: fs = 4...

20 days ago | 0

Answered
Travelling Salesman Problem Implementation
Hi, The link here might be helpful to run TSP on the given data. Hope this helps!

20 days ago | 0

Answered
Autocorelation of only the colums in the matrix
Hi, As per my understanding, you are trying to find the autocorrelation sequence of the columns of the matrix. The xcorr functi...

20 days ago | 0

Answered
Need Predictor Importance in Random Forest Expressed as a Percentage
Hi, oobPermutedPredictorImportance normalizes the predictor importance by the standard error (this is common practice in the fi...

1 month ago | 0

| accepted

Answered
Problems with syntax and implementation of houghlines
Hi, The lines generated by the houghlines method has several properties.Here point1 and point2 represent the coordinates of the...

1 month ago | 0

Answered
How to reliable find the distance between matrices?
Hi, The function pdist2 might be used to find distances between matrices. Hope this helps!

1 month ago | 0

Answered
Golden section search algorithm
Hi, fplot prefers to pass a vector to the function for efficiency, but checks whether that works and gives a warning if it does...

2 months ago | 0

Answered
How to plot GA best value over Generations?
Hi Felix, You can refer to this answer which tries to address a similar problem. Hope this helps!

2 months ago | 0

Load more