Scripts and User Functions Center

Design a range wave function in the frequency domain to analyze FMCW

How to design a range wave function in the frequency domain to analyze FMCW using newFASANT tool.

Thumb rangewave
double fmcw_3(){
	// first range
	double x1 = 1./3 * $period;
	// second range
	double x2 = 2./3 * $period;
	// third range
	double x3 = $period;

	double y1 = 0.1;
	double y2 = 0.2;
	
	if($x < x1) {
		// pending to x1
		return y1/x1 * $x;
	} else if($x < x2) {
		// constant for x1 to x2
		return y1;
	} else {
		// pending for x2 to x3
		return y1 + ((y2-y1)/(x3-x2)) * ($x-x2);
	}
}

Did you find this information useful?

We use cookies on this website to improve your navigation experience on this site. By using this site, you agree to our cookie policy.

I agree