Community Profile

photo

Gaurav Garg


Last seen: 12 días ago

MathWorks

153 total contributions 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.

Gaurav Garg's Badges

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

View details...

Contributions in
View by

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

12 días 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...

14 días 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...

14 días 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...

14 días 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...

14 días 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...

15 días ago | 0

| accepted

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

15 días 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...

17 días ago | 0

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

17 días 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...

17 días 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...

alrededor de 2 meses 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.

alrededor de 2 meses 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...

alrededor de 2 meses 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...

alrededor de 2 meses 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...

alrededor de 2 meses ago | 0

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

alrededor de 2 meses 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...

alrededor de 2 meses 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.

alrededor de 2 meses 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...

alrededor de 2 meses ago | 0

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

alrededor de 2 meses 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...

alrededor de 2 meses 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. ...

alrededor de 2 meses 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...

alrededor de 2 meses 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...

alrededor de 2 meses ago | 0

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

alrededor de 2 meses 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...

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

2 meses ago | 0

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

2 meses ago | 0

| accepted

Answered
Testing accuracy of pretrained model (resnet18)
Hi Nour, I hope you are using transfer learning to train the network 'resnet-18'. You can look at example here for more guidanc...

2 meses ago | 0

Answered
HELP! Can't run script
Hi Ashley, The first problem I can see in your code is the use of 'for' loop. You can refer to the link here for understanding...

2 meses ago | 0

Load more