Community Profile

Contact

Top 10% contributor

Hey guys, I'd like to create a vector that goes from 1 to n that looks like this: [1 1 2 2 3 3 ... n n] Any ideas? ...

1 Answers

0

Asked 2 years ago

Hey guys, I have a massive set of data that covers all 23 human chromosomes. Although I'd like it to be divided based on the ...

So this is a Laplacian matrix? I suggest you decompose this: L=D-A, where D is the degree matrix and A is the adjacency matrix. ...

accepted

Answered 2 years ago

Hey guys, I have a massive set of data that covers all 23 human chromosomes. Although I'd like it to be divided based on the ch...

560 views

Posted 2 years ago

Hey guys, I'm attempting to import a text file that is giving me lots of trouble, however the preview engine for matlab displ...

0 Answers

Hey Caroline, Do you ever access the same sheet on two separate occasions? If so I'd save the sheet as a variable to prevent ...

Hey guys, I'd like to make a set of perturbation matrices. These have randomly generated (normally distributed) elements. In ...

You'll have to include more details for better advice. If the size of your image is growing over time (in terms of number of pix...

a = [1 0 0 0 1 0 1 1] for p=1:(size(a)-1) b = [b strcat(num2str(a(p)),num2str(a(p+1)))] end That should feed zer...

for h=1:size(A,3) for o=1:size(A,2) for i=1:size(A,1) B(i,o,h)=mean(A(i,o,h,:...

%This will flip through the linear indexes of a matrix and turn each value into % a binary one A = rand(5) for p=1:end ...