Community Profile

# Prabhan Purwar

### MathWorks

44 total contributions since 2019

I am an EDG Engineer at Mathworks. My area of interest is works related to Signal processing, Augmented Reality, Artificial Intelligence, Image Learning, and Machine Learning.

Disclaimer: Any advice or opinions are purely my own and not in any way that of MathWorks.

View details...

Contributions in
View by

Finding Binary Values on 3D matrix
Following code illustrates the find() function upon 3D matrix a(:,:,1) = 0 0 0 0 0 0 0 0 ...

17 days ago | 0

Spectral Clustering of Image
Hello, The following paper illustrates the use of ASM-based segmentation upon data obtained from spectral partitioning. (Refer ...

17 days ago | 0

How to run Hough transform in real time?
Hi, You may make use of GPU accelerated Hough transform algorithm to detect a circular object in the acceptance rate of 7 fps (...

17 days ago | 0

| accepted

How to make a video of two plots rather than one
Hi, Make use of subplot() to get side by side comparison, as illustrated in the code below. h = figure; subplot(2,1,2); plot...

18 days ago | 0

| accepted

how can I make this nonstationary signal's dft graph?
Hi, The following code illustrates a method to find DFT of a nonstationary signal. a=1; f=[5 20 50 1000]; for i=1:length(f) ...

18 days ago | 1

| accepted

How to configure the input signal as a step input for a PID tuner?
Hi, Following link's may help https://www.mathworks.com/help/control/ref/pid.html#bsmdmvx-5(PID) https://www.mathworks.com/di...

20 days ago | 0

Code running, but not being displayed in command window?
Hi, The code seems to be good and functioning as expected (please look over the attachment). Could you please elaborate on the ...

20 days ago | 0

Understanding How to Manually Code the KDTreeSearcher
Hi, The nearest neighbour search (NN) algorithm aims to find the point in the tree that is nearest to a given input point. This...

20 days ago | 0

Use unique on a cell array containing two columns
Hello, Kindly provide a small subset of data to replicate your problem. The following link may be helpful: https://www.mathwo...

20 days ago | 0

Bar Graph attached to Live maping

21 days ago | 0

TIme shifting an audio in a frequency domain
Hey, The following code illustrates the Time-shifting of a signal in the frequency domain. [data,fs] = audioread('FemaleSpeec...

21 days ago | 0

Hi, Following code Illustrates the working of Gradient Descent for 3 variables. To eliminate error changes were made to: Init...

2 months ago | 0

| accepted

Spline coefficients for data point
Hello, Spline definesa polynomial among the breakpoints in the curve. To define the coefficient at a particular ‘x value’ there...

2 months ago | 0

| accepted

Trace a meandering line
Hello, Following are the links to various codes and methods used for Skeletonization https://www.mathworks.com/matlabcentral/f...

2 months ago | 0

How to make 3D image with 2D images at different angle completing 360 deg
Hi, 3D Image construction could be performed by making use of the following techniques: Making use of Photometric Stereo to re...

2 months ago | 0

distance between object moving
The following code illustrates the working of regionprops()function to determine the boundary along with the connected component...

2 months ago | 0

Integrating a standard ellipse using mvnlps
Hi, Mvnlps() is one of the several submissions in MATLAB File Exchange on MATLAB Central which is a forum for our product users...

2 months ago | 0

R-Squared in Curve-fitting Tool
Hello, Different methods weight the residuals differently while Fitting the curve, leading to a different curve, which is respo...

2 months ago | 0

More Training data for R-CNN detector causes overfitting?
Hi, Overfitting happens when the model fits too well to the training set. It then becomes difficult for the model to generalize...

2 months ago | 1

| accepted

Can we solve this on MATLAB?
Following equation can be solved by making use of curl() and vpasolve() functions, as shown in the below example code: syms x y...

2 months ago | 0

Fix Color to Value in Contour
Hi, The contour plot uses the current color map of the figure to decide the color pattern. A custom colormap can be used to plo...

2 months ago | 0

How do I create a matrix of the surf features for about 100 images?
Hello, I am assuming that you are making use of a Neural Network for classification purpose. Following code makes a row-wise...

2 months ago | 0

| accepted

How to Deploy Code on Target Machine having no toolbox
The following link provides a detailed description on generating MEX function for Statistics and Machine Learning Toolbox™ funct...

3 months ago | 0

Hi, A variable-step solver dynamically adjusts the time step size, causing it to increase when a variable is changing slowly an...

3 months ago | 0

Solve equations with constraints
Hi, Following code represents the working of solve and assume functions to solve equations with conditions. syms A k q c beta...

3 months ago | 1

| accepted

How Do I add user input to a matrix already defined in my work space?
Following code illustrates the updation of data matrix based on user input clc close all clear %Defining a 16*1 random matri...

3 months ago | 0

Read and analyse multiple .wav files
Hi, Following code illustrates the saving and loading of multiple .wav files Take care while selecting value of i, as it depe...

3 months ago | 0

problem with polyfin with matrix
I am assuming that you are attempting to fit a polynomial for 2 vectors only, at a time. In the present code polynomial is fit...

3 months ago | 1

| accepted

integral of a piece wise function
Hi, Integral of a function can be calculated either by making use of integral() function or trapz() function, which is more sui...

3 months ago | 0

| accepted