Azzera filtri
Azzera filtri

How can I plot a huge set of data?

2 visualizzazioni (ultimi 30 giorni)
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 Commenti
Walter Roberson
Walter Roberson il 1 Nov 2013
Binning or sub-sampling should be fine for characterization purposes.
Haithem Bouziri
Haithem Bouziri il 1 Nov 2013
can you explain more please

Accedi per commentare.

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 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 Commenti
Azzi Abdelmalek
Azzi Abdelmalek il 1 Nov 2013
When you type
memory
what do you get?
Haithem Bouziri
Haithem Bouziri il 1 Nov 2013
nothing, no error message. It freezes, busy and couldn't stop

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by