Unrecognized function or variable 'gaussian_plume_model'

1 view (last 30 days)
Hi, I have this script and I´m stuck with this problem:
M_Coal = 5000
Cal_Value = 3000
S_Content = 20
h = 100
d_flue = 5
n_flues = 1
a_flues = n_flues*pi*(d_flue/2)^2;
d = sqrt(n_flues)*d_flue;
S_AM = 32
SO2_MW = 63
Q = 10
FGD_Eff = 70
Q_FGD = Q*(100-FGD_Eff)/100;
GVperGJ = 5000
FGV = 5000
Vs = FGV/24/3600/pi/(d/2)^2;
U = 10
Ts = 180
Ta = 25
a = 0.3658
p = 0.9031
b = 0.00025
q = 2.125
dh = 30
H = 30
vx = U*(H/h)^0.143;
x_range = [0:200:100000];
y_range = [-20000:200:20000];
par = [Q_FGD,vx,H,a,p,b,q];
Surf_Conc = gaussian_plume_model(x_range,y_range,par);
Unrecognized function or variable 'gaussian_plume_model'.
Are any package or anything else that I have to add to my scrip to allow it to read the function 'gaussian_plume_model' or how can I call the fuction?

Accepted Answer

VBBV
VBBV on 16 Jul 2021
Edited: VBBV on 16 Jul 2021
gaussian_plume_model is a function which needs to be in same folder where you are running your script file. Try running your script with function file in same folder.

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!