photo

JICHAO ZHANG


Last seen: 1 year 前 自 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 year 前 | 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 year 前 | 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 year 前 | 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 year 前 | 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 year 前 | 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 year 前 | 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 year 前 | 1 个回答 | 0

1

个回答