How do I plot three waves (sin, triangle, and square) with a Vp-p of 4V and the function generator set at 1KHz
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Vp-p=4V period=1mu sec
0 Kommentare
Antworten (1)
Naman Chaturvedi
am 7 Sep. 2018
If its MATLAB you want to plot it in,
f=1000;
t=0:0.00001:0.002;
s=2*sin(2*pi*f*t);
tr=2*sawtooth(2*pi*f*t);
sq=2*square(2*pi*f*t);
plot(t,s);hold on;plot(t,sq);hold on;plot(t,tr);
0 Kommentare
Siehe auch
Kategorien
Mehr zu Line Plots finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!