Community Profile

photo

Prabhan Purwar


MathWorks

30 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

  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

1 month ago | 0

| accepted

Answered
Data Classification in Matlab
Hello, Classification of clustered data can be achieved by projecting your data into a higher dimension, by making use of Linea...

1 month ago | 0

Answered
plot a single Error bars
Hi, Bar chart can be created by making use of bar and errorbar functions as shown in the following code. x=1; y=8.35; sd=4.13...

1 month ago | 0

| accepted

Answered
IF..THEN rules
Hey, Following is an example going through various process included for achieving a fully functional fuzzy inference system Ta...

1 month ago | 0

| accepted

Answered
Stereo vision 3d scene reconstruction is flat
Hey, Attached code seems good, although with a minor problem like ptCloud is overwritten. It seems like input images or stereoP...

2 months ago | 0

Answered
Error with imwrite which appears to be toolbox code issue
Hey, The error you are facing is due to some fault while configuring the path or compatibility issue among output file format a...

2 months ago | 0

Answered
I want to recognize only the handwriting numbers (blue color). I attached my code, it can only recognize the printed numbers. I used Mnist database to recognize them. How to recognize only the handwriting numbers?
Hey, Assumption: This solution is justified only for cases having handwritten images in a different color to that of computer-g...

2 months ago | 0

| accepted

Answered
How can I make this features extraction code to detect and count
Hey, Detection and Tracking are two interdependent processes. Object Detection and Recognition Code based upon Point Feature ...

2 months ago | 0

Answered
Finding the variation in movement of particular colour in series of image
Assumption: I am assuming the camera to be stationary and object moving. You can make use of imfindcircles() function to detect...

2 months ago | 0

Answered
Solving Vibration equation of motion?
Hey, Ordinary differential equations can be solved in following ways: Using MATLAB As addressed by you, using ODE45 ht...

2 months ago | 0

Answered
optimization for trajectory input variables
Hey, The problem basically consists of an optimizing system of differential equations. A model with varying parameters can be ...

2 months ago | 1

Answered
plotting Data vs timeline
Hey, The straight line is appearing in the graph because of the interpolating nature of the plot() function. Data extracted f...

2 months ago | 0

| accepted

Answered
Depth-first search that starts from the right side of the loop
Hello, Please refer to the following pseudo-code for generating the desired output, Initialization: Create a global flag array...

2 months ago | 0

Answered
How can I rotate a marker by a desired angle/azimuth on the map?
quiver() works fine in placing markers on the plotted graph. Following example illustrates drawing marker at various angles and...

3 months ago | 0

Answered
Can anyone suggest something that could fix the program
Code is working perfectly fine. The output of lsqcurvefit() function is the best fit of variables and depends upon assigned mode...

3 months ago | 0