March 26, 2021 at 6:04 pm
Subscriber
Could you please further help in regarding the thisx=linspace(-d/2,d/2,N); # x position vectornnfor (i=1:N) {nadddipole;nset(x,x(i)); nset(y,0);nset(z,0);n}nThis code will make a line of N dipoles along the x-axis between length -d till d. with equal spacingnnSuggestions required in making a script that will make a cone of dipole along xz direction with radius r in x-direction and depth along z-axis nnLooking forward to hearing soon