Community Profile # Prateek Rai

### MathWorks

Last seen: Today 2020 以来アクティブ

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

All
• • • • • • • バッジを表示

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

3日 前 | 0

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

5日 前 | 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 =...

5日 前 | 1

| 採用済み

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

7日 前 | 0

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.

8日 前 | 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...

8日 前 | 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...

8日 前 | 0

| 採用済み

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

8日 前 | 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...

8日 前 | 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 ...

23日 前 | 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^...

23日 前 | 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...

23日 前 | 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...

23日 前 | 0

Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

Return area of square
Side of square=input=a Area=output=b

Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.