Answered
Digraph With Node Labels From CSV Data
Hi, From the error message I can understand that you are using MATLAB R2018b or earlier release. From R2019a onwards digraph s...

6 years ago | 1

| accepted

Answered
How to multiply each row of a matrix by different matrices, without for loops?
Hi, For the application of implementing backpropagation, the matrix multiplication in above way will be efficient with the use...

6 years ago | 0

| accepted

Answered
Find an approximately value of ln3 with Taylor
Hi, You may find below code useful. I am using ln(1-x) expansion of Taylor Series as it is more intuitive to code. It is not b...

6 years ago | 0

Answered
Select matrix for training,testing and validation on ANN
Hi, You may try dividing the whole dataset based on the indices as understandable from the question. Below code may help. co...

6 years ago | 0

| accepted

Answered
Plotconfusion Matrix if targets and labels are in cell
Hi, Directly converting from cell array to categorical in which the contents of cell array also represents a cell array is not...

6 years ago | 1

| accepted

Answered
How to build a wiener deconvolution manually? Or how to control the K value using wiener2 if possible?
Hi, You may use deconvwnr as it’s used for deconvolution (deblurring) where the psf can be the gaussian point spread function ...

6 years ago | 0

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6 years ago

Answered
Classical Adaptive Cruise Control gain calculations
Hi, I am assuming you have loaded all the models mentioned in the full example before loading the specific model as ACCTestBen...

6 years ago | 0

Answered
How can i load file to train data for Sequence-to-Sequence Regression Using Deep Learning
Hi, From the error message I can tell that dataset file is missing. So, first you may try to download data mentioned in Downlo...

6 years ago | 1

Answered
Generate column of random numbers that change slowly from row to row
Hi, You may try to sort each column (in any order) separately and then join them as then the difference between each row will ...

6 years ago | 1

Answered
Manually Plotting the graph from R-CNN training parameters
Hi, The trainingOptions for trainRCNNObjectDetector does not support plotting the train-progress while the training is going o...

6 years ago | 0

| accepted

Answered
LSTM For classification of EMG sequences
Hi, For using the example that is mentioned I assume you have several features from the EMG Signal and each EMG signal is a se...

6 years ago | 1

| accepted

Answered
Train Generative Adversarial Network (GAN)
Hi, The fullyConnectedLayer is generally used at the end of Network for generating single dimension output useful in Classific...

6 years ago | 1

| accepted

Answered
Changing the interpolation behavior in patch for 'FaceAlpha'.
Hi, For interpolating with a different function I suggest providing ‘FaceVertexAlphaData’ in way that it captures the nature o...

6 years ago | 1

| accepted

Answered
How can I work with the deep learning toolbox when dealing with large datasets that are NOT images?
Hi, Since it is mentioned that timeseries data is to be considered as separate data points and the targets also seems to be re...

6 years ago | 3

| accepted

Answered
Large training set in Semantic Segmentation runs out of memory in trainNetwork
Hi, As mentioned in the example that is referenced you may need to resize the image to a smaller size that can fit into the GP...

6 years ago | 0

Answered
Obtaining Probability Map from Trained Network
Hi, In my understanding while doing identification of pixels from ultrasound data you may be doing semantic segmentation of a ...

6 years ago | 1

| accepted

Answered
how convert txt file into excel file ?
Hi, Following Code might help write csv file in above format text_file = fileread('test_text.txt'); content = regexp(text_f...

6 years ago | 1

Answered
What does this fullyconnectedlayer() used for
Hi, The example mentioned in Sequence-to-Sequence Regression Using Deep Learning uses a multi-layer network that is why a full...

6 years ago | 2

| accepted

Answered
DQN weight update using Mean-squared error (MSE)
Hi, In my understanding you are trying to write the backpropagation for the two Neural Network that are present in target and ...

6 years ago | 1

Answered
Writing an optimization code for a function in stform
Hi, In my understanding you are trying to learn a function that has good map between a regular set and a measured set. The tpa...

6 years ago | 0

Answered
Calling a function handle of interp1 to another function handle.
Hi, From the code I can see that ‘Q’ is not declared anywhere So, maybe the error is because of that only. Otherwise the scrip...

6 years ago | 0

Answered
Neural Network Data Input
Hi, Since you wants to predict the Energy_Demand from the other properties that are given, I would suggest using a regression ...

6 years ago | 0

Answered
Trinomial option pricing in the maximum of two stocks
Hi, From the code I can see that two max are not required in CVals(i,j)=max(max(S1Vals(i),S2Vals(i))-strike); as S1Vals a...

6 years ago | 1

| accepted

Answered
How to plot a cubic spline from the coefficients?
Hi, In my understanding you have the coefficients of the cubic spline fitted for a graph. For converting the cubic spline coef...

6 years ago | 0

| accepted

Answered
LSTM Custom Regression output layer for time series
Hi, For adding Multiple Inputs or Learnable parameters to a Custom Layer you may try following below mentioned documentations....

6 years ago | 3

| accepted

Answered
How do you find Error response in Parks-McClellan algorithm
Hi, In the above code ‘mag’ is the response from the designed filter using the Park’s-McClellan algorithm. For Comparing this ...

6 years ago | 0

Answered
Add xticks to a clustergram
Hi, From the figure of clustergram, the xticks can be interpretated as the ‘ColumnLabels’ property of the clustergram Object. ...

6 years ago | 0

Answered
Multistage neural network training as an alternative to large sample data set
Hi, You may try to save the data into a bunch of ‘.mat’ files and can load them into fileDatastore. From this you may read eac...

6 years ago | 0

Answered
textscan desnt work in forloop
Hi, Hope the file identifier error is resolved. For the follow up question you may read the file from textscan even if it is e...

6 years ago | 0

Load more