Community Profile

photo

Jalaj Gambhir


MathWorks

38 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

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

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.

environ 16 heures 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...

environ 16 heures ago | 0

Answered
How to plot multiple CDF in one figure?
Hi, You can easily use 'hold on' between each cdfplot for each dataset. For example: load coastlines; cdfplot(coastlat); ho...

1 jour ago | 0

Answered
IDGREYMODEL - Too many inputs - but only one input - Help please
Hi, The first issue is the missing Ts parameter. The value of Ts parameter is set based on the value of ‘fcnType’ (if not prov...

1 jour ago | 0

Answered
How can I connect a .m script to a GUI?
Hi, You can use App Designer to do the same. Firstly, you need to create Edit Fields for all the information that you want the ...

26 jours ago | 0

Answered
How to use removeLayers without layerNames (How to remove layers if the layers don't have names)?
Hi, I cannot reproduce the issue at my end. The same snippet of code that you mentioned, gives the layer details including the...

26 jours ago | 0

Answered
Writing my own function to find one-norm
Hi, If you want the function to accept the matrix as a parameter, you need: function f = normone(A) f = norm(A,1); end You ...

26 jours ago | 0

Answered
How would I create a GUI with a push button that when clicked, guy data will be save in .txt file?
Hi, You can do so by adding a SaveFileButtonPushed() callback. In this function you can access the values of the fields and dum...

27 jours ago | 0

Answered
Is it possible to open .mlapp (App Designer) files on matlab mobile?
Hi, It is not possible as of now.

28 jours ago | 0

Answered
Why wrong using of RESHAPE when I do trainNetwork in LSTM?
Hi, You might want to convert your data to dlarray, and use dlarray batches for training LSTM's as mentioned here. The number ...

28 jours ago | 1

Answered
How can I extract metrics/data of the LSTM training progress ?
Hi, You can use [net,info] = trainNetwork(XTrain,YTrain,layers,options); while training a network, to access 'info' struct. ...

30 jours ago | 0

| accepted

Answered
Conversion of uitable Column Names to Table Column Names
Hi, You can directly use the transposed cnames as Variable names. As in, cnames = {'X';'Y';'Z';'FM';'diff';'dy1';'dy2'}; row...

30 jours ago | 0

Answered
How can I add a diagonal gradient and corresponding colorbar to a plot?
Hi, colormap's can be used to do so. Look at an example here.

environ 2 mois ago | 0

Answered
Multiple legends on Axes in App Designer?
Hi, As I understand, you want to add multiple legends in App Designer. This can be easily done as in the example below: hol...

environ 2 mois ago | 0

Answered
problem inserting some site coordinates on a map created by geoshow
Hi, Assuming the variables ‘lat’,’lon’,’Z’ are correctly initialized, you can plot the markers on the surface map, using figu...

environ 2 mois ago | 0

Answered
Read in a file with no spaces and write one part of each line into a file
Hi, You can use importdata and access the frequencies by: c = importdata('filename',',',1); c.data

environ 2 mois ago | 0

Answered
Convert table and obtain column values
Hi, For the particular task one possible solution could be by first converting the table to cell array using table2cell. And ...

environ 2 mois ago | 0

| accepted

Answered
report results of tests run with testmanager works from testmanager only
Hi, It is stated in the MathWorks documentation that the report is only generated if the model has failed for at least one tes...

3 mois ago | 1

Answered
How to set upper/lower bound of a Numeric Slider control in a Livescript to a variable value?
Hi, You can specify the lower and upper bounds by specifying the ‘Limits’ attribute. Look here.

3 mois ago | 0

Answered
Using a loop to display areas of objects over centroids
Hi, You can use insertText which can display text over the image on the position specified. This could annotate the nuclei with...

3 mois ago | 0

Answered
SimEvents: is it possible to change event action variable from script?
Hi, I believe variable declared within a block parameter of Simulink block might not be accessible from the MATLAB as it goes...

3 mois ago | 0

Answered
Abandoned Object Detection using Deep learning
Hi, Many a times real life data is not available, for those cases synthetic data can be used to train your model. This is perf...

3 mois ago | 1

| accepted

Answered
Combine multiple .cvt files
Hi, The result can be merged using cvsim. Refer the following link. Hope this helps.

3 mois ago | 0

| accepted

Answered
What exactly is the scale attribute that is calculated by detectSURFFeatures()?
Hi, You are confusing the 'scales' here. Each octave has fixed number of scale levels. detectSURFFeatures() does not return tha...

3 mois ago | 0

Answered
How can I detect the SURF Features of 100 images? (I already have the code)
Hi, I am assuming you want to visualize the keypoints of all the 100 images. You can do so by: images_dir ='C:\Users\pittsl\De...

3 mois ago | 0

| accepted

Answered
My plot is not showing the lines. Can someone please point me in the right direction? Thanks,
Hi, As pointed out correctly in the comments, the plot won't show anything if you plot a single point without a marker. It is b...

3 mois ago | 0

Answered
Gui table with dropdown problem
Hi, Unfortunately, this functionality is not available in GUIDE. You can do the same in App Designer by using this code in the...

3 mois ago | 0

Answered
How to to calculate each decile average based on group?
Hi, In a table, you can first group rows using unique date values in the Date column, then compute your required statistics usi...

4 mois ago | 0

Answered
When I want to uninstall my matlab, it tells the error 'background merge hit exception:...'
Hi, This problem seems to be because of insufficient disk space. You can follow this for trying other methods of uninstalling M...

4 mois ago | 0

Answered
Extracting data from a gaussian
Hi, As you saw, methods(f1) returns the plausible functions that can be used with the cfit class object f1. You can check ...

4 mois ago | 1

| accepted

Load more