Community Profile

### MathWorks

140 total contributions since 2019

I am an Application Software Engineer at Mathworks India.
My main areas of interest are Image Processing, Computer Vision, Machine Learning, and Deep Learning.

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

View details...

Contributions in
View by

multiple text files into one in a for loop
Initialize a table before the loop You can combine two tables inside the loop in the following way: T = table(); % Create tabl...

27 days ago | 0

problem in recognizing in CNN model
Traditionally, when a model is trained on a particular set of classes, it assumes that only known classes appear in the test env...

27 days ago | 0

How do you get the Classification Layer Probabilities for pretrained CNNs ?
You can use activations to get the output at a certain layer out = activations(net,X,'layerName'); For more information, ref...

1 month ago | 0

| accepted

Moving from Network License to Individual
You can refer to the below link to resolve the issue: https://www.mathworks.com/matlabcentral/answers/94445-how-do-i-switch-my-...

1 month ago | 0

Having trouble displaying an image
You need to specify the entire path to the image's location. im = imread('/path/to/image/avatar.jpg'); Another option would be...

1 month ago | 0

Plot in 300 or 600 dpi

1 month ago | 0

to data using the least squares method. Draw, together with measurement data, the plan that connect the dots to a vector c, what is c?
Since this seems like a homework assignment, if you can provide the code you've written to solve the problem and ask a specific ...

2 months ago | 0

CFD with initial boundary and conditions
Since this seems like a homework assignment, if you can provide the code you've written to solve the problem and ask a specific ...

2 months ago | 0

Reading complete CSV file with numbers and strings

2 months ago | 0

How to calculate MAPE for type double
You can use the below formula to calculate the MAPE: mape = mean(abs((target_2019 - output_2019)./target_2019));

2 months ago | 0

Deep learning training progress window freezes
This is a known issue and the developers are working on it. Alternatively, launching MATLAB from the "Windows Command Prompt" w...

2 months ago | 0

| accepted

How to design LSTM-CNN on deep network designer?
You have to use a sequenceUnfoldingLayer that takes two inputs, feature map and the miniBatchSize from the corresponding sequenc...

2 months ago | 0

| accepted

Augmented image datastore for color images and pixelLabel images
When you are using datastore inputs for augmentedImageDatastore, imds and pxds cannot be provided as separate inputs to the func...

2 months ago | 0

How can I improve my image classification CNN?
There are a lot of examples in the documentation that you can refer to for the task of Image classification using deep learning....

2 months ago | 1

| accepted

Add confusion matrix to my cross validated code for LSTM classification
Hi, You can accumulate results at the end of loop. catLabels = [catLabels; labelsTest]; catPredictions = [catPredictions; pr...

4 months ago | 0

Error using dicomread-unable to resolve the name
Hi, Can you try using dicominfo first and then read using the extracted info? info = dicominfo(fullpath); I = dicomread(info)...

4 months ago | 0

How can I simulate a delta-zig zag transformer in Matlab
Hi, You can refer to the following documentation on Zig-Zag Transformer: https://www.mathworks.com/help/physmod/sps/powersys/r...

4 months ago | 0

How to obtain a ROC curve through cross validation on the out of fold data in cross validation?
Hi, Currently, you have to split the data into training and validation manually to generate results on validation set. To use...

4 months ago | 0

Uneven Illumination/Contrast Correction
Hi, You could try to perform image enhancement prior to converting it to a binary image. For non-uniform illumination correct...

4 months ago | 0

How to know if the faster R-CNN is trained to a good state according to Mini-Batch loss and accuracy trends
Hi, You should refer to this example in trainFasterRCNNObjectDetector documentation page to understand the role of various inp...

4 months ago | 0

LSTM Sequence to Sequence Regression Array Type Problem
Hi, I suggest you check the examples on sequence-to-sequence regression that are available in the documentation. Here's the li...

4 months ago | 0

| accepted

Error using cellfun/wblfit
The input to wblfit should be a vector containing only positive values, as the error suggests. Make sure your TtrnPosArray con...

6 months ago | 0

DataStore Length Mismatch b/w image and bbox
Each image should contain atleast one labeled object and ideally more labeled images are required to train a robust network. S...

6 months ago | 0

| accepted

fitclinear with tall array that contains images
I understand that your input data is a tall array of cells of size n-by-1. Whereas, the input to fitclinear should be specified ...

7 months ago | 0

Non traceable loss function in neural network
Currently, pinv is not supported for dlarray inputs. Alternatively, you could try replacing the function with their own logic ...

7 months ago | 0

How to noise dataimage store with a specific portion of an external image?
You can use tranform datastore function for this purpose. This allows you to write a custom function specifying how you would li...

7 months ago | 0

Import a Tensorflow Keras GRU network into Matlab
This is a known issue and the developers are looking into it. As a workaround, it is possible to implement GRU using a custom ...

8 months ago | 0

Dealing with Large training datasets saved in a number of .mat files
You can use fileDatastore for this purpose. trainData = fileDatastore('/path/to/data', 'ReadFcn', @load, 'FileExtensions', '.ma...

9 months ago | 0

| accepted