⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 detamyfun.m

📁 同伦方程组求非线性方程组所有解
💻 M
字号:
function y=detamyfun(x)
% find the deta of function myfun! 
%clear; 
%x=[-0.15535199070086;0.34341369822925;-0.75632689194207;  -1.18890170828280 ; -0.31367935040340 ; -10.93106207068521];
%x=[0;0.2];
[n0,n1]=size(x);h0=0.01;h1=norm(myfun(x),inf);
eps1=min(h0,h1);detaf=[];
format long
 for j=1:n0
     x(j)=x(j)-eps1;A11=myfun(x);
     x(j)=x(j)+2*eps1;A12=myfun(x);
     x(j)=x(j)-eps1;  
     for i=1:n0
       w1=A11(i,1);
       w2=A12(i,1);
       deta(i,j)=(w2-w1)/(2*eps1);
     end
end
y=deta;
%__________ 2004.3.6 __________compiled______ok!_____

        
        

 
   

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -