How to plot complex function of two variables?
    6 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
How to plot complex function, 
  in MATLAB like surface plot.
x and y are variable. Should I separately plot for positive sign and negative sign.
0 Commenti
Risposta accettata
  KSSV
      
      
 il 8 Giu 2021
        x = linspace(0,1) ; 
y = linspace(0,1) ; 
[X,Y] = meshgrid(x,y) ; 
Z = 1i/2*sqrt(X./Y) ; 
surf(X,Y,abs(Z))
hold on
surf(X,Y,-abs(Z))
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
