How can I export the picture to matrix

5 visualizzazioni (ultimi 30 giorni)
远志 崔
远志 崔 il 13 Mag 2021
Risposto: Arjun il 3 Mar 2025
Now I have a 3D result picture from comsol. I want to transform this picture to Three-dimensional matrix in order to analysis electric field distribution.What should I do or what code should I enter in matlab.I'm waiting for someone who can solve this problem.Thanks for your attention.

Risposte (1)

Arjun
Arjun il 3 Mar 2025
I see that you want to export a picture to matrix in MATLAB.
In order to do so you can follow the below mentioned steps:
% example usage of imread
x = imread("demo.jpg");
I hope this helps!

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by