Applets:Periodendauer periodischer Signale: Difference between revisions
From LNTwww
David.Jobst (talk | contribs) No edit summary |
David.Jobst (talk | contribs) No edit summary |
||
| Line 144: | Line 144: | ||
} | } | ||
xaxis1 = plotBox.create('axis', [[0, 0], [1,0]], {name:'\\[t/T\\]', withLabel:true, label:{position:'rt', offset:[-25, 15]}}); | |||
yaxis1 = plotBox.create('axis', [[0, 0], [0, 1]], {name:'\\[x(t)\\]', withLabel:true, label:{position:'rt', offset:[10, -5]}}); | |||
//Definition der Funktion zum An- und Ausschalten des Koordinatengitters | //Definition der Funktion zum An- und Ausschalten des Koordinatengitters | ||
function showgrid() { | function showgrid() { | ||
if (gridbox.checked) { | if (gridbox.checked) { | ||
xaxis1 = plotBox.create('axis', [[0, 0], [1,0]], {}); | |||
yaxis1 = plotBox.create('axis', [[0, 0], [0, 1]], {}); | |||
} else { | } else { | ||
xaxis1.removeTicks(xaxis1.defaultTicks); | |||
yaxis1.removeTicks(yaxis1.defaultTicks); | |||
} | } | ||
plotBox.fullUpdate(); | plotBox.fullUpdate(); | ||
Revision as of 08:01, 15 September 2017
Funktion: $$x(t) = A_1\cdot cos\Big(2\pi f_1\cdot t- \frac{2\pi}{360}\cdot \phi_1\Big)+A_2\cdot cos\Big(2\pi f_2\cdot t- \frac{2\pi}{360}\cdot \phi_2\Big)$$