% Logistic_function_tech: Calculates a projected value using a logistic
% growth model for a specified year.
% This function computes a projected value for a given year using a logistic
% growth model with the provided parameters.

function [techprojectedvalue] = Logistic_function_tech(newyear, ...
    technology_logistic_asymptote, technology_log_growth, ...
    technology_logistic_half_year)

% Calculate the projected value using the logistic growth model formula:

techprojectedvalue = ...
    technology_logistic_asymptote./...
    (1+exp(-technology_log_growth*(newyear-technology_logistic_half_year)));
end

