Community Profile

photo

J AI


Last seen: 6 jours ago
9 total contributions since 2019

J AI's Badges

  • Thankful Level 2

View details...

Contributions in
View by

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...

9 jours ago | 1 answer | 0

1

answer

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...

10 jours ago | 1 answer | 0

1

answer

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...

12 jours ago | 1 answer | 0

1

answer

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 = ...

14 jours ago | 0 answers | 1

0

answers

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 ...

18 jours ago | 1 answer | 0

1

answer

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...

19 jours ago | 1 answer | 0

1

answer

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...

environ un mois ago | 1 answer | 0

1

answer

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...

8 mois ago | 1 answer | 0

1

answer

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...

8 mois ago | 2 answers | 0

2

answers