Community Profile

photo

Sushil Pokharel


Last seen: 7 månader ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

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

mer än ett år 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 ...

mer än ett år 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...

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

1

answer

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

nästan 2 år 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...

nästan 2 år 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 ...

nästan 2 år 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 ...

nästan 2 år 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...

nästan 2 år 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 ...

ungefär 2 år 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...

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

2

answers