rect function on the interval x= -5:0.1:5.
์กฐํ ์: 4 (์ต๊ทผ 30์ผ)
์ด์ ๋๊ธ ํ์
x=-5*pi:0.1:5*pi;
y=(pi/2)*sinc(x/2);
plot(x,y)
title('s๐๐((๐/2)๐ฅ)/๐ฅ plot')
xlabel('x');
ylabel('sin((๐/2)x)/x')
grid on;
would this be correct when plotting Rect function using rectangularPulse on the interval x= -5:0.1:5?
๋๊ธ ์: 0
๋ต๋ณ (1๊ฐ)
Walter Roberson
2025๋
1์ 30์ผ
Well, as a basic framework it is fine... after making y a call to rectangularPulse... and after changing the title and ylabel...
๋๊ธ ์: 0
์ฐธ๊ณ ํญ๋ชฉ
์นดํ ๊ณ ๋ฆฌ
Help Center ๋ฐ File Exchange์์ Grid Lines, Tick Values, and Labels์ ๋ํด ์์ธํ ์์๋ณด๊ธฐ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
