photo

JICHAO ZHANG


Last seen: alrededor de 1 año hace Con actividad desde 2023

Followers: 0   Following: 0

Estadística

Feeds

Ver por

Pregunta


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.*...

alrededor de 1 año hace | 2 respuestas | 0

2

respuestas

Pregunta


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...

alrededor de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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; ...

alrededor de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

alrededor de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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);...

alrededor de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

alrededor de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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=...

más de 1 año hace | 1 respuesta | 0

1

respuesta