|
From: | tharaka weheragoda |
Subject: | Re: help : how to load only a part of a matrix in octave |
Date: | Mon, 4 Jun 2012 19:30:03 +0530 |
You can use fread's size and skip arguments to read parts of a matrix.
So something like this might work:
f = fopen("what_is_the.mat");
for i = 1:32
m = fread(f, [i*1e3, 3.2e4], "double", (i-1)*1e3);
## now do whatever you want with m
endfor
HTH,
- Jordi G. H.
[Prev in Thread] | Current Thread | [Next in Thread] |