Question

Is there any existing POMDP library/function in MATLAB?

I am looking for an existing Partially Observable MDP (POMDP) library/function that implements a simple POMDP problem using, let...

1 month ago | 0 answers | 0

Question

Issue with defining inputs in classdef and getting properties updated

I am defining a simple DC motor (the technical background is not necessary to understand my question) using the class file attac...

1 month ago | 2 answers | 0

Question

Sort rows of a table by column within a variable

I have a table: T = a v ________ _______________________________ ...

2 months ago | 1 answer | 0

Question

Finding unique rows using "uniquetol" from top

It seems like there is no option for finding unique rows from top using uniquetol unlike unique where there is option for the ar...

2 months ago | 1 answer | 0

Question

Combination of rows of two different matrices

Sorry if this is a repeated question but I failed to find an answer myself. I have two matrices: A = [-0.6, -0.2; -60, ...

2 months ago | 2 answers | 0

Question

Help with column-wise matrix manipulation without for loop

I have the matrix (which is basically the matrix representation of several lines) A = [10 5 10 % first two columns are...

3 months ago | 1 answer | 0

Question

Generating dispersed (non-integer) random matrix/array that sums to a particular value

One of the most suggested (in fact the only one to my finding) for generating random numbers (<1) that will sum to 1 is Random V...

3 months ago | 1 answer | 0

Question

Issue with finding intersection between randomly generated matrices

I have two matrices randomly generated A and A_new (subset of A). When I use the intersect command, very surprisingly it negates...

3 months ago | 1 answer | 0

Question

Bug in 2020a using "ismember"?

When I am trying to use the "ismember" command in 2020a, I get werid stuffs. e.g., A = [1 2 3; 4 5 6; 7 8 9]; B = ...

3 months ago | 0 answers | 1

Question

Finding last non-zero rows for individual columns of a matrix without loops

I have the following code: A =[1 2 3; 1 0 1; 0 5 1; 1 0 2; 2 3 ...

3 months ago | 1 answer | 0

Question

A complicated matrix manipulation

So I have a matrix, let's say A = [1 2; 1 0; 3 2; 0 1; 2 1; 1 2]; [r,c] = size(A); In general, wha...

3 months ago | 1 answer | 0

Question

Finding rows/indices by comparing individual elements of rows of one matrix to another

Let's say I have a matrix and a matrix as follows: and I want to find the indices of rows in such that the row elements a...

4 months ago | 1 answer | 0

Question

DQN weight update using Mean-squared error (MSE)

I am desiging a DQN from scratch. I am stuck because I am not sure how to update the weights in the policy network. The structu...

10 months ago | 1 answer | 0

Question

How do I create a matrix surrounding the center element?

I want to create a matrix (n by n, n being odd) that has its central element fixed, and its surrounding elements increasing/decr...

11 months ago | 2 answers | 0