tmax = 55; niter = 6938;
x= linspace(0,tmax,niter);
vvvv(iter,:) = V;
vv1 = vvvv(:,1);
vv2 = vvvv(:,N);
save -mat-binary cabunbact1aoctN11oct x vv1 vv2
I want to save this as an ascii file with x, vv1 and vv2 in columns.
I did:
load cabunbact1aoctN11oct x vv1 vv2
x = x' ; vv1 = vv1' ; vv2 = vv2';
save -ascii cabunbact1aoctN11octascii x vv1 vv2
I don't get 3 columns. Where am I going wrong ?
Also, if I write
q = [ x' vv1' vv2'] ;
I get an error message : error: number of rows must match (1 != 6938) near line 2, column 10
Help appreciated.
Asha G