Community Profile

photo

Sushil Pokharel


Last seen: 2 giorni ago Active since 2022

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How to reshape the three dimensional array in 2D matrix?
Hi there, I want to reshape the 3D array into 2D matrix form: for example: I have a matrix, val(: ,: ,1) = 8 2 ...

23 giorni ago | 2 answers | 0

2

answers

Question


How to count three pair of numbers in given matrix?
Hi there, I have a column matrix: x = [2 2 1 1 1 1 1 2 1 1 2 2 1 2 1 2 2 1 2 1 2 2 2 1 1 1 2 2 2 2 1 1 2 1 1 2 1 1 1 2 1 1 2 ...

24 giorni ago | 1 answer | 0

1

answer

Question


How the transition probability matrix can be calculated in 2nd order markov model?
Suppose I have 3-states system; state space = {1 2}. Also, I have state sequence 1 2 2 1 1 1 1 2 2 2 2 2 1 1 1 1 1 1 2 2 2 2 2...

27 giorni ago | 0 answers | 0

0

answers

Question


How to reshape any matrix using while loop or any other method?
Hello there, I have a matrix B of size 432000x120 and I want another matrix A of same size in such a way that: A(: , 1) = B(: ...

circa un mese ago | 2 answers | 0

2

answers

Question


how can we construct different cells inside cell-array?
hi there, I have a cell array of 1x6 size; 6 cell in one rows which contains a data set. Now, I want to construct a 7th cell i...

circa 2 mesi ago | 1 answer | 0

1

answer

Question


How to set bottom repeating elements in matrix to NaN?
I have matrix of large size and I need to change the bottom repeating elements to nan. For instance: a = [ 1 2 3 2 1 3 ...

circa 2 mesi ago | 2 answers | 0

2

answers

Question


How to pad NaNs in a matrix having small size to make equivalent with matrix of large size?
Hi there, Suppose I have given matrices A= [1 2 3; 4 5 6; 7 8 9] and B=[1 2; 3 4]. Now, I just wanted to pad NaNs in matrix B ...

2 mesi ago | 2 answers | 0

2

answers

Question


Can we change the size of cell inside the cell array?
Hi there, Will it be possible to change the size of the cell inside the cell array? For instance, consider a cell array of siz...

2 mesi ago | 1 answer | 0

1

answer

Question


How to replace the trapped zeros by previous number in a given matrices keeping leading and trailing zeros fixed?
Hi Matlab experts, I have a matrix A=[ 0 0 0 1 0 2 3 1 2 3 0 0 0 1 ...

5 mesi ago | 1 answer | 0

1

answer

Question


how to shift trapped zeros to the bottom keeping leading zeros in given matrix fixed?
Hi all, I have a problem while finding the probablity transition matrix. The code I have written to find the transition matrix c...

5 mesi ago | 2 answers | 0

2

answers