Filter löschen
Filter löschen

hope the plotting graph

2 Ansichten (letzte 30 Tage)
whiyan
whiyan am 19 Okt. 2020
Beantwortet: Ameer Hamza am 19 Okt. 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

Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 19 Okt. 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)

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by