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

回答