Community Profile

photo

Prateek Rai

MathWorks

Last seen: 4 days ago Active since 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
  • Knowledgeable Level 3
  • Introduction to MATLAB Master
  • Community Group Solver
  • 3 Month Streak
  • Revival Level 3
  • First Answer
  • Solver

View badges

Content Feed

View by

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

7 days ago | 0

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

9 days ago | 0

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

9 days ago | 1

| accepted

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

11 days ago | 0

| accepted

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

12 days ago | 0

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

12 days ago | 0

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

12 days ago | 0

| accepted

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

12 days ago | 0

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

12 days ago | 0

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

27 days ago | 0

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

27 days ago | 0

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

27 days ago | 0

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

27 days ago | 0

Solved


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.

2 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


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.

2 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


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]

2 months ago

Solved


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.

2 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Load more