フィルターのクリア

about numjac handling exp function

1 回表示 (過去 30 日間)
Kevin Lin
Kevin Lin 2020 年 5 月 5 日
編集済み: Rik 2020 年 5 月 5 日
I am facing a problem that when I am using numjac to find the jacobian of a exp function, when my deminsion grows , the error grows super large, how can I fix that? the seting as following:
x=[0:1/(i-1):1]'
t=1;
fty=ff(t,x);
thresh=eps.*ones(i,1);
frac=[];
vectorized=1;
numjac(@ff ,t,x,fty,thresh,frac,vectorized);
where
[ FF ] = ff( t,X )
d=size(X);
n=d(1);
FF=repmat(sum(X),n,1).*exp(X);

回答 (0 件)

カテゴリ

Help Center および File ExchangeEvent Functions についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by