Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to save fields processed with Matlab?

Fields MATLAB processed
0
Posted

How to save fields processed with Matlab?

0

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.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123