photo

Kushagr Gupta

MathWorks

Last seen: 4 years ago Active since 2016

Followers: 0   Following: 0

Message

I am a Software Engineer at Mathworks and an Electrical Engineer by education.

Statistics

All
  • Knowledgeable Level 3
  • Solver
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
Error displayed when starting MATLAB on Linux systems using NVIDIA OR AMD graphics hardware
This low-level graphics error is an NVIDIA driver issue. If possible, downgrade to a previous NVIDIA driver, such as the one tha...

1 year ago | 27

| accepted

Answered
Multi-Scale Training Sizes syntax
The following link mentions the type of data supported by 'MultiScaleTrainingSizes' Name-Value Pair argument. https://www.mathw...

5 years ago | 0

Answered
batch-process images by pasting each onto a central background image
The following code can help replace central portion of a larger image (uniform background) with another smaller (actual image). ...

6 years ago | 0

Answered
How does "semanticseg" command work on images larger than what the network was trained with?
The segnetLayers function creates a U-Net to perform semantic segmentation and the beauty of this type of a network is that it i...

6 years ago | 1

Answered
trainNetwork with response as categorical tensor
From the partial information provided in the question I can comment that there are issues in the way the network has been create...

6 years ago | 0

Answered
Why has my RCNN network stuck at 70% training accuracy
The primary reason that I can think is the "stride of 4" in the first convolution layer. Having such a huge stride reduces the a...

6 years ago | 0

Answered
How to smoothing a image by image rows and columns based ?
From the limited amount of information provided in the question I am assuming you want to know how to filter (eg. smoothen) imag...

7 years ago | 0

Answered
How to obtain daughter wavelets from wavelet decomposition of 2D data?
The following links should be helpful to obtain Daubechies wavelets : <https://www.mathworks.com/help/wavelet/ref/dbaux.html...

7 years ago | 0

Answered
MATLAB R2016b graphics bug (Linux)
*Use Software OpenGL Instead* You can work around many graphics issues by using the software version of OpenGL® built-into MA...

7 years ago | 1

Answered
How to redeuce the blank space in the legend box?
You can use the 'Position' property of legend to modify the size of the legend box. The documentation for legend properties is a...

7 years ago | 0

Answered
MATLAB Coder Does Not Support Input of Unbounded Size
I feel that the dimension bounds being specified are not getting reflected for code generation purposes somehow. The following l...

7 years ago | 0

| accepted

Answered
Modell Callbacks (e.g. PreLoadFcn, InitFcn) not performed in Matlab 2016b
The commands mentioned should definitely work in R2016b in all kinds of callbacks as and when those callbacks are executed. ...

7 years ago | 0

Answered
How does matlab's gaussian fit function select peak centers
Looking at the graphs, it seems that the kernel size being used is too large. In such a case, large amount of neighborhood data ...

7 years ago | 0

Answered
Gabor patches in matlab
The code shared here is not complete and does not include the implementation of the 'screen' function which is not a MATLAB inbu...

7 years ago | 0

Answered
How to detect a specific color in photo?
I would recommend the following link to do image segmentation in color space: <https://www.mathworks.com/help/images/examples...

7 years ago | 0

Answered
Frequency domain data to simulink
There are various way to load data into Simulink environment as mentioned in the following link: <https://www.mathworks.com/h...

7 years ago | 0

Answered
two continuous signals time delay
The sample time of the signal depends on the rate at which the signal was acquired. You should refer the source from where you g...

7 years ago | 0

Answered
Does \varepsilon still work for Matlab R2016a?
To include the lowercase epsilon you can make use of the unicode char representation. The following code should get you this par...

7 years ago | 0

Answered
How to export data to single excel sheet for number of data from image processing
The easiest way I can think of is to append the entries from multiple images into a single table in a loop and then write that t...

7 years ago | 0

| accepted

Answered
find function size mismatch in simulink
I would recommend looking at the ' <https://www.mathworks.com/help/matlab/ref/ismember.html ismember> ' and ' <https://www.mathw...

7 years ago | 0

Answered
xlswrite to multiple new sheets
Data size is only one of the reasons why you could get the error code: 0x800A03EC when using xlswrite. This MATLAB Answers p...

7 years ago | 0

Answered
Is there a solution for H2Hinf control problem in the discrete time domain?
The function ' <https://www.mathworks.com/help/robust/ref/h2hinfsyn.html h2hinfsyn> ' does not work for discrete plants as menti...

7 years ago | 0

Answered
Make parameters available inside Simulink's Matlab functions
I would recommend using Data Store Memory Block for the structure parameter and using it as a global variable within the various...

7 years ago | 0

Answered
Perform local filtering on 3D image
To perform localized Gaussian filtering either 2D or 3D in MATLAB, you would need to provide the filtering function with that sp...

7 years ago | 1

Answered
Unable to access ROSbag topics
This error is a result of the rosbag containing custom message types (e.g. 'dbw_mkz_msgs.SteeringReport') that are not supported...

7 years ago | 1

| accepted

Answered
Merge Different KML Files into a KMZ file.
I would recommend going through the File exchange submission on KML2KMZ conversion. It is provided at the following link: <ht...

7 years ago | 0

Answered
Is it possible to place custom header include statement at the top when using Simulink Coder?
One can make use of the Custom Code feature available in Model Configuration Parameters in order to add custom header/ source fi...

7 years ago | 0

Answered
How is the scaling of y channel in YCbCr is different than scaling all three colour channel?
In principal, all these color spaces are affine transformations of each other, that is YCbCr = A*(RGB) + b. Hence if you multipl...

7 years ago | 0

| accepted

Answered
State space simulink modularize
If I understand the question correctly, you want to modify the input (1x12 vector) into a (2x6 matrix) for the down stream eleme...

7 years ago | 0

Answered
Make code for svm region descriptors more efficient
There are various different approaches that you could make use of to improve the speed, for example resizing, preprocessing the...

7 years ago | 0

| accepted

Load more