MATLAB
Statistics
RANK
565
of 296,158
REPUTATION
134
CONTRIBUTIONS
0 Questions
105 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
7
RANK
of 20,352
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Error Invalid Training Data- Predictors must be a N-by-1 cell array of sequences?
Based on the error message, the error occurs due to discrepancy between the expectda data format and the format of your data. T...
18 hours ago | 0
How to do a cyber attack and validate if the mitigation is correct?
To simulate a cyber attack on a digital twin system and evaluate your mitigation strategies, you can use Simulink to create a mo...
19 hours ago | 0
Output equation of fitnet
The reason behind the discrepancy between the output of the trained neural network and the analytical equation you are using is ...
21 hours ago | 0
Integral of Transfer function in Laplace domain
To compute the integral of the squared magnitude of a transfer function over the frequency domain, you can use Parseval's theore...
3 days ago | 0
LSIM initial condition code
Staring from MATLAB R2024b, one of the ways you can specify the initial conditions for simulating a state-space model in the lsi...
3 days ago | 0
Being able to export ANN without retraining
To use a pre-trained Artificial Neural Network (ANN) for testing on new data without retraining, you need to save the trained ne...
4 days ago | 0
| accepted
Mvregress and choice of the estimation algorithm
The choice of algorithm in multivariate regression can indeed influence the results, particularly the estimation of standard err...
7 days ago | 0
| accepted
How to caculate numWeightElements in network?
The discrepancy in the calculation of the number of weight elements net.numWeightElements arises from the structure of the neura...
7 days ago | 1
| accepted
Effect of GA population size and Number of generation with many variables
Increasing the population size or number of generations leads to increase in execution time as well. Taking the population size ...
7 days ago | 0
identifying the corresponding node number to each element for meshed geometry.
To create a connectivity matrix for a triangular mesh in MATLAB, where each row represents an element and the columns represent ...
7 days ago | 0
Require code for local sensitivity analysis of ode-based model
Introduced in MATLAB R2024a, the odeSensitivity MATLAB function can be used to perform sensitivity analysis on the parameters of...
8 days ago | 0
Changing predefined values in simulink examples
The pre-defined values can be changed in the existing examples in Simulink. In Simulink, the storage location of variables depe...
8 days ago | 0
How to fastly generate a series of complex Gaussian vectors under given covariance matrix Q ?
One of the ways you can generate the H matrix is by using the Cholesky decomposition to transform standard normal random vectors...
9 days ago | 0
Simulate the probability of winning the game commonly known as the Piso Game in a Peryahan (see image below) here in the Philippines.
Hi Norberto, You can write a MATLAB script to simulate the Piso game by following the steps below: Define Parameters: Start by...
10 days ago | 0
"block diagram error" while compiling a simulink model
Hi Kai, Error during model compilation can occur due to various issues such as model configuration, build folder and path probl...
10 days ago | 0
Issues filling rounded numbers into MS Word
The issue is due to the way MATLAB handles numeric formatting when appending values to a Word document using the Report Generato...
11 days ago | 0
Parallel Gradient Based Optimizer, Objective Function Uses Simulink
Hi Sadi, I understand that your objective is to use gradient based optimization function like fmincon with parallel computing o...
1 month ago | 0
Why does the SAC trainning stop at the first episode? What can trigger it?
Hi Renaldo, The reason for the agent training stopping after first episode could be due to the "Training termination" condition...
1 month ago | 0
how can i use the output of one genetic algorithm program in another GA programme.
Hi Harsh, I understand that you want to pass the result of one Genetic Algorithm execution to another. Here's how you can do it...
1 month ago | 0
Error occurred while evaluating listener callback.
Hi Ana, The error message you are encountering suggests that there might be a problem with your MATLAB environment, particular...
2 months ago | 0
How to direct ECG graph data to mat load file .
Hi Mohidul, I understand that you would like to create a .mat file from live data received from an Arduino in MATLAB. There are...
2 months ago | 0
How to find location of parameters in a genarized matrix
There is no MATLAB function that would provide you the location of these tunable parameter within the generalized matrix. Howeve...
2 months ago | 0
In TrainMBPOAgentToBalanceCartPoleSystemExample/ cartPoleRewardFunction ,(nextObs)is what?
Hi Lin, The nextObs variable returns the next state after transition from the current state by the Reinforcement Learning(RL) A...
2 months ago | 0
| accepted
How to cross-validate a model created by TreeBagger?
The reason your code does not work is because of the syntax for crossval function in the code line: cvrfmodel = crossval(rfmode...
3 months ago | 0
Predictive Power Score PPS in Matlab?
As of the R2024b release, MATLAB does not include a function for calculating the Predictive Power Score (PPS). However, you can ...
3 months ago | 0
Does the sampling time of reinforcement learning agents have to be the same as the sampling time of models in simulink? What is the difference between the two?
The sampling time of the Reinforcement Learning (RL) agent does not necessarily have to be the same as the sampling time of the ...
3 months ago | 0
trainnetwork for mixture density network
As you mentioned, the reason for the error is the mismatch between expected shape of output data. This hapens because the defaul...
3 months ago | 0
Must centralized trained groups of agents have the same action specification?
Hi Lin, From the error statement: 'Agents in group [1 2] must have the same observation and action specifications.', it seems t...
3 months ago | 0
| accepted
Mix action channels are not supported in DDPG
Hi Sania, Currently, Reinforcement Learning Toolbox does not support mixed action spaces. As an alternative you could consider ...
3 months ago | 0
| accepted
matlab reinforcement learning module RL Agent
One way you can implement reinforcement learning in Simulink without using a RL Agent block can be by following these steps: De...
3 months ago | 0