# Tarunbir Gambhir

### MathWorks

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**

RANK**503**

of 289 556

REPUTATION**144**

CONTRIBUTIONS

**0** Questions

**85** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**18**

RANK

of 19 561

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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

nästan 3 år ago | 0

Fiber Segmentation in concrete image

I suggest you go through the documentation page on regionprops. I beleive properties like Area, BoundingBox, Centroid, and Orien...

nästan 3 år ago | 0

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

nästan 3 år ago | 0

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

nästan 3 år ago | 1

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

nästan 3 år ago | 0

Find curvature of the image boundary

You can refer this post for how to meaure curvature of image boundaries.

nästan 3 år ago | 0

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

nästan 3 år ago | 0

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

nästan 3 år ago | 0

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

nästan 3 år ago | 0

| accepted

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

nästan 3 år ago | 1

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.

nästan 3 år ago | 0

| accepted

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

nästan 3 år ago | 0

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

nästan 3 år ago | 0

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

nästan 3 år ago | 0

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

nästan 3 år ago | 0

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

nästan 3 år ago | 0

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

nästan 3 år ago | 0

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

nästan 3 år ago | 0

| accepted

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

nästan 3 år ago | 0

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

nästan 3 år ago | 1

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

nästan 3 år ago | 0

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

nästan 3 år ago | 0

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

nästan 3 år ago | 0

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

nästan 3 år ago | 0

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.

nästan 3 år ago | 0

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

nästan 3 år ago | 0

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

nästan 3 år ago | 0

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

nästan 3 år ago | 0

| accepted

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

nästan 3 år ago | 0

| accepted

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

nästan 3 år ago | 0

| accepted