photo

JICHAO ZHANG


Last seen: circa un anno fa Attivo dal 2023

Followers: 0   Following: 0

Statistica

Feeds

Visto da

Domanda


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

circa un anno fa | 2 risposte | 0

2

risposte

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

oltre un anno fa | 1 risposta | 0

1

risposta