# 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

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

13일 전 | 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...

15일 전 | 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...

16일 전 | 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...

약 1달 전 | 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...

약 1달 전 | 0

Find curvature of the image boundary

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

약 1달 전 | 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...

약 1달 전 | 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...

약 1달 전 | 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...

약 1달 전 | 0

| 수락됨

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

약 1달 전 | 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.

약 1달 전 | 0

| 수락됨

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

약 1달 전 | 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 ...

약 2달 전 | 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...

2달 전 | 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 ...

2달 전 | 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...

2달 전 | 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...

2달 전 | 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...

2달 전 | 0

| 수락됨

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

2달 전 | 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...

2달 전 | 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...

2달 전 | 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...

2달 전 | 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 ...

2달 전 | 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...

2달 전 | 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.

2달 전 | 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...

3달 전 | 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 ...

3달 전 | 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 ...

3달 전 | 0

| 수락됨

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

3달 전 | 0

| 수락됨

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

3달 전 | 0

| 수락됨