hope the plotting graph

1 visualización (últimos 30 días)
whiyan
whiyan el 19 de Oct. de 2020
Respondida: Ameer Hamza el 19 de Oct. de 2020
x = linspace(20,100000);
y = 20*log(1/(1+(2*(3.14)*(x.)*(102*10^-9)*(985.1))^2)^0.5);
plot(x,y)
the matlab said like the below~~~~~~~~~ whats the matter?
error: parse error:
syntax error
>>> y = 20*log(1/(1+(2*(3.14)*(x.)*(102*10^-9)*(985.1))^2)^0.5);
^
error: 'y' undefined near line 1, column 1

Respuesta aceptada

Ameer Hamza
Ameer Hamza el 19 de Oct. de 2020
Try this
x = linspace(20,100000);
y = 20*log(1./(1+(2*(3.14)*(x)*(102*10^-9)*(985.1)).^2).^0.5);
plot(x,y)

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots 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