📄 phap.m
字号:
function y=Phap(x,params)
% Anh - short term design stress - strain curve for normal weight concrete.
% Anh(X,PARAMS) return a matrix which is the Anh at X.
% BUI DUC CHINH,10 - 5 -2000.
% Ver 1.03.
if nargin ~=2,
error('Three arguments are required by Anh.');
elseif length(params)<4
error('Anh needs at least 4 parameters.');
end
a=params(1);
b=params(2);
c=params(3);
d=params(4);
y=ones(size(x))*d;
index1=find(x<=a);
if ~isempty(index1),
y(index1)=250*d*x(index1).*(4-x(index1)*1000);
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -