function result=shout_option2(ST)
K=50;Pshout=60;
if ST<0
result='Illegal input'
elseif 0<ST<K
payoff=0
elseif K<ST<Pshout
payoff=Pshout-K
elseif ST>Pshout
payoff=ST-K
end
为什么当ST=65 和 ST=55时都返回0???????????????