| ²é¿´: 2231 | »Ø¸´: 0 | |||
460791000гæ (³õÈëÎÄ̳)
|
[½»Á÷]
matlabÖгöÏÖÕâ¸ö??? Index exceeds matrix dimensions.ÔÒò£¬¼±Çó£¡
|
|
ÏëÓÃmatalabµÄ×îС¶þ³Ë·¨½øÐÐÏßÐÔÄâºÏ£¬mº¯ÊýÈçÏ£º function yhat=funex1131(beta,x) a=beta(1); b=beta(2); c=beta(3); d=beta(4); x1=x(:,1); x2=x(:,2); x3=x(:,3); x4=x(:,4); x5=x(:,5); x6=x(:,6); yhat=4*a*0.00245*x1.*(300-x3)./x2+5.0930*x1.*(b*x4+c*0.00245+d).*x5./(x2.^3)+0.0245*x6; Ö÷³ÌÐò¼°ÔËÐнá¹ûÈçÏ£º clear all x=[211.398 211.398 211.398 211.398 217.14 217.14 217.14 217.14 217.14 217.14 223.14 223.14 223.14 223.14 229.398 229.398 229.398 229.398 229.398 229.398;0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125;260 265 252 255 255 260 255 250 260 260 240 265 255 250 255 265 250 265 260 260;2.8 3.5 4.4 2.9 3 3.4 2.9 4.7 4.2 3.3 3.7 2.5 4.8 4.7 2.2 1.7 4 3.1 4 2.1;25.153 24.615 24.406 25.6 28.235 26.667 26.667 26.544 26.544 26.301 25.263 25.6 26.916 26.916 28.374 29.388 27.692 27.042 27.826 30.968;178.2 178.2 178.2 178.2 178 178 178 178 178 178 184 184 184 184 196.2 196.2 196.2 196.2 196.2 196.2]'; y=[16.26 15.8 16.47 16.53 16.2 16.6 15.2074 16.0407 15.7741 15.3 16.73 16.555 17.578 17.833 16.37 15.278 17.663 16.685 17.481 16.789]'; beta0=[1,1,1,1]; [beta,r,j]=nlinfit(x,y,@funex1131,beta0); beta ci=nlparci(beta,r,j) nlintool(x,y,@funex1131,beta0,0.05,'Éú²úʱ¼äx','ÂÈÆø¼¸·Ýy') beta = 0.0031 0.0000 -203.5816 0.4988 ci = 1.0e+010 * -0.0000 0.0000 0.0000 0.0000 -4.5351 4.5351 -0.0111 0.0111 ??? Index exceeds matrix dimensions. Error in ==> nlintool at 187 xstr{k} = xname(k, ;Ôõô»á³öÏÖ¡°??? Index exceeds matrix dimensions.Error in ==> nlintool at 187 xstr{k} = xname(k, ;¡±£¿Êý¾Ý´úÈë½øÈ¥Îó²î³¬¼¶´ó£¿ÕâÊÇΪʲô£¿¼±Çó¸ßÊÖÖ¸½Ì£¡¶àл£¡ |
» ²ÂÄãϲ»¶
Ò»Ö¾Ô¸ÖÐÄÏ»¯Ñ§337Çóµ÷¼Á
ÒѾÓÐ4È˻ظ´
281Çóµ÷¼Á£¨0805£©
ÒѾÓÐ23È˻ظ´
265Çóµ÷¼Á
ÒѾÓÐ9È˻ظ´
279·ÖÇóµ÷¼Á Ò»Ö¾Ô¸211
ÒѾÓÐ10È˻ظ´
ÕÐÊÕµ÷¼Á˶ʿ
ÒѾÓÐ12È˻ظ´
296Çóµ÷¼Á
ÒѾÓÐ8È˻ظ´
ÕÐÊÕ²©Ê¿1-2ÈË
ÒѾÓÐ3È˻ظ´
085700×ÊÔ´Óë»·¾³308Çóµ÷¼Á
ÒѾÓÐ11È˻ظ´
274Çóµ÷¼Á
ÒѾÓÐ8È˻ظ´
290Çóµ÷¼Á
ÒѾÓÐ4È˻ظ´

ÕÒµ½Ò»Ð©Ïà¹ØµÄ¾«»ªÌû×Ó£¬Ï£ÍûÓÐÓÃŶ~
matlabÌáǰÉ趨Óï¾äÔËÐÐʱ¼äµÄÎÊÌâ
ÒѾÓÐ4È˻ظ´
matlab±à³ÌX=inv(A)*Ff³öÏÖError using * Inner matrix dimensions must agreeÇóÖú
ÒѾÓÐ5È˻ظ´
matlab ¡°Inner matrix dimensions must agree.¡±Ò»Ö±²»ÖªµÀÄÄÀï³ö´íÁË ÇóÖú
ÒѾÓÐ6È˻ظ´
matlabÈýάÊý×龨ÕóÑÓÍØÎÊÌâ
ÒѾÓÐ6È˻ظ´
ÇóÖúÒ»¸öMatlabÓï¾ä´íÎó£¬Error==>plus Matrix dimensions must agree
ÒѾÓÐ3È˻ظ´
ÓÃmatlab¶ÁÈ¡TXTÎı¾ÆäÖÐÒ»ÁеÄÊý¾Ý£¡
ÒѾÓÐ11È˻ظ´
matlabÖгöÏÖÕâ¸ö??? Index exceeds matrix dimensions.ÔÒò£¬ÔÚÏߵȣ¡
ÒѾÓÐ9È˻ظ´
ÎÒµÄMATLAB ¹«Ê½´úÂ룬ÔõôһֱÌáʾ ´íÎó
ÒѾÓÐ3È˻ظ´
matlabº¯Êýµ÷ÓÃÓëÊý×éµÄÎÊÌâ
ÒѾÓÐ19È˻ظ´
Õâ¸ömatlabµÄpÎļþÔõô¸öµ÷Ó÷¨
ÒѾÓÐ7È˻ظ´
matlab ÎÊÌâÇóÖú£¬Ò»¶Î³ÌÐò³ö´í£¬Çó¾À´í
ÒѾÓÐ7È˻ظ´
°ïæÐÞ¸ÄMatlabÖгöÏֵĴíÎó
ÒѾÓÐ4È˻ظ´
MatlabÖеÄMatrix dimensions must agree.´íÎóÇóÖú
ÒѾÓÐ4È˻ظ´
matlab end ʹÓÃÎ¥·¨
ÒѾÓÐ6È˻ظ´
ÇóÖúmatlabÈýά»Í¼ÖУºInner matrix dimensions must agree.
ÒѾÓÐ4È˻ظ´
¹ØÓÚÓ¦ÓÃMATLAB¹¤¾ßÏäBPÍøÂç±à³ÌÎÊÌâ
ÒѾÓÐ1È˻ظ´
¡¾ÇóÖú¡¿Matlab ʹÓÃÖÐÌáʾ³öÏÖµÄIndex exceeds matrix dimensions´íÎó
ÒѾÓÐ5È˻ظ´
¿ÆÑдÓСľ³æ¿ªÊ¼£¬ÈËÈËΪÎÒ£¬ÎÒΪÈËÈË













;
»Ø¸´´ËÂ¥
µã»÷ÕâÀïËÑË÷¸ü¶àÏà¹Ø×ÊÔ´