Example 3: This is purely a complex plot, MATLAB being a highly visualization language for statistics and plots
Example 3: This is purely a complex plot, MATLAB being a highly visualization language for statistics and plots. We have a scope to plot such types of graphs here. Here we have plotted the Riemann surface, in a 3D space. Try to visualize the output. Such types of complex functions can be plotted in MATLAB.
- MATLAB
% angle from 0 to 2pi theta = 0 : 0.01 : 2 * pi; % sin function works on an array f = sin(theta); t = 0 : pi / 50 : 10 * pi; % open a new figure figure % Riemann surfaces figure cplxroot(5) % plots the Riemann Surface for w = z ^ (1 / 5) |
Output :