# Prateek Rai

### MathWorks

I am a Associate Application Support Engineer at MathWorks. My major responsibilities are Image Processing, Lidar Processing and Deep Learning at MathWorks

DISCLAIMER: Any advice or opinions here are my own, and in no way reflect that of MathWorks.

**Statistics**

RANK**601**

of 250,170

REPUTATION**96**

CONTRIBUTIONS

**0** Questions

**70** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**4**

RANK

of 17,378

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

converting classification network to fully convolutional with arbitrary sized image

Hi, One possible workaround could be that you can first use the whole image and find the potential patches of size 32x32x3 wher...

2 months ago | 0

hi there can anyone help me, i have problem in reading the excel file using the csvread command

Hi, Using "csvread" to read comma-separated value (CSV) file is not recommended.Use "readmatrix" instead. You can refer to rea...

2 months ago | 0

question about R-CNN stop sign detection

Hi, (1) First part So we first loaded the ground truth and displayed the summary using: % Load the ground truth data data =...

2 months ago | 1

| accepted

CNN, resnet50 - plot accuracy

Hi, There are 2 facts about the code which is important to note: (1) Since, your dataset is big that is why it is taking more ...

2 months ago | 0

| accepted

how to make pictures in subplot to same size?

Hi, You can refer to the following MATLAB Answer post on "How to plot all images to same size in subplot" to get more idea.

2 months ago | 0

plot in same graph from a loop

Hi, You can try "hold on" to retain current plot when adding new plot. Refer to hold MathWorks documentation page to learn mor...

2 months ago | 0

How to plot the complete data in a structure

Hi, You can try "hold on" to retain current plot when adding new plot. The code will look like: figure for m = 1 : 9 ho...

2 months ago | 0

| accepted

Double loop sort and group results in one matrix

Hi, A possible workaround to solve the problem could be: Z = zeros(100,100); L = length(X); for i=1:L for j=1:L ...

2 months ago | 0

Was doing some MATLAB homework and couldn't get a graph to come up just a table was looking for some help.

Hi, You can use the "figure" function before "plot" to create a figure window for your graph. Your code will look like: figu...

2 months ago | 0

Neural Network: Which patterns of the TrainSet does my network ACTUALLY train with?

Hi, First of all, 1000 epochs do not mean that only 1000 patterns are used to update the weights. 1 epoch completes when all ...

3 months ago | 0

How to set up a repeating series of terms

To my understanding, you want to set up a repeating series of terms so that, Xt = [ones(t-h+1,1), Lt*yt, Lt^2*yt, ... Lt^...

3 months ago | 0

Classification neural network - single image or datastore

To my understanding, you are using two methods that ideally should yield the same result but on implementation getting different...

3 months ago | 0

why I get error in scalar portion?

Hi, You should first check for the scalar portion and then for other conditions. Additionaly, you should also check for: if n...

3 months ago | 0

the thomas algorithm for non linear equation in MATLAB

To my understanding, you want to understand the thomas algorithm to use it in non linear equation. You can refer to Tridiagonal...

3 months ago | 0

R2021b - code folding in switch/case not fully available

Hi Gabriele, The case folding wasn't removed intentionally. MATLAB has switched to a new editor from R2021b and so, it has a ne...

3 months ago | 0

| accepted

How can I create a noise reduction code?

To my understanding, you have created a noise reduction code but cannot see the output image. The error is probably coming in l...

3 months ago | 0

Unable to get good results while testing network created using newrb

To my understanding, you created a network but getting different values (like multiplied with 'e') when testing with test data. ...

4 months ago | 0

How to implement a datastore for labeled image sequences?

To my understanding, you want to create a datastore from dataset which is a large set of 16x8x800 image sequences each with a si...

4 months ago | 0

| accepted

Best Practices for modelling in Simscape

To my understanding, you want to learn about best practices for modeling in Simscape. You can refer to the Modeling Best Practi...

4 months ago | 1

I need to load multiple files and extract one value from each file into an output file

To my understanding, you have 300 text files containing 8000 columns and 16 rows and you want to read data of column 1300 row 14...

4 months ago | 0

Anomaly detection, warning system and real time simulation in predictive maintenance using LSTM and CNN

To my understanding, you have created a deep learning model for predictive maintenance with LSTM and CNN and want to add anomaly...

4 months ago | 1

PLUTO+ SDR Transceiver Radio

To my understanding, you want to find whether MATLAB supports PLUTO + SDR Transceiver Radio. You can refer to ADALM-PLUTO Radio...

4 months ago | 0

Bar graph doesn't show bars

To my understanding, you are trying to plot a bar graph with duplicate x values bur bars don't appear. I think the problem is ...

4 months ago | 0

| accepted

don't understand "training" method in cvpartition class

To my understanding, you want to learn about the 'training' method used with cvpartition. There are three object functions used...

4 months ago | 0

Understanding the use of data in Object Detection

To my understanding, you want to learn how the dataset is loaded and used in Yolo v3 object detection MATLAB example. Further, y...

4 months ago | 0

R2021b - code folding in switch/case not fully available

To my understanding, you want to fold each "case" block in R2021b. One possible workaround could be- Step 1: Go to Editor pref...

4 months ago | 0

Getting errors in fitnlm

To my understanding, you are trying to fit an equation using fitnlm and getting "The Jacobian at the solution is ill-conditioned...

4 months ago | 0

| accepted

[NNstart] How do you interpret the weights and biases values in an ANN Model?

To my understanding, you trained an ANN model and extracted the weights and biases, and now trying to understand what the values...

4 months ago | 0

Is there a way to create "sub-folding" / "sub-sections"?

To my understanding, you want to make several layers of sectioning in a MATLAB script. This is possible when you have loop (suc...

4 months ago | 0

Is there any way to increase accuracy with this Convolution Neural Network?

To my understanding, you have multiple inputs of one row by 5 columns and you want to classify this set as either 70 or 83 from ...

4 months ago | 0