Answered Composing matrix from small matrices
clear m n o p
% Generate matrices
sizeA = 60;
fill_size = 10;
Phi = rand(size,size)>0.5;
BigPhi = zeros...
13 years ago | 0
Answered create a matrix!
row = [1 2];
col = [10 11 13];
b = ones(length(row),length(col));
clear m
for m = 1:length(row)
b(m,:...
13 years ago | 1
Answered Problem Expanding a Matrix
that should read
newelements(i,:) = [elements(i),intraday(i,:)];
it is the same as before, it just reshapes it at the e...
13 years ago | 0
Answered Problem Expanding a Matrix
clear i j
elements = [5 3 4]; % Currently what you have
% Matrix containing intraday prices where each row corresponds t...
13 years ago | 1
Question
bwlabel changing connectivity of image
I am trying to use BWLabel to label 1 pixel width line segments. These lines are not straight so I am using a connectivity of 8...
13 years ago | 2 answers | 0
2
answers
Question
Sampling a binary image with a matrix.
I am looking to sample a binary matrix with a smaller matrix. For example, take a 100x100 "image" binary matrix and pass a 5*10...