Community Profile

photo

Jalaj Gambhir


Last seen: Today

MathWorks

72 total contributions since 2019

I am an Engineer at Engineering Development Group at Mathworks.
My area of interests include MATLAB and Simulink.

DISCLAIMER: Any advice or opinions here are my own, and in no way reflect that of the company.

Jalaj Gambhir's Badges

  • 12 Month Streak
  • Knowledgeable Level 3
  • Revival Level 1
  • First Answer

View details...

Contributions in
View by

Answered
Plot Decision boundary and Support vectors in SVM
Hi, You can export the model from the Classification Learner App, you will get a ClassificationSVM model. This object can be us...

8 days ago | 0

Answered
Failed to show the accuracy of testing data (Classification Learner's Testing Function)
Hi, The Classification learner App splits the data that you have provided into Training Data and Validation Data It will show t...

10 days ago | 0

Answered
Rand(1,1) generates identical numbers for different blocks of simulink
Hi, Have a look at the answer here.

11 days ago | 0

Answered
open figure stored in workspace
Hi, This is because when you close the figure, the object handle is deleted. Read documentation link for more details. You can...

12 days ago | 0

| accepted

Answered
Sort structure by datetime
Hi, Please provide the struct for us to give you the exact solution. Kindly refer to this link for suggested solutions. Hope th...

12 days ago | 0

Answered
How to plot a ROC curve for CNN?
Hi, Have a look at the solution given in this post: https://www.mathworks.com/matlabcentral/answers/373849-roc-curve-alexnet-...

2 months ago | 0

Answered
Filtering data in a struct
Hi, You can convert the struct to table, and then use findgroups to identify the groups based on Altitude and Sensor. After the...

3 months ago | 0

| accepted

Answered
Does setting "prior" in the classification play a role in the classification algorithm or it just modifies observations in the prior classification step?
No, Prior Probabilities do affect the classification process. The step mentioned in the algorithm section only removes the trai...

3 months ago | 1

Answered
listener behavior for axes in uifigure vs. figure
Hi, The visible difference is because of the way the interactions are implemented differently for figure and uifigure. The conc...

3 months ago | 0

Answered
datatips in editor won't turn off
Hi, Please refer to the bug report: https://www.mathworks.com/support/bugreports/1584013?s_tid=answers_rc2-1_p4_MLT And relate...

3 months ago | 0

| accepted

Answered
Store value from text file
Hi, To read the sampling rates mentioned in the text file 'regexp' is your best bet. You can do so by: s = fileread('test.tx...

3 months ago | 0

Answered
Removing close datetimes from datetime array
Hi, The following is one of the way in which you can achieve your task, as pointed out in the comment, "remove all datetimes wi...

3 months ago | 0

Answered
How to display files with specific strings for selection in uigetfile()
Hi, You can specify the default path and filename when you are using uigetfile. Look at an example here ("specify default file ...

4 months ago | 0

Answered
Which criteria to use while Evaluating minimum number of cluster before k-means ?
Hi, What criteria would work best for you totally depends on the data you are using. You need to try different criteria values ...

4 months ago | 0

| accepted

Answered
How to calculate dimension using PCA
You can specify the number of components you require while applying PCA using 'NumComponents' option. Have a look here.

4 months ago | 0

| accepted

Answered
GUI How to insert multiple csv into uitable?
Hi, First of all, for your problem, I would recommend you to use App Designer instead of GUIDE as recommended here. You need ...

4 months ago | 0

| accepted

Answered
Get all pairs from a 2D matrix in columns (CSV)
Hi, This can be achieved as follows: [m,n] = ndgrid(rows,columns); row_col = [m(:),n(:)]; Here row_col results in: row_col...

4 months ago | 1

| accepted

Answered
How to detect a matrix of an image?
Hi, This can be done through blob analysis methods like Color Thresholding, using Color Thresholder App in Image Processing Too...

4 months ago | 1

Answered
I want MATLAB to pull restaurant names from Yelp
Hi, For your specific case, if you look at the textData returned (for say, citylocation = 'New York' and statelocation = 'NY'),...

4 months ago | 0

Answered
I have a matrix that contains strings and i have to find words in it.
Hi, You can use strfind function to determine the presence of elements in you char array. matrix = ['a','b','d','f'; ...

5 months ago | 1

| accepted

Answered
Plotting multiple graphs in one figure
Hi, The problem is specifying creation of a figure inside the outer for loop. You can declare it outside, specifying a uniform ...

5 months ago | 0

| accepted

Answered
how to add datatip to a line object inside an UIAxes?
Hi, This issue occurs when we try to plot mixed datatypes in UIAxes in R2019a, but it has been fixed in later versions.

5 months ago | 0

Answered
a simple line plot in an uiaxes in AppDesigner leads to error messages
Hi, This issue occurs when we try to plot mixed datatypes in UIAxes in R2019a. This has been fixed in R2019b. Meanwhile for R2...

5 months ago | 0

Answered
How does grid extracts feature descriptors in the Bag of Visual Words?
Hi, 'grid' algorithm is a Point Selection Method which is the followed by the step of Feature Extraction from the selected poin...

5 months ago | 1

| accepted

Answered
Splitting data using loop
Hi, This can be achieved using findgroups and splitapply. For the example given below, I have used fisherirs dataset, which con...

5 months ago | 0

Answered
Trining a neural network with leave one out crossval method
Hi, 'Leave-one-out' is a cross validation method. You can generate cross validation indices for train and test set using cvpart...

5 months ago | 0

Answered
How can I get data from a website?
Hi, You can use a combination of webread and regexp, to extract the required table (in this case, has class = "genTbl closedTbl...

6 months ago | 0

Answered
How can I save into an struct multiple arrays?
Hi, I understand you want to save numeric id’s as fields and sub matrices as values, in a struct, given a matrix and a double...

6 months ago | 0

Answered
Importing website information to Matlab
Hi, A tedious way of doing it would be by using webread. This would return the HTML page source of the URL provided, which yo...

7 months ago | 1

Load more