Give that the electric potential in a material space (-4 m < x < 4 m, -3 m < y < 3 m) is given as V (x, y) = 3e^-x . With the use of MATLAB, sketch the potential and
electric fields in the given space.

답변 (1개)

KSSV
KSSV 2020년 8월 27일

2 개 추천

This is an Home work problem..I will show you an demo example..you need to extend this to your case.
m = 100 ; n = 100 ;
x = linspace(0,1,m) ;
y = linspace(0,1,n) ;
[X,Y] = meshgrid(x,y) ;
Z = exp(X.^2+Y.^2) ;
figure
surf(X,Y,Z)
figure
pcolor(X,Y,Z)

카테고리

도움말 센터File Exchange에서 Optimization Toolbox에 대해 자세히 알아보기

태그

질문:

2020년 8월 27일

답변:

2020년 8월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by