<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Graph Forums — Graph in interval to repeat it self]]></title>
	<link rel="self" href="https://forum.padowan.dk/extern.php?action=feed&amp;tid=734&amp;type=atom"/>
	<updated>2012-11-13T15:49:07Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.padowan.dk/viewtopic.php?id=734</id>
		<entry>
			<title type="html"><![CDATA[Re: Graph in interval to repeat it self]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=2010#p2010"/>
			<content type="html"><![CDATA[<p>Maybe you want the periodic extension of a function g defined on an interval [a,b].&nbsp; If so, define p(x)=a+mod(x-a,b-a).&nbsp; (This is the identity function on [a,b] and is periodic with period b-a.)&nbsp; Then the function f(x)=g(p(x)) is the periodic extension of function g.&nbsp; The attached file shows one example g and it&#039;s extension.</p>]]></content>
			<author>
				<name><![CDATA[johng]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=15893</uri>
			</author>
			<updated>2012-11-13T15:49:07Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=2010#p2010</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Graph in interval to repeat it self]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=1962#p1962"/>
			<content type="html"><![CDATA[<p>I am not sure exactly what you want to do, but maybe you want to plot a sawtooth wave or a triangle wave:<br /></p><div class="codebox"><pre><code>f(x)=mod(x, 5)
f(x)=abs(mod(x,5)-2.5)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Ivan Johansen]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=2</uri>
			</author>
			<updated>2012-10-26T23:19:29Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=1962#p1962</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Graph in interval to repeat it self]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=1961#p1961"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Ivan Johansen wrote:</cite><blockquote><p>By using the <strong>if</strong> function you can specify intervals as part of the expression like <strong>f(x)=if(0&lt;x&lt;pi/2 or pi&lt;x&lt;2pi, sin(x))</strong>, which will plot <strong>sin(x)</strong> for the two intervals <strong>0&lt;x&lt;pi/2</strong> and <strong>pi&lt;x&lt;2pi</strong>.</p></blockquote></div><p>That i do know, and a trigonomic function, would if no limited continue endless.<br />How ever that is not what i need.<br />I wish to create a triangle function, wich got the same characteristics as fx a sinus function(such as peak to peak value, periode, phase and so on). Where as the sinus function would be one smooth kurved line, the triangle function would be the same function basically, but just with straight lines from peak to peak.</p>]]></content>
			<author>
				<name><![CDATA[WeX]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=26752</uri>
			</author>
			<updated>2012-10-26T22:26:52Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=1961#p1961</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Graph in interval to repeat it self]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=1960#p1960"/>
			<content type="html"><![CDATA[<p>By using the <strong>if</strong> function you can specify intervals as part of the expression like <strong>f(x)=if(0&lt;x&lt;pi/2 or pi&lt;x&lt;2pi, sin(x))</strong>, which will plot <strong>sin(x)</strong> for the two intervals <strong>0&lt;x&lt;pi/2</strong> and <strong>pi&lt;x&lt;2pi</strong>.</p>]]></content>
			<author>
				<name><![CDATA[Ivan Johansen]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=2</uri>
			</author>
			<updated>2012-10-26T16:47:37Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=1960#p1960</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Graph in interval to repeat it self]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=1959#p1959"/>
			<content type="html"><![CDATA[<p>Hi there.<br />I need to create a graph that is limited by an interval, which i know how to do.<br />My problem is, that i have a function with three intervals, which are the three steps in a Timeperiode. <br />This means that, when the timeperiode is over i need the function to repeat it self!</p><p>How do i solve this(if possible at all)?</p><p>Best regards WeX</p>]]></content>
			<author>
				<name><![CDATA[WeX]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=26752</uri>
			</author>
			<updated>2012-10-26T07:57:55Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=1959#p1959</id>
		</entry>
</feed>
