photo

Ahsan  Khan


Active since 2017

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


Alternative ways to perform the same task
I have a code that I used to simulate the diffusion of a particle. I have done it using for loops. My next step will involve cre...

ungefär 6 år ago | 1 answer | 0

1

answer

Question


Why is the correlation matrix much larger than the original matrix?
Lets say you have a matrix M (10x100). If we do corrcoef(M) the resulting matrix will be 100x100. Why is this?

mer än 6 år ago | 1 answer | 0

1

answer

Question


Editing cell array values (each cell is a matrix)
M=[]; M=dlmread('data.txt', '\t'); dataArray=M; C= corrcoef(M(:,1:end)); imagesc(C); cb = colorbar; yl...

mer än 6 år ago | 2 answers | 0

2

answers

Question


Write to file is not formatting properly
I have a code where I have some calculations being performed 4 times in a for loop. For each iteration of the for loop, I want t...

mer än 7 år ago | 1 answer | 0

1

answer

Question


Need to save values of a variable into a new column of asc file for each iteration of a for loop
Ndisvec=[.5 2 8 32 128]*10^11; %Set of density values figure(1025) clf(1025) figure(1025) hold on set(g...

mer än 7 år ago | 1 answer | 0

1

answer