Community Profile

photo

Tarunbir Gambhir


Last seen: 8 días ago

MathWorks

60 total contributions 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

Tarunbir Gambhir's Badges

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

View details...

Contributions in
View by

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

12 días 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 ...

13 días 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 ...

13 días ago | 0

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

15 días 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...

15 días ago | 0

| accepted

Answered
Trouble Looping and recording distance between nearest centriods
The Index exceeding error might be because you are looping "k" variable from 1 to 20, but the "j" variable is looping from 2 to ...

15 días ago | 1

| accepted

Answered
How to detect smarhtphone's screen in an image
You can use the regionprops function to get a bounding box for the region of interest in your image. The 'BoundingBox' property ...

16 días ago | 1

| accepted

Answered
Numeric Integral: 1/T * integral x(t)^2 dt [tau, T-tau]
I suggest you refer the documentation on the MATLAB function for numerical integration. Go through the examples to get an idea o...

16 días ago | 0

Answered
Split a matrix according to sizes of cell arrays and store the result in cells/table
For this scenario, you can probably set a for loop to split the matrix "A" into cells with the same row dimensions as tbl.spectr...

16 días ago | 0

Answered
Measure line length in pixels atomatically
Based on your question, I suggest you use the function imdistline to get the distance between two points on an image in pixels. ...

alrededor de 2 meses ago | 0

Answered
Moving viewing window over an image
According to my understanding, you could use a for loop with a pause function to satisfy your requirements. It is a very crude, ...

alrededor de 2 meses ago | 0

Answered
Embed cropped image within original image using 'drawpoint'
From the code that you have shared, I see the issue with the use of variables "x_inset" and "y_inset". When using these indices ...

alrededor de 2 meses ago | 0

| accepted

Answered
ROI - limiting the length of a crosshair
I see that you are trying to shorten the size/length of the displayed crosshair. I do not see any property of the crosshair func...

alrededor de 2 meses ago | 1

| accepted

Answered
Epoch data between events or only select data between events
These are 3rd party toolboxes for which MathWorks does not provide support. I suggest you contact them and ask for support.

alrededor de 2 meses ago | 0

| accepted

Answered
Defining an EPSP window
You could search for the start and end indices in the time vector and use that to plot the data within that interval. You coul...

alrededor de 2 meses ago | 0

| accepted

Answered
Which data format for dlarray/input layer should I use for my dataset?
Based on the information you have shared, I understand that you are trying to predict binary sequences using a VAE trained on a ...

alrededor de 2 meses ago | 1

Answered
Defect detection algorithm - Sandblasting
I recommend you use different morphological operations to process this information from images. I also suggest you go through th...

alrededor de 2 meses ago | 1

Answered
Identifying the features in a microscopic image
I suggest you use the help of different Morphological Operations to do this kind of image analysis. Do go through the examples...

alrededor de 2 meses ago | 2

Answered
How to connect android accelometer to the matlab deskop
The feature to connect MATLAB Mobile to a computer/desktop has been deprecated since MATLAB 9.7 (R2019b). Alternatively there ...

alrededor de 2 meses ago | 0

Answered
Matlab Script does not open even though I installed matlab correctly in R2020a-Linux Mint 20.1
Please try the troubleshooting steps provided in the link here, and let us know if it helped or not. For your case, you should ...

alrededor de 2 meses ago | 0

Answered
Difference between using "count" and "bag-of-words" in LSA?
The two approaches to use fitLSA function will provide the same results if the inherent data being used is the same. Note that b...

alrededor de 2 meses ago | 0

Answered
How can I enter this equation in Matlab?
I suggest you go through Symbolic Math Toolbox to create symbolic functions in MATLAB. I also suggest you use symsum function to...

3 meses ago | 0

Answered
Does Imshowborder tight option in iptsetpref make margin depend on the image ratio?
When setting the 'ImshowBorder' option to 'tight', there can be cases that the border is still present. This happens if the imag...

3 meses ago | 0

Answered
How to build a for-loop for 3rd dimensional noise realizations
Based on the information you have shared, I assume that you have 1000 samples of signals which are of length 320, and have 10 di...

3 meses ago | 0

| accepted

Answered
Simplify doesn't simplify the way I want it to
By default, 'simplify' only performs one simplification step, and that is why some expressions, like the one in the question, ar...

3 meses ago | 0

| accepted

Answered
Problem with summation of a function
The summation is working correctly. The 'w - w_eg - k.*w_0' is a symbolic expression since it contains a symbolic variable. The ...

3 meses ago | 0

Answered
Frequency extraction for pixel , for different number of frames (Hyperspectral data) in spectroscopy
For plotting the FFT of the signal with a correct frequency axis, you need to incorporate the sampling rate into the frequency d...

3 meses ago | 0

Answered
Cannot call or index into a temporary array error message
MATLAB does not support syntax which directly index the function call return value, like "p2r([x y])(:,1)". It is recommended th...

3 meses ago | 1

Answered
RCS Calculation Cylinder From Formula
A better approach to solve a series formula is to use the symsum function. I suggest you create an anonymous function in terms o...

4 meses ago | 0

Answered
Unrecognized function or variable 'seccionAurea'.
On your teachers machine, use "which" function to locate where the function "seccionAurea" is defined. which seccionAurea Make...

5 meses ago | 0

Load more