Community Profile

# Jalaj Gambhir

### MathWorks

Last seen: ungefär ett år ago Active 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.

#### Content Feed

View by

How to select certain columns of a matrix only when the first two rows always show 1 and the other two rows a 0?
Hi, Use: col = find(all(matrix(1:4,:)==[1;1;0;0])) This will give you all the columns that satisfy this condition. You can th...

mer än 2 år ago | 0

| accepted

How to avoid a Table (in report generator) to be split into 2 pages?
Hi, Have a look here. Hope this helps!

mer än 2 år ago | 0

Hi, Have a look at the answer here. Hope this helps!

mer än 2 år ago | 0

imfindcircles does not detect obvious circles
Hi, I think it is probably because the circle you want to detect is almost a semi circle (like only half of the circle is visib...

mer än 2 år ago | 0

simulink user defined matlab function outputs zero irrespective of input
Hi, Please have a look at the model examples given here. Hope this helps!

mer än 2 år ago | 0

How to set coordinates of bounding box?
Hi, A bounding box in MATLAB consists of a 1x4 row vector with the following notation [xmin, ymin, width, height]. In the code ...

mer än 2 år ago | 0

how to output data into a text file
Hi, As it is not very obvious what exactly you would like to write in your text file, I am assuming you want to write the state...

mer än 2 år ago | 0

| accepted

How to add a cell array inside another cell array in a nested for loop?
Hi, As you have not mentioned what the variables exactly are, it is not easy to figure out the issue. Though, it looks like i/j...

mer än 2 år ago | 0

How do I compare the MSER features of two images?
Hi, You can try matchFeatures. Hope this helps!

mer än 2 år ago | 0

Alignment for column names in uitables in App Designer
Hi, I have heard that this issue is known and the concerned parties may be investigating further. Meanwhile an indirect worka...

mer än 2 år ago | 0

why should i subtract mean of image when searching for position of sub-image in image?
Hi, I am not sure the complete process that you are following, but subtraction with mean Image is generally done to center the ...

mer än 2 år ago | 0

How to create a uitable from extracted data from a struct in app designer?
Hi, The issue is occuring because you are passing cell arguments to the function. As you are converting from struct, the input ...

mer än 2 år ago | 0

Using format specifiers for extracting data from sqlite database file
Hi, Have a look at the answer here. You have to create a string using square brackets to concatenate the variable with the rema...

mer än 2 år ago | 0

Adding an extra propoerty/field in a predefined toolbox class
Hi, As mentioned in the link, you will have to define waypoints and have different velocities at each waypoint as a workaround ...

mer än 2 år ago | 0

Fill date gap and fill missing data wit NaN
Hi, As already pointed out, startTime = datetime(2019,4,30,20,10,0); endTime = datetime(2019,4,30,23,55,0); allRange = start...

mer än 2 år ago | 1

| accepted

How can i convert this flowchart to write matlab code? and how can i call an excel data (for prices example)to code
Hi, I am assuming you want to know how to read data from excel files in your code. You can do so using readtable. You might fin...

mer än 2 år ago | 0

What is the fastest way to load many large files and then reuse that data
Hi, Have a look here. You can probably use textscan.

mer än 2 år ago | 0

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

mer än 2 år ago | 0

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

mer än 2 år ago | 0

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

mer än 2 år ago | 0

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

mer än 2 år ago | 0

| accepted

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

mer än 2 år ago | 0

| accepted

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

mer än 2 år ago | 0

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

mer än 2 år ago | 0

| accepted

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

mer än 2 år ago | 1

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

mer än 2 år ago | 0

datatips in editor won't turn off

mer än 2 år ago | 0

| accepted

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

mer än 2 år ago | 1

| accepted