Community Profile

photo

Tarunbir Gambhir

MathWorks

Last seen: 2 months ago Active since 2020

I am an Application Support Engineer at Mathworks.
Disclaimer: Any articles/ideas/opinions here are my own and in no way reflect that of Mathworks

Statistics

  • Knowledgeable Level 3
  • Revival Level 3
  • 3 Month Streak
  • First Answer

View badges

Content Feed

View by

Answered
Looking for a System Identification Course
There is a lot of information on System Identification Toolbox in the MathWorks documentations. You can leverage them to explore...

2 months ago | 0

Answered
Fiber Segmentation in concrete image
I suggest you go through the documentation page on regionprops. I beleive properties like Area, BoundingBox, Centroid, and Orien...

2 months ago | 0

Answered
Image noise removal in medical image
You can use many of the available morphological operations to acheive your taget image. In your case, I think image erosion will...

2 months ago | 0

Answered
Error using fmincon, the function cannot continue
The error message says the objective function is not defined at initial point. This means objfun(xo) returns a 'NaN' or errors o...

3 months ago | 1

Answered
Input shape for image sequence classification
In this example, since the task is to create a classification LSTM network that classifies sequences of 28-by-28 grayscale image...

3 months ago | 0

Answered
Find curvature of the image boundary
You can refer this post for how to meaure curvature of image boundaries.

3 months ago | 0

Answered
How to classify direction of step using image processing
If you have access to the Computer Vision Toolbox, you may refer to 'estimateFlow' function to get the optical flow matrix. Usin...

3 months ago | 0

Answered
MacOS 11.3 (Big Sur) and Matlab 2020b compatibility
In most cases the issue seems to initiate from the simultaneous launching of MATLAB Editor at startup. It has been reported that...

3 months ago | 0

Answered
Error: Too many input arguments
Make sure you are using the modified version of the 'projectAndReshapeLayer' class. The updated class file can be located in the...

3 months ago | 0

| accepted

Answered
How to find new coordinates of a point after image rotation?
I am not able to rectify the issue in your case since you have not provided the image. But you can see the results on a sample i...

3 months ago | 1

Answered
integral2 failing to calculate area of a square inside a circle?
Please correct the equation of the circular region in function 'Zfun1'. It should be of the form, x^2+y^2<=r^2.

3 months ago | 0

| accepted

Answered
Fitting a specific linear function to data
You can launch the Curve Fitting Tool with 'cftool( x, y, z )' for your case. This will create a surface fit to x and y inputs a...

3 months ago | 0

Answered
Image sequence (images behind each other) MATLAB
I am not sure if there is any MATLAB tool/function that does this specifically. But as a workaround, a simple script can create ...

3 months ago | 0

Answered
Interleaving vectors in simulink
I am not sure if there exist a block that specifically does this. However, this task can be done easily by creating a custom MAT...

4 months ago | 0

Answered
vl_compilenn error in MatConvNet using GPU
It looks like 'vl_compilenn' is from a third-party repo called 'MatConvNet' which has its own forums. You can try looking for a ...

4 months ago | 0

Answered
Why doesn't tcpclient find server for WiFi communication?
You can communicate with ESP8266 on MATLAB through ThingSpeak for an IOT project. You can find more details on these projects he...

4 months ago | 0

Answered
Why the Reinforcement Learning seems do not learn anything?
If the agent is not taking good choices at later episodes, it is likely that the exploration epsilon factor is still high. You c...

4 months ago | 0

Answered
How to create loop
You can use for loop to automate this task. For example, "k" ranging from 2 to 10 in steps of 1 can be done in the following man...

4 months ago | 0

| accepted

Answered
How to do FPGA inference of deblur GAN network using deep learning HDL tool box?
You have various options to import a trained model into MATLAB. If your model is a pretrained TensorFlow-Keras network, you can ...

4 months ago | 0

Answered
Image Labeler taking ROI and discard the background
You cannot use the Image Labeler to segment/crop out the image using an ROI. You can, however, simply use the imcrop function to...

4 months ago | 1

Answered
how to detect areas within a binary image with vision.BlobAnalysis ?
Can you check if you have the Computer Vision Toolbox installed with your MATLAB software. You can execute the following command...

4 months ago | 0

Answered
Neural network working properly on Matlab but not in Simulink
Please see the documentation page for gensim. When giving a parameter for 'SampleTime', its value may be -1 or any integer great...

4 months ago | 0

Answered
Read different matrix into a loop
You can concat all the monthData matrices into a single matrix called monthData. Then you can use the following for i=1:12 ...

4 months ago | 0

Answered
Parrot rolling error generating code matlab 2020
The MATLAB Support Package for Parrot Drones currently supports the Parrot Mambo FPV and Parrot Bebop2 drones only. Alternative...

4 months ago | 0

Answered
To select a text file from a directory into appdesigner
You can use the uigetfile component to open file selection dialog box, which can be used to select a text file in appdesigner.

4 months ago | 0

Answered
Axis stacking above eachother when creating a video and using two seperate x- and y-axes
Try setting the axis limits and ticks outside, before the for loop. Currently, the ticks and limits are being added on every ite...

5 months ago | 0

Answered
How to plot 2D graph using 'to workspace block' and need to be popped up after simulation completed
You can write a matlab script that runs your simulation model and then plots the data that is added to the workspace. Something ...

5 months ago | 0

Answered
Identify Simulink blocks by shape and ports?
You can use this Mathworks documentation link to search among all the Simulink blocks. You can even select a particular toolbox ...

5 months ago | 0

| accepted

Answered
Summation with For Loop 2
If you want to compute the sum of the f-terms as symbolic functions, you can use the symsum function to get the sum of your seri...

5 months ago | 0

| accepted

Answered
How could i train my network on GPU?
For training the network on a single particular GPU, you can select that GPU before you start the training and set the 'Executio...

5 months ago | 0

| accepted

Load more