why im not able plot graph in 1 sec window of 16 sample
Show older comments
clc;clear all; close all;
A=1;
x=0:0.1:1;
sample=16;
y=A*sin((2*pi./sample)*x)
figure
plot(x,y)

4 Comments
KALYAN ACHARJYA
on 25 Aug 2019
Edited: KALYAN ACHARJYA
on 25 Aug 2019
"in 1 sec window of 16 sample"
Can you elaborate it?
germanbrain common
on 25 Aug 2019
Edited: germanbrain common
on 25 Aug 2019
dpb
on 25 Aug 2019
x=linspace(0,1,16);
y=A*sin(2*pi*x);
plot(x,y)
germanbrain common
on 27 Aug 2019
Accepted Answer
More Answers (0)
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!