Community Profile

photo

Sourav Bairagya


MathWorks

23 total contributions since 2019

I am an Engineer in the Engineering Development Group here at MathWorks.

My interest lies in the field of Image Processing, Computer Vision and Deep Learning.

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

Sourav Bairagya's Badges

  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

Answered
How to keep fix the CNN accuracy result in MATLAB?
As the training progresses, for each iteration, weights of the network got updated. Hence, after some iterations of training, wh...

28 days ago | 0

Answered
Difference between gTruth and pixellabeldata images
‘ImagePixelCount’ represents the total number of pixels present in the image. ‘PixelCount’ represents the number of pixels corr...

29 days ago | 0

| accepted

Answered
How to do autocorrelation with audio signal and parameters
To perform correlation between two signals, you can use ‘xcorr’ function. In ‘xcorr’, if you provide only one input, output wil...

30 days ago | 0

| accepted

Answered
Error in image size U-Net
In U-Net, generally the patch sizes are determined in accordance with the subsequent max-pool layers, so that the down-sampling ...

1 month ago | 0

Answered
Simout does not produce the timeseries data
To export data from Simulink to MATLAB workspace, you can use ‘To Workspace’ block from ‘Sinks’ in ‘Simulink’ library and set th...

1 month ago | 0

| accepted

Answered
Gaussian pyramid vs imresize
In ‘imresize’ function, by default bicubic interpolation is used to resize an image. However, there is also option to specify th...

1 month ago | 0

Answered
Boost/Enhance white pixels
First, you can binarize the image and then use ‘bwmorph’ function to thicken the white lines present in the image. Format of us...

1 month ago | 1

| accepted

Answered
Image reading and processing
After reading the image properly, you can separate the channels using this code segment. a=imread('test.jpg'); a_red=a(:,:,...

1 month ago | 0

| accepted

Answered
Table for neural network regression
To retrieve the data from the text file, you can use “readtable” function in this way: tbl=readtable('test.txt','Format','%s%f'...

2 months ago | 0

| accepted

Answered
Invalid Transformation in trainNetwork (on pixelLabelImageDatastore)
The error you are getting is coming from the use of “imresize” function over pixel-label image datastore object i.e. “pximds”. T...

2 months ago | 0

Answered
Invalid training data. X and Y must have the same number of observations for training a network with MFCC coefficients..
To use the “XTrain”and “YTrain” in “trainNetwork” function, you should reshape those properly, otherwise it will throw this type...

2 months ago | 0

Answered
How can i get frames of a signal using peaks as reference?
“findpeaks” function returns the values of the peaks as well as their locations. Hence, you can store both information in two ar...

2 months ago | 0

| accepted

Answered
How to find MSE for different number of iterations when i have an audio signal
To calculate Mean Squared Error (MSE) between the two signals, first you have to calculate the difference between the two signal...

2 months ago | 0

Answered
Why is jordan() much slower than eig()? Both in symbolic forms
Difference between speed of two functions came from the difference between the algorithms used in the implementation of the two ...

2 months ago | 1

| accepted

Answered
how to drive this equations in simulink ? can anyone help me?
To model differential equations in Simulink, you should follow these steps: First, make a list of all the constant valued varia...

2 months ago | 2

| accepted

Answered
Error using plot Vectors must be the same length.
In your code, “Acceleration” and “ds_mapping”are row vectors whether “t_sec” is a column vector. Hence, you should first conve...

2 months ago | 0

Answered
How to remove the lines in the image?
After inspecting the script that you are using, it seems that data stored in the “input_data.txt” is stored in channels first fo...

2 months ago | 1

| accepted

Answered
Choosing the best set of initial weights of a neural network to train all dataset
The simplest way to initialize weights and biases is to set those to small uniform random values which works well for neural net...

2 months ago | 0

| accepted

Answered
How can I correctly use ifft2 on an image that I've used roifilt2 on?
After inspecting your code, it seems that there are two important missing steps. First, the roifilt2 function is working prope...

2 months ago | 0

| accepted

Answered
new wavelet for cwt
From the error information you have provided, it seems that there is an undefined variable/function ‘waveso’ in your code. You c...

2 months ago | 0

| accepted

Answered
Loudspeaker array design and test
Currently there is no option to set a loudspeaker as an array element in “Phased Array Toolbox”. You can only use Antenna elemen...

2 months ago | 0

| accepted

Answered
Simulate perspective transformation depending on a satellite position
You can use the function viewmtx which computes a perspective transformation matrix that projects four-dimensional homogeneous v...

3 months ago | 0

Answered
Question on ANN training
From the error statement (“not between 0 and 1”) which you are getting during training, it seems that your input data (PV Power)...

3 months ago | 0

| accepted