prevR=magic(3)m=1; k1=1addRmatrix= zeros(2*size(prevR,1),2*size(prevR,2)) for i=1:size(prevR,1); for j=1:size(prevR,2); addRmatrix(m,k1)= prevR(i,j); k1=k1+2 ; end m=m+2; k1=1; end
MATLAB: Suppose I have a matrix of size(3,3).This is up-scaled by 2 making it (6,6).So there would be a number of vacant values between each element of the initial (3,3) matrix.Then how do you fill up the 0 values in addmatrixR by bicubic/liner interpolati
matrix manipulation
Related Question
- How to extract a distribution from a 2d histogram
- Plotting elements corresponding to a matrix
- Add column to a matrix
- Tensor product 2 matrices – kronecker product
- 3-D matrix operations
- Below is the probabilistic neural network for classification, but it is not working fine. Can someone help to improve it? especially how to recalculate training, validation and test performance.
Best Answer