Two dimensional moving average
A=[1 2 3 4 5
1 2 2 2 3
2 3 3 3 4
1 1 4 4 2]
B=[1 1;1 1]; % This is can be used for weight factor of moving a...
5 years ago
Solved
Analyze observation data
Suppose you have the following data (A,B,C) in three-column format.
A B C
--------------------------
t=1 ...
5 years ago
Solved
How to permute given 3d matrix?
A(:,:,1)=[1 3]
A(:,:,2)=[2 2]
A(:,:,3)=[4 3]
Change rows to columns and columns to rows, similar to transpose.
Resul...