已回答
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...

5 years 前 | 1

| 已接受

已回答
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...

5 years 前 | 0

| 已接受

已回答
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-...

5 years 前 | 0

已回答
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...

5 years 前 | 0

已回答
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...

5 years 前 | 0

已回答
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...

5 years 前 | 0

已回答
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...

5 years 前 | 0

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

5 years 前 | 1

已回答
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”...

5 years 前 | 0

| 已接受

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

5 years 前 | 0

已回答
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...

5 years 前 | 0

已回答
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...

5 years 前 | 0

已回答
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.

5 years 前 | 0

已回答
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 ...

5 years 前 | 1

| 已接受

已回答
I am not getting the correct value for rblush in this code. here, red is a matrix consisting of only the r of rcb values of an image. If the value of red_pixel is greater than 200, i want to add the pixel values in rblush but im getting the wrong val
Since “red” is your red-channel image, you can directly find the pixel values that are greater than 200 and “rmean” in the follo...

5 years 前 | 0

已回答
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 ...

5 years 前 | 0

已回答
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...

5 years 前 | 0

已回答
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...

5 years 前 | 1

| 已接受

已回答
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...

5 years 前 | 0

已回答
'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...

5 years 前 | 0

已回答
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...

5 years 前 | 1

| 已接受

已回答
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...

5 years 前 | 0

已回答
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...

5 years 前 | 0

| 已接受

已回答
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...

5 years 前 | 1

| 已接受

已回答
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,...

5 years 前 | 0

已回答
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, ...

5 years 前 | 0

已回答
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...

5 years 前 | 1

| 已接受

已回答
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...

5 years 前 | 1

| 已接受

已回答
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...

5 years 前 | 0

| 已接受

已回答
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.

5 years 前 | 0

加载更多