photo

Nitin Kapgate

MathWorks

Last seen: 1 month ago Active since 2020

Followers: 0   Following: 0

Statistics

  • 6 Month Streak
  • Knowledgeable Level 4
  • Revival Level 2
  • First Answer

View badges

Feeds

View by

Answered
Function 'raise' not supported for code generation
Although Simulink Stateflow is supported on Raspberry Pi and Arduino support package, currently only some functions/blocks in Si...

4 years ago | 0

Answered
Event-based Programming
You can use callbacks in MATLAB to use event based execution. As you are working with the Serial Port, I would suggest you to ...

4 years ago | 1

| accepted

Answered
Draw arrows in UIAxes diagrams in APP Designer
While using the annotation function in App Designer, the First argument (i.e. container) must be a valid annotation type or a ha...

4 years ago | 0

Answered
Modifying Time-Date format showing in Current Folder
MATLAB uses your operating system's short date format to display dates in both the Current Folder browser and the Command Histor...

4 years ago | 0

Answered
How to make application like one in 5g NR explained MATLAB series?
You can use MATAB App Designer to create interactive applications as described above. To create a simple interactive app using ...

4 years ago | 1

| accepted

Answered
Model Predictive control mppt
You can refer to the Solar PV System with MPPT Using Boost Converter example which explains the design of a boost converter for...

4 years ago | 0

| accepted

Answered
uiimage introduces artifacts? How to fix?
Thank you @Jamie for bringing the issue of artifacts in the uifigure + uiimage workflow to my attention. After revisiting the ...

4 years ago | 0

| accepted

Answered
Tune custom masked subsystems
Currently the ability to use the Control System Tuner to tune parameters in masked subsystems is not available in Simulink Contr...

4 years ago | 0

| accepted

Answered
animatedline plot with sliding window view
You can refer to the following code snippet to solve the issue you are facing. The code demonstrates a way to display data for ...

4 years ago | 0

Answered
How to tell serial ports apart
Currently serialportlist function does not provide any additional details about the connected serial devices. I have conveyed t...

4 years ago | 0

| accepted

Answered
For Zynq hardware, could I use the AXI4-Stream Video Interface with a source resolution lower than 1080p?
You can start with this example about deploying a simple Sobel edge detection algorithm (which uses a 240*320p video resolution)...

4 years ago | 0

Answered
How to Fit Tabular Data
'z' vector should be of the same size as 'x' and 'y' vectors. The fit function tries to approximately fit a curve or surface to ...

4 years ago | 0

Answered
Converting a rigid3d array into a table type
If you execute the following code, the error "All table variables must have the same number of rows." is thrown in MATLAB. vie...

4 years ago | 0

Answered
Importing CSV - Selecting Specific Variables or Ignoring Variables
You can refer to the following code snippet to resolve your problem: % read an inbuilt spreadsheet opts = detectImportOptions(...

4 years ago | 0

| accepted

Answered
Deleting Objects in Binary Image
You can refer the following code snippet which demonstrates use of interactive behaviour of bwselect function to solve your prob...

4 years ago | 0

Answered
How to update a structure in base workspace from a Simulink function block in every iteration?
You cna refer to this article which provides possible workarounds for your problem. Alternatively, in your case, you can follow...

4 years ago | 1

Answered
Creating .exe for MATLAB project
Hi Shrinivas, To use"deploytool", either "MATLAB Compiler" or "MATLAB Compiler SDK" is required. These MATLAB add-ons are pai...

4 years ago | 0

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

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

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

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

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

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

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

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

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

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

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

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

4 years 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 years ago | 0

| accepted

Load more