已回答
Sum of a function into a new file
In addition to the suggestions in the comments, you can refer to the documentation of sum function.

4 years 前 | 0

已回答
Color Code Plotted Data According to Value in Un-Plotted Column
Refer to the documentation of plot & legend. Also the following code may help you (Note that you may have to make changes accor...

4 years 前 | 0

已回答
Divide input and target for prediction
You may refer the following: crossvalind, cvpartition & Cross-Validation: Assess and improve predictive performance of models.

4 years 前 | 0

| 已接受

已回答
LSTM forecasting time series
Refer to the documentation of trainNetwork to understand what should be the input and target data format & shape. Specifically:...

4 years 前 | 1

已回答
fully connected layer in a CNN
You can use the analyzeNetwork to view the network architecture, shape of layerwise Activations & Learnables etc. Based on the ...

4 years 前 | 0

| 已接受

已回答
How to create large matrix with a pattern of sorts.
Refer to MATLAB Onramp to get started with MATLAB. The following code might help you: s = 64; m = zeros(s,s); for i = 2:64...

4 years 前 | 0

已回答
Does train function return neural network with the weights of last epoch or the weights of the model with the smallest loss of all epochs?
You can refer to Early Stopping & Improve Shallow Neural Network Generalization and Avoid Overfitting documentation. According ...

4 years 前 | 0

| 已接受

已回答
Add new a column with different number of rows in a matrix using for loop
As per my knowledge, I think the output of "xlsread(myfilename,1,'G4:G48')" would be 45x1 matrix and not 48x1. Refer to the docu...

4 years 前 | 0

已回答
Mini batch accuracy in toggling between two values and settled in 75 percent. Please provide some suggestions to increase the accuracy and also not getting good testing accuracy.
The following are few suggestions: Make sure that all the classes have equal number of observations. Check how trainNetwork us...

4 years 前 | 0

已回答
Problem in imwrite command
Based on the above information & screenshots the issue is that the folder "Navneet1" doesn't have subfolders "001" and "M_0001.a...

4 years 前 | 1

| 已接受

已回答
Fully connected layers in LSTM regression
You have to remove the space present between the function name and the parentheses i.e., use the below code instead: layers = [...

4 years 前 | 0

| 已接受

已回答
Network with custom defined Regression Layer Output
As per my knowledge and above information, I think using the custom training loop would be a good Idea. You can refer to Train N...

4 years 前 | 0

已回答
Unable to perform assignment because the left and right sides have a different number of elements.
You can debug your code by setting breakpoint on the line where you are getting error, refer to Set Breakpoints for more informa...

4 years 前 | 0

已回答
come faccio a installare matlab e a ottenere la chiave d'attivazione e il codice? Ho un account con il politecnico di milano
You can refer to Install Products, How do I activate MATLAB? & MATLAB Student and MATLAB and Simulink Student Suite FAQs.

4 years 前 | 0

已回答
Can I feed a neural network with a "predefined" set of training images at every iteration ?
Based on the above information in question & comments I think using the custom training loop would be a good Idea. You can refer...

4 years 前 | 0

| 已接受

已回答
Time series training using 2D CNN
I tried the following code which is written based on the above mentioned code & I'm not getting any errors. You can refer to the...

4 years 前 | 1

已回答
How to know the size of imageDatastore?
You can access the Files property of the imageDatastore & call the numel function on it. imds = imageDatastore({'street1.jpg','...

4 years 前 | 1

| 已接受

已回答
Color detecting and clasification with convolutional neural network
Refer to Getting Started with Object Detection Using Deep Learning & Object Detection using Deep Learning. If you don't have the...

4 years 前 | 0

| 已接受

已回答
Error Combining two pixelLabelImageDatastores or randomPatchExtractionDatastores
The error "Duplicate table variable name:" w.r.t combining certain datastores is a known issue and it might be addressed in the ...

4 years 前 | 0

| 已接受

已回答
LSTM - Way to set inputweight based on user defined variable
You can find the explanation in the same documentation page in More About section. You can also refer to Long Short-Term Memory...

4 years 前 | 0

已回答
Extracting (ranked) softmax values for each validation image
Use the activations function to get the output of softmaxLayer & use the max function to get the maximum of all scores i.e., sco...

4 years 前 | 0

| 已接受

已回答
How to use a customized Loss function in a Shallow neural network
In case of Shallow Neural Networks you can refer to Custom Performance Function for Neural Networks Toolbox using +mse package &...

4 years 前 | 1

已回答
How to split matrix data into training, validation and testing data based on a categorical label?
You can do something like below: %% Create categorical label data numLabels = 18 labels = randi([1 2],numLabels,1); labelsCa...

4 years 前 | 0

| 已接受

已回答
How to train a deep neural network with 2 inputs
As per my knowledge and above information, I think that you can use imageInputLayer instead of sequenceInputLayer. To define and...

4 years 前 | 0

已回答
assign color to the colorbar
You can set same limits using caxis. Refer to the documentation of Control Colormap Limits & caxis.

4 years 前 | 0

已回答
Normalize the intensity of the data within an ROI to a zero-mean, unit-variance space
The error is due to the conflict with data type. Input argument of the std function must be of data type single or double. As pe...

4 years 前 | 1

| 已接受

已回答
deactivate perpetual license R2019b Update 4(9.7.0.1296695) and install in new laptop
You can refer to the following: How do I transfer a Student or Home license to a new computer? & How do I transfer an Individua...

4 years 前 | 0

已回答
Difference in plots obtained from fsurf and surf command
As per my knowledge, I think the difference is due to the overflow of besseli function and the implementation of the fsurf funct...

4 years 前 | 0

| 已接受

已回答
matlab yolo v3 코드 에러
The error message "The value of 'bboxA' is invalid. Expected input to be finite." would occur when input to the function bboxOve...

4 years 前 | 1

| 已接受

已回答
changeFilepaths 사용시 'changeFilepaths'은(는) 인식할 수 없는 함수 또는 변수입니다. 라고 나타납니다.
The possible cause of the error could be that you are Calling an object method without an object as the first input. Refer to W...

4 years 前 | 0

加载更多