From bbf9ccdeb1e4e4b69c0ae846c0dc23195a244fe7 Mon Sep 17 00:00:00 2001 From: Karthik Chandrashekara Date: Thu, 15 Jul 2021 16:44:32 +0200 Subject: [PATCH] Changed return value to approximation of CF. --- +Simulator/@Oven/calculateClausingFactor.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/+Simulator/@Oven/calculateClausingFactor.m b/+Simulator/@Oven/calculateClausingFactor.m index 0c48d56..84c7ebc 100644 --- a/+Simulator/@Oven/calculateClausingFactor.m +++ b/+Simulator/@Oven/calculateClausingFactor.m @@ -5,5 +5,5 @@ function ret = calculateClausingFactor(this) alpha = 0.5 - (3*this.Beta^2)^-1 * ((1 - (2*this.Beta^3) + ((2*this.Beta^2) - 1) * sqrt(1+this.Beta^2)) / (sqrt(1+this.Beta^2) - (this.Beta^2 * asinh((this.Beta^2)^-1)))); ClausingFactorAnalytic = 1 + (2/3) * (1 - (2 * alpha)) * (this.Beta - sqrt(1 - this.Beta^2)) + (2/3) * (1 + alpha) * this.Beta^(-2) * (1 - sqrt(1 + this.Beta^2)); - ret = ClausingFactorAnalytic; + ret = ClausingFactorApproximation; end \ No newline at end of file