Community Profile

photo

dipak sanap


Last seen: Today Active since 2015

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Procrustes distance formula explanation
Hi, I am using procrustes function from matlab. I am done with the analysis and getting the expected results. Now, I need to wri...

1 month ago | 0 answers | 0

0

answers

Question


Read older MATFILE in the current version.
Hi, I have very old matlab files. Current Matlab dose not support the old format. I have tried reading it in Python and R. Pytho...

11 months ago | 2 answers | 0

2

answers

Question


Avoid broadcasting an array in parfor
Hi, I have a matrix (A) and I want to access certain columns of this matrix in for loop. I need some help avoiding the broadcast...

2 years ago | 1 answer | 0

1

answer

Question


Move points on edges of 2d grid to closest bin centers , fails for big data?
This code moves all the points on top edge of 2D grid to center of closest bin and do the same for right edge of the grid, C...

8 years ago | 0 answers | 0

0

answers

Question


move points on the edges of 2D grid, code fails for big data.
Here is my code which creates 2D grid from min and max range. And it moves data points from top edge and right edge to the ce...

8 years ago | 0 answers | 0

0

answers

Question


plot 2D array using imagesc ?
Lets say, I have array x and y. I make 2D grid with 16 bins and count number of points in each bin. Counts of each bin are...

8 years ago | 2 answers | 0

2

answers

Question


Counts in bins for 2D histogrsm using nested for loop ?
I am trying to write extend 1D histogram code to 2D histogram, after creating bins using mesh grid how to count if data point...

8 years ago | 1 answer | 0

1

answer

Question


Counts in each bin for 2d histogram ?
I have two vectors X and Y. To construct a 2D histogram, I have to create a grid on scatter plot of X,Y. And count number of da...

8 years ago | 1 answer | 0

1

answer

Question


Access subarry from large file and loop through each subarry.
Hi all,I have an array A as follows, 1 65 63 41 1 32 1 66 1 51 453 66 2 12 12 251 2 54 544 84 3 848 484 48 3 4...

8 years ago | 1 answer | 0

1

answer

Question


How to rotate XtickLabels and make them vertical.
f = fopen('1IV7_1M.txt','r'); x = fscanf(f , '%d %d %f' , [3 inf]); x = x'; g = fopen('1FA3_6_1M.txt','r'); y = fscanf...

8 years ago | 4 answers | 0

4

answers

Question


Label scatter data points.
I have a matrix C as follows; 1 3 0.454 54 3 4 0.478 0.356 7 8 4.564 1546 And I plot, scatter(C(:,3),C(:,4)) I wan...

8 years ago | 1 answer | 0

1

answer

Question


Close matlab in shell script but keep the figure window.
My matlab script plots a scatter plot.I am running this matlab script within the shell script. My shell script has for loop. I w...

8 years ago | 2 answers | 0

2

answers

Question


Prellocate memory to unknown size array ?
numfiles = 3; A = []; for i = 1:numfiles f = fopen(sprintf('F%d', i), 'r'); D = fscanf(f, '%d %d %f',[3, inf])...

8 years ago | 0 answers | 0

0

answers

Question


Loop through large number of files and access arrays outside the loop ?
for i = 1:50000 f = fopen(sprintf('F%d', i), 'r'); %File names are F1, F2 and son on. X{i} = fscanf(f, '%d %d %...

8 years ago | 0 answers | 0

0

answers

Answered
Loop through large number of files and access data outside the loop
numfiles = 50000 for i = 1:numfiles f = fopen(sprintf('F%d', i), 'r'); %File names are F1, F2 and son on. ...

8 years ago | 0

Question


Loop through large number of files and access data outside the loop
I have to run this code over 50000 files which is around 250 GB so, I am also looking to improve performance.

8 years ago | 2 answers | 0

2

answers

Question


Rearranging column of m by 1 matrix.
I have m by 1 matrix and 95 is the factor of m, I want to rearrange it as, First 95 rows as a first column, 96 to 190 as second ...

8 years ago | 2 answers | 0

2

answers