Community Profile

photo

Jalaj Gambhir


Last seen: 11 jours ago

MathWorks

66 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

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

View details...

Contributions in
View by

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

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

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

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

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

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

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

environ 2 mois 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 ...

environ 2 mois 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.

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

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

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

2 mois 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'),...

2 mois 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'; ...

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

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

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

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

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

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

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

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

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

5 mois ago | 1

Answered
How to write a function to determine if a date entered is valid
Hi, You can try the following function and see if it works for you: function valid = valid_date(year, month, date) if(nar...

5 mois ago | 0

Answered
How to run a custom command from a UI
Hi, As Stephen suggested, you can simply use eval or evalc with the expression as the arguement. function SomeButtonPushed(app...

5 mois ago | 0

Answered
how work with Datastore from two or more file excel sheets
Hi, I don't think that is possible using Datastore, but one possible workaround could be: path = 'Source'; files = dir(fullf...

7 mois ago | 0

| accepted

Answered
Using CNN for time seriee feature extraction
Hi, You might want to look at an example here.

7 mois ago | 1

| accepted

Answered
Error in Opening the Simulink Model from Example given in Documentation
Hi, As correctly pointed out, you are missing the parrot hardware support package. You can install the same from here.

7 mois ago | 0

Answered
how do i load 100 txt files to a cell array and use specific data entries in each file to build a variable vector
Hi, Assuming you want to process all files and store the numerical value in the 18th line of each file to a 100x1 double vector...

7 mois ago | 0

Load more