Answered
Is there a fix to the error "A regression layer must not be preceded by a softmax layer." ?
The softmax layer normalizes the input to the layer such that its elements sum up to 1. Therefore, it is useful when you want th...

6 years ago | 1

| accepted

Answered
unable to segment all the platelets using otsu method.
Please refer to the following link which provides a list of different image segmentation methods https://www.mathworks.com/help...

6 years ago | 0

| accepted

Answered
Read data from excel
You can refer to this simple tutorial below: https://www.mathworks.com/videos/series/reading-excel-data-into-matlab-with-a-gui-...

6 years ago | 0

Answered
Aligning a stack of images
It is possible with the Image Processing Toolbox and/or Computer Vision Toolbox. Please refer to the following document to de...

6 years ago | 1

Answered
Will train(net) continue training 'net' if it hasn't been initialised?
The network is initialized only once when you use net = feedforwardnet(hiddenLayerSize, trainFcn) And when you do “net = trai...

6 years ago | 0

Answered
Unable to install MATLAB Support for MinGW-w64 C/C++ Compiler because MinGW 5.3.0 from MinGW-w64.org does not download
MATLAB only supports specific versions of MinGW. R2017b and later supports MinGW 5.3, while R2017a and prior support MinGW 4.9.2...

6 years ago | 0

Answered
Code for hough transform for Line detection
Please refer to the following link for understanding how to use Hough transform to detect lines in images. https://www.mathwork...

6 years ago | 0

Answered
Loading a saved deep learning network into matlab
Hi, Instead of save net; try using save('net.mat', 'net'); and see if that works.

6 years ago | 1

Answered
how can select a specific bits from logical vectors !
Hi, Making the following changes to your code will solve the issue: Line - 6 b = hex2dec(dat{n}); % since the variable “dat”...

6 years ago | 0

| accepted

Answered
Deep Learning Training and Validation Metrics
Hi, I have heard that this issue is known and the concerned parties may be investigating further.

6 years ago | 0

Answered
NaN from ptCloud.Location (Computer Vision toolbox required)
Here are some tips which you can try: • Camera Calibration: Make sure you have good stereo calibration so that your calibration...

6 years ago | 0

Answered
What do these Matlab LSTM parameters means and used for
Hi, numHiddenUnits - This corresponds to the amount of information remembered between time steps (the hidden state). The hidd...

6 years ago | 0

Answered
In the Driving Scenario Designer app, how can I generate a large number of vehicles or a platoon with the same characteristics ?
Hi, I have brought this issue to the notice of our developers. They will investigate the matter further.

6 years ago | 0

Answered
Custom Weighted Classification Layer: Chnage in input value size
As I understand, you want to change the validInputSize to “[x x numClasses]”, which implies a single prediction will be of size ...

6 years ago | 1

| accepted

Answered
L1 and L2 Regularization for matlab
You can set the L2 regularization for selected layers using the setl2factor function. You can refer to the following link for ...

6 years ago | 0

Answered
External C++ library support for Simulink Realtime
The error is because the C++ standard template library is not compatible with real-time code. A similar question has been answe...

6 years ago | 0

Answered
How can I launch a FreeFem++ (.edp) file from MATLAB 2018b?
In the ButtonPushed callback function, you can add the following line for executing a .edp file system(['FreeFem++ ' path_to_fi...

6 years ago | 1

| accepted

Answered
4D Plot using Columns of Matrix
figure, scatter3(X, Y, Z, 50, F, 'filled'); The scatter3 function can be used, where each point in F is plotted with a differen...

6 years ago | 0

Answered
'Error in default port dimensions function of S-function', 'This function does not fully set the dimensions of output port 2'
In line 50 of your ManoeuvringCode.m, the variable X_u is defined as an expression which is present in your excel sheet in row 4...

6 years ago | 0

Answered
What is an optimum value for Java Heap Memory?
There is no optimal value for Java heap space, as the best allocation depends on what you are doing. The default heap size is su...

6 years ago | 1

| accepted

Answered
Creating a Simbolic vector and setting assumptions on it
You can declare assumptions on symbolic variables using the assume function from the Symbolic Math Toolbox. For more information...

6 years ago | 0

Answered
How to add images continuously to a imageDatastore
Since the ‘Files’ and ‘Labels ‘ properties of the imageDatastore function return cell array of character vectors, you can direct...

6 years ago | 0

| accepted

Answered
How to process video in parallel?
One possible approach is by using spmd. You could define spmd in such a way that each worker will operate on a chunk of the inpu...

6 years ago | 1

| accepted

Answered
Perform 3-D U-Net Deep Learning with non-cubic input
The input size might not be the problem, as you were able to train the network without any errors. In case of medical imaging,...

6 years ago | 0

Answered
Slow checkLayer-function for simple custom reshape layer
While using the checkLayer function, for large input sizes, the gradient checks take longer time to run. To speed up the tests, ...

6 years ago | 0

Answered
Data Partition using CVPartition_ Warning
c = cvpartition(n,'KFold',k) The above syntax of the function randomly splits the “n” observations into “k” disjoint sets of ro...

6 years ago | 1

| accepted

Answered
Finding Frame Count for DICOM File
You can use the function dicomCollection to get the number of frames. For more information on how to use this function, refer t...

6 years ago | 1

| accepted

Answered
Time Series and input layer Error
From the error you received, I can see that your input data is of size 5353. But, from line 3 of your code, you are defining t...

6 years ago | 0

| accepted

Answered
Error in the Matlab documentation for surrogateopt
Hi, I have brought this issue to the notice of our developers. They will investigate the matter further.

6 years ago | 0

Load more