Sai charan G.

asked • 09/21/14

how to assign voltage to circle boundaries in matlab

I have created a circle in a square grid using below code, Now i need to assign 1 volt to all the boundary of the circle. could you help me with that code?


radius2 = 1;
x = midrow;
y = midcol;
rectangle('Position',[x-radius2,y-radius2,radius2*2,radius2*2],'curvature',[1,1])

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.