Answered
Differentiating a user input equation
Hello Kushagra, To differentiate an equation given in string form, you can convert it to a symbolic expression in MATLAB. This...

ongeveer een maand ago | 0

Answered
May I ask how to use MATLAB code to build an ECA module?
Hello Shen, I understand you are trying to implement an ECA module using MATLAB. I can help you translate the provided Python ...

ongeveer een maand ago | 1

| accepted

Answered
How to regrid 2 surface data to match each other
Hi Sarvesh, I understand you want to process a set of wind data, which includes latitude, longitude, and wind speeds in both th...

ongeveer een maand ago | 0

| accepted

Answered
Is it possible to realize self-supervised RL by adding auxiliary loss to the loss of Critic of PPO agent?
Hi Gavid, Yes, it is possible to implement self-supervised (SS) RL with a PPO agent in MATLAB and add an auxiliary loss to the ...

ongeveer een maand ago | 0

Answered
错误使用 rlDeterministicActorRepresentation。Observation names must match the names of the deep neural network's input layers.
Hello, The error you're encountering is due to a mismatch between the observation names used in your environment's observation ...

ongeveer een maand ago | 0

Answered
strfind returns empty cell despite that the strings contain same characters
Hi, It looks like the issue you're encountering is due to the parameters being passed to the ‘strfind’ function in the wrong o...

3 maanden ago | 0

Answered
Sorting correlation matrix- with row and column information - need help..
Hello Soni, I understand you are trying to sort a correlation matrix along with its row and column names. Below is a solution ...

3 maanden ago | 0

Answered
Output of system function in Linux
Hi Torsten, To clean up the output by removing these escape sequences, you can use the following git options before running com...

3 maanden ago | 0

Answered
How to change author for git commits?
Hi, Yes, there is a way to change the author for commits in Git, including when working within a MATLAB/Simulink Project. The a...

3 maanden ago | 0

Answered
I need help on how to plot Surface Plasmon Polaritons (SPPs) for Multilayer Systems
Hello Ambali, To address the issues, you're encountering with plotting Surface Plasmon Polaritons (SPPs) for a multilayer syst...

3 maanden ago | 0

Answered
How to remove _ME folders saved in Users\user\AppData\Local\Temp folder
Hello, The '_ME' folders in the 'Users\user\AppData\Local\Temp' directory are typically generated by MATLAB compiled applicatio...

4 maanden ago | 0

Answered
How to do a stepwise multivariate regression analysis with random variables
Hello, To conduct a stepwise multivariate regression analysis with random variables as you have described, the process involves...

4 maanden ago | 0

Answered
High fluctuation in Q0 value for TD3 agent while training.
Hello James, To understand why there are high fluctuations while using different RL agents, firstly we need to understand how ...

4 maanden ago | 0

Answered
hnumerically analyze the KdV equation using finite difference method
Hello, To analyse a partial differential KdV equation, I suggest trying an explicit time-stepping method, such as the fourth or...

4 maanden ago | 0

| accepted

Answered
My DDPG agent model is generating same output from every simulation.
Hello, To generate different gaits from each simulation with your trained Deep Deterministic Policy Gradient (DDPG) agent, you ...

4 maanden ago | 1

| accepted

Answered
Using Reinforcement Learning in Real Experiments
Hi Sumin, Q1: Delay Phenomenon in Real Experiments Yes, delays that occur in simulations can also occur in real experimen...

5 maanden ago | 0

Answered
How to deal with both discrete and continuous action in the same environment?
Hi, To create a custom environment class, “rl.env.MATLABEnvironment” function in MATLAB can be used. But it appears that an ...

5 maanden ago | 0

Answered
How do I make my code faster (currently sym.vpasolve takes 43,434 seconds for 30,000 calls)
Hi Keshav, I see that you are looking for ways to optimize MATLAB code that currently takes an excessively long time to execut...

5 maanden ago | 0

Answered
index generation for multidimensional discretization
Hi Maximilian, In MATLAB, while there isn't a direct built-in function that discretizes and indexes multi-dimensional data in ...

5 maanden ago | 0

Answered
How to create Prediction file in nnstart similar to nntool?
Hi Ahmad, The ‘nntool’ interface is no longer supported and has been deprecated. The recommended alternative now is to use ‘nn...

6 maanden ago | 0

Answered
<Deep reinforcement learning____PPO>How do you fix this error?Ask for help
Hi, Based on the error log you've provided, the issue seems to be with the number of observation inputs expected by your neura...

6 maanden ago | 0

Answered
Trying to change the variable dimensions when combining two netcdf files
Hi Prashant, It seems like you are trying to update the dimensions of the “ua” and “va” variables in the output file from thei...

6 maanden ago | 0

Answered
Dot indexing is not supported for variables of this type.
Hi Samiha, The error you're encountering, “Dot indexing is not supported for variables of this type”, is likely due to a misma...

6 maanden ago | 0

Answered
Undefined operator './' for input arguments of type 'cell'.
Hi, I understand you're encountering an error due to the use of the “element-wise division” operator ‘./’ with a cell array in...

7 maanden ago | 0

Answered
Getting MatLab to read a datatable for changing variable
Hi Emma, To process your table and extract the population numbers for each year, you can utilize the MATLAB code snippet provi...

7 maanden ago | 0

Answered
RL DQN agent Episode Q0 does not converge to Average Reward
Hi, I've noticed your concern regarding the convergence of Q0 on the track of average reward. It's important to recognize that...

7 maanden ago | 0

Answered
How to run multi-agent reinforcement learning in custom environment based on GYM?
Hi, I understand that you are trying to create a custom GYM environment with multi-agent system. To achieve this, you can use ...

7 maanden ago | 0

Answered
How to open many .mat files and split a box and compile into 1 file.
Hello, I understand that you are looking to split the ‘box’ column from your dataset and consolidate the extracted information...

7 maanden ago | 0

Answered
Export trained classification model from Classification Learner to use in python
Hi, Yes, it is possible to use a model trained in MATLAB with Python. You can export from MATLAB using .mat file format. To exp...

ongeveer een jaar ago | 0

Answered
error in using a function while using surf plot
The input in calc function is taking a matrix input which is creating this error. Instead of using x(1) and x(2), try using x(1,...

ongeveer een jaar ago | 0

| accepted

Load more