plot line by matlab

12 ビュー (過去 30 日間)
alnawiers Almaliki
alnawiers Almaliki 2019 年 2 月 25 日
コメント済み: alnawiers Almaliki 2019 年 2 月 25 日
please, who can plot a line by matlab, when I used this steps its pot x,y only.
  2 件のコメント
Star Strider
Star Strider 2019 年 2 月 25 日
Please copy your code and paste it to your original post or to a Comment here.
My MATLAB version will not run images of code.
alnawiers Almaliki
alnawiers Almaliki 2019 年 2 月 25 日
f=2*10^9; % frequency = 2 GHz
c=3*10^8; % light speed
w=c/f % wavelength
n1=10; %number of points for n1 on L1
a=1*w; %Radius the cylinder
L1=1.5*w %lenght
seq1=L1/n1; %The first section
for i=1:n1-1;
for p=1:4;
t(i,p)=i+((p-2.5)/2);
stp=seq1*t(i,p)
if 0<stp<L1
end
plot(i,stp,a)
end
end

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeScatter Plots についてさらに検索

タグ

製品


リリース

R2013a

Community Treasure Hunt

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

Start Hunting!

Translated by