Community Profile

photo

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.

Prabhan Purwar's Badges

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

View details...

Contributions in
View by

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
Bar Graph attached to Live maping
Following link may help: https://www.mathworks.com/help/matlab/creating_plots/color-analysis-with-bivariate-histogram.html(Colo...

21 days ago | 0

Answered
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

Answered
solving problem for gradient descent
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
zero crossing detection -simulink
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
4 Unknowns in 4 trig equations.
Hi, Instead of returning an infinite set of periodic solutions for the simultaneous trigonometric equations, the solver picks t...

3 months ago | 0

| accepted

Load more