photo

JICHAO ZHANG


Last seen: 1년 초과 전 2023년부터 활동

Followers: 0   Following: 0

통계학

Feeds

보기 기준

질문


Operator '+' is not supported for operands of type 'function_handle'.
I have two function handle,such as g=@(x)x+a,f=@(y)y+b why not do '+' h=g+f for example for t=1:10 h(0)=g; h=g+t.*...

1년 초과 전 | 답변 수: 2 | 0

2

답변

질문


how to integral by series
I would like to do a cycle for t. for example, function as t*exp(xyz), then for t=1:5; there are vector 1*exp(xyz),2*exp(xyz...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Not enough input arguments. Error in iyp2. there are 4 varible@(tau,ztau,zpa,t) in the iyP(tau,ztau,zpa,t)but t is independent for sum
timerperpeture() function [Pfin]=timerperpeture(s0,v0,sigma,kappa,K,B) %varibles s0=100; v0=0.001; K=90; B=0.001; r=0.01; ...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Error using arrayfun All of the input arguments must be of the same size and shape. Previous inputs had size 14 in dimension 1. Input #5 has size 1
timerperpeture() function [Pfin]=timerperpeture(s0,v0,sigma,kappa,K,B) %varibles s0=100; v0=0.001; K=90; B=0.001; r=0.01...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


why the 0.1 is a high require in f2 line
f = @(r,theta,phi,xi) r.^3 .* sin(theta).^2 .* sin(phi); f1=@(theta,phi,xi)integral(@(r)f(r,theta,phi,xi),0,2,'ArrayValued',1);...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Unrecognized function or variable 'zap'. the error -20 line. I don't know how to use multiple-integral function
function [Pfin]=timerperpeture(s0,v0,sigma,kappa,K,B) %varibles s0=100; v0=0.001; K=90; B=0.001; r=0.01; sigma=0.15; kap...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Unable to perform assignment because value of type 'sym' is not convertible to 'double'.
function [U]=timerpathCALLfinite(s0,v0,sigma,kappa,K,B)%varibles s0=100; v0=0.001; K=100; T=2; steptime=256; dt=T/256; B=...

1년 초과 전 | 답변 수: 1 | 0

1

답변