![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/jgambhirmathworkscom_1561554315002_DEF.jpg)
Jalaj Gambhir
MathWorks
Followers: 0 Following: 0
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.
Feeds
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...
4 years 前 | 0
| 已接受
How to avoid a Table (in report generator) to be split into 2 pages?
Hi, Have a look here. Hope this helps!
4 years 前 | 0
add ons instasllation problem
Hi, Have a look at the answer here. Hope this helps!
4 years 前 | 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...
4 years 前 | 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!
4 years 前 | 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 ...
4 years 前 | 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...
4 years 前 | 0
| 已接受
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...
4 years 前 | 0
How do I compare the MSER features of two images?
Hi, You can try matchFeatures. Hope this helps!
4 years 前 | 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...
4 years 前 | 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 ...
4 years 前 | 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 ...
4 years 前 | 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...
4 years 前 | 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 ...
4 years 前 | 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...
4 years 前 | 1
| 已接受
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...
4 years 前 | 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.
4 years 前 | 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...
4 years 前 | 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...
4 years 前 | 0
Rand(1,1) generates identical numbers for different blocks of simulink
Hi, Have a look at the answer here.
4 years 前 | 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...
4 years 前 | 0
| 已接受
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...
4 years 前 | 0
| 已接受
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-...
4 years 前 | 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...
4 years 前 | 0
| 已接受
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...
4 years 前 | 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...
4 years 前 | 0
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...
4 years 前 | 0
| 已接受
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...
4 years 前 | 1
| 已接受
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...
4 years 前 | 0
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 years 前 | 0