Effacer les filtres
Effacer les filtres

How can I plot a huge set of data?

1 vue (au cours des 30 derniers jours)
Haithem Bouziri
Haithem Bouziri le 1 Nov 2013
Hi
I have a 45000 *6 matrix, i want plot the 6th colon in function of the 5th colon. i used the function plot:
plot(TOT(:,5),TOT(:,6),'x');
Doing that, Matlab freeze. I've created a submatrix with the two colons i need and i tried again.
A=[TOT(:,5) TOT(:,6)]
plot(A(:,1),A(:,2),'x')
In the beginning it functions and i generated a report with matlab. But, today i want run my code again, it freezes in the plot line .
Does any one have an idea what can I do?
Thanks
  4 commentaires
Walter Roberson
Walter Roberson le 1 Nov 2013
Binning or sub-sampling should be fine for characterization purposes.
Haithem Bouziri
Haithem Bouziri le 1 Nov 2013
can you explain more please

Connectez-vous pour commenter.

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 1 Nov 2013
By creating a new matrix A, you are increasing the memory used by Matlab. you can check the memory used by Matlab. Type
memory
Lookt at
  6 commentaires
Azzi Abdelmalek
Azzi Abdelmalek le 1 Nov 2013
When you type
memory
what do you get?
Haithem Bouziri
Haithem Bouziri le 1 Nov 2013
nothing, no error message. It freezes, busy and couldn't stop

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Performance and Memory dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by