Exercises
ex-sp-ch17-01
EasyCreate a Matplotlib 3D surface plot of on
with the viridis colormap.
ex-sp-ch17-02
EasyPlot a 3D scatter of 1000 points sampled uniformly from the surface of a unit sphere.
Use , .
ex-sp-ch17-03
EasyCreate a wireframe plot of a torus with major radius 3 and minor radius 1.
ex-sp-ch17-04
EasyPlot the 3D radiation pattern of an isotropic antenna (constant gain = 1 over all angles).
ex-sp-ch17-05
EasyDisplay three orthogonal slices through a 3D Gaussian field .
ex-sp-ch17-06
MediumPlot the 3D radiation pattern of a 4x4 uniform rectangular array (URA) at half-wavelength spacing. Show both the array factor and the total pattern assuming isotropic elements.
ex-sp-ch17-07
MediumUse PyVista to create a volume rendering of an EM field distribution inside a waveguide (create synthetic data with standing wave patterns).
ex-sp-ch17-08
MediumLoad an STL mesh with Trimesh, compute its volume and surface area, decimate it to 20% of original faces, and compare the geometric error.
ex-sp-ch17-09
MediumCreate a Plotly 3D surface of MIMO capacity as a function of SNR and number of antennas. Add hover tooltips showing the exact capacity value.
ex-sp-ch17-10
MediumExtract an isosurface from a 3D Gaussian field using
skimage.measure.marching_cubes and visualize the resulting
mesh with PyVista.
ex-sp-ch17-11
HardVisualize the near-field radiation of a dipole antenna in 3D. The electric field of a short dipole at position is: . Show both the field magnitude and phase using color encoding.
ex-sp-ch17-12
HardCreate an animated 3D beam sweep of a 16-element circular array, showing the beam rotating 360 degrees.
ex-sp-ch17-13
HardImplement a 3D channel visualization showing multipath rays between a base station and mobile user, with the channel impulse response plotted alongside.
ex-sp-ch17-14
ChallengeBuild a complete 3D visualization pipeline for a phased array radar: show the array geometry, compute the 3D beam pattern with Taylor weighting, and overlay detected targets.
ex-sp-ch17-15
ChallengeCreate a PyVista visualization of a 5G base station coverage volume in a urban environment: load a simple building mesh, compute ray-traced coverage, and render the result as a semi-transparent 3D volume overlaid on the buildings.