Community Profile

photo

Gaurav Garg

MathWorks

Last seen: 3 years ago Active since 2019

I am an Application Support Engineer at Mathworks, Hyderabad.

My main interests include Machine Learning, Parallel and Concurrent Programming, Wireless Networks.
DISCLAIMER: Any advice or opinions here are my own, and in no way reflect that of Mathworks.

Statistics

  • Knowledgeable Level 4
  • Revival Level 2
  • 6 Month Streak
  • First Answer

View badges

Content Feed

View by

Answered
How to parallelize when loading lots of data
Hi David, As has been noticed by you already, communication overhead among the threads is the probable cause for slowdown of th...

3 years ago | 0

Answered
How to plot roc and auc for the data
Hi Aishwarya, To know more about ROC-AUC curve, you can go through the given documentation.

3 years ago | 0

Answered
How to predict future values with LSTM (RNN)?
Hi, Since the input dataset and models used by you and examples in MATLAB are different, you are expected to see different resu...

3 years ago | 0

Answered
Why am i getting 'Not enough input arguments?
Hi, From what seems to be the problem so far- You should not include codegen -args {ones(256,256,3,'single')} -config cfg Co...

3 years ago | 0

Answered
Extract Cell Array from Varying Sequence Length Dataset
Hi, The Japanese vowels training set contains 270 sequences. Each sequence has 12 feature dimensions and a variable sequence le...

3 years ago | 0

Answered
Handwritten own MNIST numbers
Hi Luis, You can use Freehand function to draw free hand region of interest, examples for which can be found here. Alternativel...

3 years ago | 1

Answered
Computational cost of KNNsearch function
Hi, knnsearch function can be run with many different input arguments. One such argument is 'NSMethod', which describes the sea...

3 years ago | 0

Answered
MFCC coefficients of a speech sample
Hi Abraham, In order to separate out the individual frequencies present in an audio signal, MFCCs are computed over the signals...

3 years ago | 0

| accepted

Answered
Please help to solve
Hi Ravi, You can use Pattern Recognition app in MATLAB (documentation link).

3 years ago | 0

Answered
saving large figures in Matlab
Hi Dawid, Kindly follow the below procedure - Go to Preferences Go to General Click MAT-Files and select "MATLAB Version 7...

3 years ago | 1

Answered
How to combine same filename in Table ?
Hi Steven, You can iterate over all the rows of the table, and then somehow check if any 'name' is getting repeated (you could...

3 years ago | 0

Answered
Implementation java code into Matlab code
Hi Rohini, You can create a Java package that uses a MATLAB function. An example of this can be found in this link. Please not...

3 years ago | 0

| accepted

Answered
How to find the median distance between points within an alpha shape?
Hi Bin, You can find distance between a query point and multiple other points in the following 2 ways - tic;d = x-Y a = abs(d...

3 years ago | 0

| accepted

Answered
Plot Data to find the decision boundary for logisitc regression.
Hi Vivian, You can look at the following link, where you can get more information on plotting model.

3 years ago | 0

Answered
Strategy / process for working with large (300 x 300 x 10,000) matrices that aren't fitting in memory
Hi Sanford, Along with the alternative approaches already mentioned, you can also use bigImage class and store information abo...

3 years ago | 0

Answered
Threshold For Predictor Importance
Hi, To determine threshold in case of decision trees, Information Gain is calculated for each of the nodes. The node with the h...

3 years ago | 0

| accepted

Answered
eye detector with CNN
Hi Ahmad, You can try to detect the face first and then detect the eyes inside the face regions. For more help, you follow the...

3 years ago | 0

Answered
open .bin file
Hi Akriti, You can make use of fread function (documentation link).

3 years ago | 0

Answered
how to plot the motor chamber pressure and the vacuum thrust as a function of both time and web assuming quasi-steady state (equilibrium)
Hi Christina, The variable Pc_eq is a scalar value, in your case. You need to have a vector in order to plot it. Moreover, you...

3 years ago | 0

Answered
Detecting colored areas in an image
Hi Rick, You can look at the following link for more details on segmenting image using Color Thresholder app.

3 years ago | 0

Answered
A question for principal components analysis (pca)
Hi Daniel, plot (score(:,1), score(:,2)) On running the above function, you will find a 2-D ellipse which has magnitude same a...

3 years ago | 0

| accepted

Answered
Export Data, take derivative, and plot
Hi Rylie, MATLAB provides documentation of all the functions present in all the toolboxes. You can refer to this link here fo...

3 years ago | 0

Answered
Finding the x correspondent of of the max y, in a loop.
Hi, Assuming that you have initialized the vmax array before the provided source code, vmax array has not been updated in the g...

3 years ago | 0

Answered
Finding maximum of time series but each year is in the same column
Hi Saara, Assuming that you need to find maximum value for each year for each station individually, you can use max function. ...

3 years ago | 0

Answered
Concept decision for visualization: for loops vs custom iterators vs findgroups/splitapply vs ???
Hi Jan, The benchmark results you have tabulated seem to be correct and making sense for the case study you have mentioned. A...

3 years ago | 0

Answered
Word counting in a loop
Hi, You can look at the answer here where unique and hist functions have been used. Rather than using hist function, you can u...

3 years ago | 0

| accepted

Answered
A CODE TO VISUALIZE HOUSE OCCUPATION
Hi Emanuele, You can try fitting your data using Decision Trees (link). If decision trees doesn't give good results in your sc...

3 years ago | 0

Answered
How to run a MATLAB code in an open API
Hi Luis You can run the MATLAB code through DOS prompt (on Windows), command window (on Linux), generate pcode file for your pr...

3 years ago | 0

Answered
Writing main.c file for C/C++ code Generated from mpcmoveCodeGeneration Command
Hi Edward, Kindly look at the following documentation for understanding of using main function with codegen. Using mpcmoveCode...

3 years ago | 0

Answered
R-Squared for the robust linear regression
Hi Yaser, You can go through another similar case here to solve your query.

3 years ago | 0

| accepted

Load more