MATLAB
Statistics
RANK
621
of 295,467
REPUTATION
120
CONTRIBUTIONS
0 Questions
89 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
6
RANK
of 20,234
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
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...
8 days 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...
8 days 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...
9 days 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...
11 days 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...
23 days 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...
25 days 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...
25 days 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...
2 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 ...
2 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 ...
2 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...
2 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...
2 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 ...
2 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...
2 months ago | 0
Unable to reshape the data to 3D on Matlab for LSTM training?
Hi Jingyi, The input format required by the LSTM network in MATLAB for dataset of sequences is a Nx1 cell array where each elem...
3 months ago | 0
Error running bootstrap model on fitlm function
The bootstrp function in MATLAB is used to perform bootstrapping, which involves resampling your data with replacement and compu...
3 months ago | 0
How is batch learning executed with the trainnet function ?
Hi Tobias, Refer to the following documentation which shows the process of training a deep learning network on out-of-memory se...
3 months ago | 0
Does the trainnet function work for time regression tasks?
Hi Tobias, You can use trainnet function to train deep learning models for time series data regression problems. For such probl...
3 months ago | 0
| accepted
Feature Importance value for SVM, KNN, and Discriminant type classifier?
In MATLAB, there is no direct method to find out feature importance for models like SVM, KNN, and discriminant analysis. Howeve...
3 months ago | 0
Feature selection for svm classifier
For SVM, Sequential Feature Selection is a suitable feature selection method because it recursively adds the most important feat...
3 months ago | 0
OPTIMOPTIONS does not support code generation for function 'ga'.
Hi Ghada, The error is related to the fact that optimoptions and the Genetic Algorithm (ga) function are not directly supported...
3 months ago | 1
| accepted
SAMPLE and TRAINING must have the same number of columns. after using pca
The error you are encountering indicates a mismatch in the number of columns between your SAMPLE (test data) and TRAINING (train...
3 months ago | 0
Symbolic solution for system of equations
Hi Pavel, You can specify the initial condition for velocity(Z_Dot) and acceleration (Z_DDot) in the following way: 1. While d...
3 months ago | 0
Unrecognized property 'LearningFrequency' for class 'rl.option.rlPPOAgentOptions'.
Hi Nicolas, The error you get is due to the fact that the LearningFrequency property in the rlPPOAgentOptions class was introdu...
4 months ago | 0
| accepted
i have a vector in lenght 5, i need to check if a sum of 2 or more elements in the vector is equal to another element at the same vector how to do that?
Hi Omer, You can check for the existence of an element which is the sum of two or more elements in the same vector as follows: ...
4 months ago | 0
| accepted
How to structure the data using webread
Hi Jorge, To retrieve specific data from the XML file, you can use regexp on the string output of webread function. Refer the f...
4 months ago | 0
| accepted
Prooving a trained LSTM regression model
Hi James, To find the output using the weights of your trained layers, you will have to implement the equations for all the lay...
5 months ago | 0
| accepted
How to change the input size of Input layer in actor-critic
The error message indicates that there's a mismatch in the input sizes of the layers within your network, specifically at the ad...
5 months ago | 0
trainNetwork function features dimensions problem
Hi Marco, The input format required by trainNetwork function in MATLAB for dataset of sequences is a Nx1 cell array where each ...
5 months ago | 0
Multiple custom libraries in one library browser
Hi Byunghoon, To integrate multiple custom libraries into a single Simulink Library Browser window at the top level, you need t...
5 months ago | 1