How to save fields processed with Matlab?
Suppose you have computed complex operations from a series of vector fields, v=loadvec(‘*.vc7′); v=shiftf(extractf(v,[10 10 100 100],’phys’),’center’); fv=bwfilterf(v, 2, 8); curl=vec2scal(fv, ‘rot’); Then you can save your final set of scalar fields curl in a Matlab file, save(‘mycurl.mat’,’curl’); You can retrieve your fields using rot = loadvec(‘mycurl.mat’); Note that you can also load your fields using the standard Matlab’s load function, load mycurl In this case, the field name (here ‘curl’) will be the same as the one specified to the save command.