hope the plotting graph

1 次查看(过去 30 天)
whiyan
whiyan 2020-10-19
回答: Ameer Hamza 2020-10-19
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

采纳的回答

Ameer Hamza
Ameer Hamza 2020-10-19
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)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by