# GCats

**Statistics**

**MATLAB Answers**

**23** Questions

**0** Answers

RANK**15 950**

of 262 843

REPUTATION**2**

CONTRIBUTIONS

**23** Questions

**0** Answers

ANSWER ACCEPTANCE **
43.48%
**

VOTES RECEIVED**2**

RANK

of 17 992

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 113 820

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Unclear RL reward scheme

Hello, I'm looking at the reward scheme in this example https://nl.mathworks.com/help/reinforcement-learning/ug/train-ddpg-a...

3 månader ago | 0 answers | 0

### 0

answersQuestion

Multiple goals in Grid World

Hello everyone, Is it possible to train the agent to reach different goals in the same episode? I'm working with the standard ...

6 månader ago | 0 answers | 0

### 0

answersQuestion

Visualize policy in Grid World

hi all! I would like to visualize the policy followed by my q-agent in the Grid World environment in a way similar to this (htt...

6 månader ago | 0 answers | 0

### 0

answersQuestion

Randomized position of obstacles in Grid World

Hello everyone! I'm working on training a Q-learning agent using a standard 5x5 gridworld environment. I would like to implemen...

6 månader ago | 1 answer | 1

### 1

answerQuestion

Grid World on Simulink

Hello everyone! I'd like to apply some contrained optimization on the Grid World environment (https://nl.mathworks.com/help/rei...

7 månader ago | 0 answers | 0

### 0

answersQuestion

DDPG agent for swinging pole environment on Matlab

Hi everyone! I'm using the set swinging pole environment on Matlab and set up my agent according to this article https://nl.mat...

8 månader ago | 0 answers | 0

### 0

answersQuestion

Train a DDPG agent to swing a pole with constraints

Hello everyone! I'm currently working with the pendulum enviroment and the DDPG agent described in this document: https://nl.m...

8 månader ago | 0 answers | 0

### 0

answersQuestion

Array division of two non-zero arrays returns zero

Hi everyone! I have 2 very long arrays X and Y (each with dimensions 16384x1) with the first one with values in the range 0.230...

ungefär ett år ago | 1 answer | 0

### 1

answerQuestion

Reshaping and sizing a matrix

Hi all, I have two matrices with dimensions A = [4096x2], B = [16384x2]. The first column shows frequency range in Hz, the seco...

ungefär ett år ago | 1 answer | 0

### 1

answerQuestion

Color gradient for graph in a for loop

Hi everyone! I'm plotting 3 force vs displacement plots in the same picture. For one of the lines in the plot, i'd like the col...

ungefär ett år ago | 2 answers | 0

### 2

answersQuestion

Surf and reshape for 4D plot

Hi all, I would like to make a plot using surf. I have a time vector with 17281x1, frequency of 17281x1, and a signal of 161x1...

ungefär ett år ago | 0 answers | 0

### 0

answersQuestion

Spectrogram of known frequency signal

Hi all, I need to generate a spectrogram for a frequency signal which I constructed by selecting only certain parts of diffrer...

ungefär ett år ago | 1 answer | 0

### 1

answerQuestion

ode15s and 0de23 very slow at high frequencies

Hi all! I have a SDOF mass + non-linear spring system excited by a sine wave. I am solving for the displacement of the system...

ungefär ett år ago | 2 answers | 0

### 2

answersQuestion

How to select one period in non-linear system response?

Hi all, I have a non-linear SDOF system excited by a sine wave with increasing frequency: y = y0 *sin(2*pi*fe*t) and I'm usi...

mer än ett år ago | 0 answers | 0

### 0

answersQuestion

Keeping values of function when solving ODE

Hello everyone! I have a function describing a SDOF state space with a sinusoidal input y in one script as follows: function d...

mer än ett år ago | 1 answer | 0

### 1

answerQuestion

Question over pseudo algorithm

Hi all! I'm trying to convert this pseudo algorithm into code. Essentially, I am solving a differential equation with ode45 w...

mer än ett år ago | 1 answer | 0

### 1

answerQuestion

Saving a variable in a .mat file

Hello everyone, I have a .m file where a function runs and outputs a series of variables. Right now, I am saving one values ...

nästan 2 år ago | 1 answer | 0

### 1

answerQuestion

Choose randomly between two functions

Hello! I'm implementing a Double Q-Learning Algorithm to the pendulum-v0. I'm looking at the pseudocode and there's one part o...

nästan 2 år ago | 1 answer | 0

### 1

answerQuestion

Environment for Reinforcement Learning Project

Hi everyone! I'm currently looking to work on a small Reinforcement Learning project. Friends have reccomended the OpenAI Gym (...

ungefär 2 år ago | 1 answer | 1

### 1

answerQuestion

Color filling between lines in figure

Hi! I have a plot where the intersection of some lines form a shape, and I'd like to fill in this area with a color to show a ...

ungefär 2 år ago | 1 answer | 0

### 1

answerQuestion

Sizing in subplot()

Hi! I'm plotting 6 graphs using the subplot() command. I'd like 3 rows and 2 columns, however all the graphs are squeezed at th...

ungefär 2 år ago | 2 answers | 0

### 2

answersQuestion

alternative form for find(max(x))

Hi all! I am trying to optimize my program by reducing the nested coding and perhaps "slow" functions such as find(). I have t...

mer än 2 år ago | 1 answer | 0

### 1

answerQuestion

Discretization of position and velocity

Hey all, I need to discretize the states x (x(1) is position, x(2) is velocity) in a function called dicretize. function s = ...

mer än 2 år ago | 1 answer | 0