Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

How to extract COMSOL data to MATLAB

Please login with a confirmed email address before reporting spam

Hi,

I use COMSOL 5.3a for running EMW simulations. So, I want to extract data of surface electric field to MATLAB in x by y matrix, and want to handle these data. However, when I extracted data in the results of COMSOL, the data just was arranged x, y, z, and electric fields. For example, I want a 2000 x 2000 matrix data about the electric field on the Cartesian coordinate. but COMSOL only provides 4 x 4000k data, which is x coordinate, y coordinate, z coordinate, and electric field.

How can I extract data for handling the electric field at the MATLAB?

ex) In MATLAB, imagesc(x, y, electric field extracted by COMSOL);



0 Replies Last Post Feb 10, 2020, 11:58 p.m. EST
COMSOL Moderator

Hello Seong-Won Moon

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.