Community Profile

Jalaj Gambhir

MathWorks

Last seen: más de 1 año hace Con actividad desde 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.

Ver insignias

Content Feed

Ver por

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 1

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

casi 3 años hace | 0

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

casi 3 años hace | 0

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

casi 3 años hace | 1

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

casi 3 años hace | 0

Respondida
datatips in editor won't turn off

casi 3 años hace | 0

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

casi 3 años hace | 1