Community Profile

photo

Nitin Kapgate


Last seen: Today

MathWorks

75 total contributions since 2020

I am an Application Support Engineer at MathWorks.
My area of Interest is Image Processing and Computer Vision.
Disclaimer: Any articles/ideas/opinions here are my own and in no way reflect that of MathWorks.

Nitin Kapgate's Badges

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

View details...

Contributions in
View by

Answered
How to plot a parameter assigned to each co-ordinate in a point cloud, on a point cloud
You can use 'pointCloud' function alongwith its 'Intensity' (grayscale intensities at each point, this maps each intensity value...

6 hours ago | 0

Answered
How to run Python script in MATLAB?
To call Python modules in MATLAB, you must have a supported version of the reference implementation (CPython) installed on your ...

7 hours ago | 0

Answered
How to use prune for CNNs?
Currently the "prune" function does not provide the functionality to prune the network at specified pruninng rate. The prune fu...

10 hours ago | 0

Answered
I can't do region of interest sharping of image why ?
You can use the imsharpen function to sharpen a ROI in your image as illustrated here.

10 hours ago | 0

Answered
Block callback function in Simulink model cannot access workspace variable when executed with parsim
You can refer to a similar question answered here to resolve your issue. The issue described in this question is very similar to...

2 days ago | 0

Answered
Using nerual network without the toolbox
The "genFunction" function generates a MATLAB function for simulating a shallow neural network."genFunction" does not support de...

2 days ago | 0

Answered
HDL Coder board and reference design, additional reference design vhdl source files
You can use the IP Core Generation Workflow from MATLAB HDL Workflow Advisor to generate IP Cores from HDL code. Then to inclu...

2 days ago | 0

Answered
Calculate the stop band energy of a filter by its Power spectral density graph
You can use the "bandpower" function to calculate the stop band energy from PSD as illustrated in this example.

2 days ago | 0

Answered
Image segmentation to remove all background objects
You can refer to the Image Segmentation in MATLAB page to learn about Image Segmentation in general and how to get it done in MA...

2 days ago | 1

| accepted

Answered
How to convert image .mat back to the mlreportgen.dom.Image object?
You can create an Image Object from the "read_img" data using the following code: read_img = imread('my_image.jpg'); % Read the...

2 days ago | 0

Answered
Integers can only be raised to positive integral powers in db2mag computation
You will need to cast both "decibelTomag.u1" and "decibelTomag.u2" as single type (Fixed Point Coder App doesn't support doubles...

2 days ago | 0

Answered
initial condition of PID-controller via switch
You can use the combination of "Clock", "Relational Operator" and "Multiport Switch" blocks in Simulink to get the desired funct...

2 days ago | 0

Answered
How to convert 4K mp4 video into frames?
You can refer to the code snippet below which demonstrates extraction of frames and export of the frames to a folder: % import ...

4 days ago | 0

Answered
Simulink: 2001x1 Double input multiplication with clock value, results in 2001x2001 double, while a 2001x1 double is desired. How can I tackle this?
In your model, the clcok time is getting multiplied with each element of a vector, that's why "Why" and "Why2" are 2001*2001 vec...

4 days ago | 0

Answered
How to write lat,lon,data into geotiff with matlab?
You can refer to a similar question answered here. The provided solution makes use of georasterref and geotiffwrite function to ...

4 days ago | 0

Answered
Model workspace input data from functions
You can use a Simulink.ModelWorkspace object to Interact with the model workspace of a model programmatically. You can refer to...

4 days ago | 0

Answered
How to save the images from the camera calibration app after the app plot the circles on the edges?
Currently you cannot save the images with detected edges in the Camera Calibrator App. As a workaround, you can use detectCheck...

28 days ago | 0

Answered
How to manually edit MatLab Coder .mex-file code to support 64bit indexing
Currently MATLAB Coder supports only upto 2^32 elements in an array. So you will need to manually change the codein C/C++ file...

28 days ago | 0

Answered
how to plot four different variables sharing same axis but with different x and y axis limits
You can refer the following code snippet which sets and uses multi-row tick labels to resolve your problem. close all; % Da...

28 days ago | 0

Answered
How to use WindowButtonMotionFcn correctly in App Desinger?
To port the MATLAB code to App Designer code, a bit of restructuring of code should be done to take advantage of App Designer fe...

28 days ago | 1

Answered
Driving Scenario Designer: How to make EgoVehicle Stop using Camera or Radar
You can refer to the Autonomous Emergency Braking with Sensor Fusion example to learn about simualting emergency breaking scenar...

29 days ago | 0

Answered
stop training model in matlab
You can use trainingOptions function (network training options) to specify the maximum number of epochs (10) using the 'MaxEpoch...

29 days ago | 0

Answered
Save data during matlab loop
As the data is numeric/boolean, I would suggest that you to write the data at every step or periodically to a file (say a CSV fi...

1 month ago | 0

Answered
Color on Bar3
You can use colorbar function to have the same color on all the faces of the 3D bars as demonstrated by the following code snipp...

1 month ago | 0

Answered
Buckle counting in image processing
You can refer the following code snippet to count the approximate number of number of buckles using bwlabel function: % Read im...

1 month ago | 0

Answered
Running external commands without going through a shell?
You can execute operating system commands from the MATLAB command line using the ! operator as an alternative to the system func...

1 month ago | 0

Answered
How to change the imds.Lables to the subfolders names instead of the parent folder ?
While creating the ImageDataStore, use the following Name-Value pair option: imds = imageDatastore('ParentFolder/','IncludeSubF...

1 month ago | 0

Answered
thermal noise object RFbudget
You can use Receiver Thermal Noise block from Communication Toolbox to specify and simulate addition of different thermal noise ...

1 month ago | 0

Answered
RC circuit modeling in Simulink
If your end goal is to design an RC vircuit in Simulink, you don't require RF blockset for that. You can refer to the example w...

1 month ago | 0

Answered
Creating n number of tables using already present table in matlab
You can refer to the following code snippet to learn about extracting sub-tables based on conditions on the data in columns of m...

1 month ago | 0

Load more