Borrar filtros
Borrar filtros

error message coming like string argument is an unknown option?how to plot a 3 D graph?

1 visualización (últimos 30 días)
r=5 d=[1 2 3 4 5 6 7 8 9 10 20 30 40 50 60 70 80 90] P1=10^9 w1=4.55 w2=5.13 h=d; w=d;
d0=0.4 B1=(d./d0).^(1./3) A1=400*10^-18 s=d./r; A1=d.^2
E0=8.85*10^-12 b=6.830890 E1=b.*w1.^1.5 E1g=b.*w2.^1.5
E2=E1./B1 E2g=E1g./B1 x=0.5.*E0.*E2.^2.*10^18 xg=0.5.*E0.*E2g.^2.*10^18 A2=A1.*(x./P1) A2g=A1.*(xg./P1)
v1=d.*A1 v2=d.*A2 v2g=d.*A2g v=v1+v2 vg=v1+v2g u=x.*(v1./v) ug=xg.*(v1./vg) plot(v,u,E2,'green') hold plot(v,ug,E2g,'red') hold

Respuestas (2)

Mischa Kim
Mischa Kim el 10 de Mzo. de 2014
Editada: Mischa Kim el 10 de Mzo. de 2014
An, use plot3 for 3D graphs:
plot3(v,u,E2,'green')
hold on
plot3(v,ug,E2g,'red')
box; grid;

Dishant Arora
Dishant Arora el 10 de Mzo. de 2014
use plot3 instead of plot

Categorías

Más información sobre Graph and Network Algorithms en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by