Answered
Code for locating pivots in LU decomposition
Hi Ye, The missing logic in your code is the part that identifies the pivot element needed for partial pivoting. Specifically,...

3 months ago | 0

Answered
what is the different between jaccrad index and evaluatesemanticSegmentation?
Hi Yasmin, 'Jaccard Index' typically calculates the Intersection over Union (IoU) for pairwise comparison of two binary or lab...

3 months ago | 0

Answered
Human Detection using YOLOV3 with own Weights
Hi Hanes, to perform real-time human detection using 'yolov3', use 'snapshot' functionality available in MATLAB to capture frame...

3 months ago | 0

Answered
How do I estimate a state-space model using ParamMap?
Hi Ed, the error you are encountering is due to the fact both 'Cov0' and 'StateType' are defined in 'ParamMap'. When implicitly ...

3 months ago | 0

Answered
Trained CNN model partitioning into two networks
Hi Andrea, 'DAGNetwork' objects are not recommended by MathWorks now, use 'dlNetwork' instead. For giving the output of model...

3 months ago | 0

| accepted

Answered
How capture the error value for each epoch?
Hi Caio, To save the rmse values to a .xlsx file after training the model use ‘writeTable’ as writetable(rmseTable,’rmseValue...

3 months ago | 0

Answered
Error in port widths or dimensions. 'Input Port 1' of 'fccu/Zero-Order Hold' is a one dimensional vector with 1 elements.
Hi Hammed, It is difficult to see the model clearly from the attached picture, but based on the two error messages (from Mux a...

3 months ago | 0

Answered
Adding features based on retreiving lost information
Hi Elzbieta, Assuming that you have multiple ECG recordings with each file containing information about patient including thei...

3 months ago | 0

Answered
probability distribution function from datra
Hi George, You can estimate the probability density function (PDF) using the 'ksdensity' function in MATLAB. This function can...

4 months ago | 0

Answered
Problem with single agent Simulink using RL toolbox
Hi Ali, it seems that you are facing an issue while training a single agent using RL toolbox in Simulink. Following could be the...

4 months ago | 0

Answered
I am getting errors trying to train an RL DDPG Agent
Hi Mxolisi, it seems that the system or file 'rRLmxolisifinal' cannot be found. Following could be the possible steps to trouble...

4 months ago | 0

Answered
Error using trainNetwork (line 191) Too many input arguments.
Hi Ayat, it seems that you are facing issue while calling the trainNetwork using CNN. The issue lies in how the data transformat...

4 months ago | 0

| accepted

Answered
The training and validation accuracy stuck in the value of 74% in Resnet 50
Hi Moetez, It seems that the model’s accuracy is stuck in a particular range. Although there’s no definitive answer to pinpoint...

4 months ago | 0

Answered
Debug mode for RL agent networks
Hi Nicolas, It is my understanding that you want to monitor the outputs of each layer and debug the RL agent nets while the tra...

4 months ago | 0

| accepted

Answered
how to plot a matrix graph of D(n,m) versus C(n,m) with different colors
Hi Albert, It is my understanding that you want to plot the two matrix values against each other and have different colors cor...

5 months ago | 0

Answered
How to view the output of each and every hidden layer in a deep neural network
Hi Prabha, It is my understanding that you want to view the output of each and every hidden layer in the deep neural network. ...

5 months ago | 0

Answered
How I customize self attention layer for identifying wafer defects?
Hi Sharith, It is my understanding that you want to add and customize self-attention in the CNN network for detecting wafer def...

5 months ago | 1

| accepted

Answered
Different Action spaces in different steps
Hi Danial, It is my understanding that you want the agent to have one type of action space for the first step in an episode and...

5 months ago | 0

Answered
Generate matrix combinations with parameters
Hi Catarina, It is my understanding that you are trying to generate the all possible combinations for the matrix M using T row...

5 months ago | 0

| accepted

Answered
Estimating the parameter of a power law distribution using maximum likelihood estimation (MLE)
Hi Kashif, You can use fminsearch - MATLAB and obtain the C and m for the power law fit. See the below snippet for minimizing t...

1 year ago | 0

Answered
undefined variable problem using vpasolve
Hi Vincent, The error you are encountering is due to the fact that you are using the symbolic variable x1 in the calculations ...

1 year ago | 1

| accepted

Answered
How to compute the gradients of the the Neural Network in matlab
Hi Hanqiu, Refer to dlgradient-MATLAB for gradient calculation. The function takes in y-(Variable to differentiate) and x1,x2....

1 year ago | 0

Answered
concatenate different matrices with different dimensions
Hi Jorge, Yes you are right, horzcat requires the number of rows to be the same and for that padding needs to be done as you've...

1 year ago | 1

| accepted

Answered
How to compare all matrix cells to the median value?
Hi Ziad, You can use "median()" function in MATLAB to compute the median of the matrix. Further you can create a logical matri...

1 year ago | 0

| accepted

Answered
How many LSTM blocks are there in bidirectional LSTM layers?
Hi Shweta, Assuming that by hidden layers you mean numHiddenUnits, the numHiddenUnits refer to the number of LSTM blocks per di...

1 year ago | 0

Answered
Training a non-linear function using deep learning (layers and options)
Hi Fahad, The first input argument in fullyConnectedLayer is the outputSize, i.e , the number of neurons in the next layer. S...

1 year ago | 0

Answered
Solve equation with for loop function
Hi Annique, Verify both the identites using for loop (using n = 100) and the identity formula. 1. n = 100; sum_n_cubes = ...

1 year ago | 0

Answered
Normalization and scaling features in ML
Hi Nor, This is a concept related to feature scaling, here's how you would handle normalization for real-time data using the ...

1 year ago | 0

Answered
Machine Learning-Mean Normalization
Hi Ioannis, Mean normalization or feature scaling is typically applied to the input features (X) and not the output variable...

1 year ago | 0