| ²é¿´: 2742 | »Ø¸´: 0 | |||
dubo½ð³æ (ÖøÃûдÊÖ)
|
[ÇóÖú]
Failure in initial user-supplied objective function evaluation
|
|
fum.m: function [ f ] = fun( c,x ) %UNTITLED3 Summary of this function goes here % Detailed explanation goes here % f=1-8/9.8696.*exp(-9.8696.*c(1).*x/(c(2).^2)); f=c(1).*exp(-c(2).*x)+c(3).*((exp(c(4).*x))./x)^0.5; end ana.m: clc;clear; data=[0 0 1 27.33333333 2 37.46666667 3 48.5 4 57.6 5 66.53333333 6 74.43333333 8 85.33333333 10 91.1 12 95.5 14 96.53333333 17 97.3 20 97.93333333 24 98.33333333]; xdata=data(:,1); ydata=data(:,2)./100; c0=[1 0 -0.6506 0.1]; c=c0; for i=1:2 c = lsqcurvefit ('fun', c0, xdata, ydata) ; c0 = c; %ÒÔ¼ÆËã³öµÄ cΪ³õÖµ½øÐеü´ú; end c x=0:0.5:25; y1=c(1).*exp(-c(2).*x)+c(3).*((exp(c(4).*x))./x).^0.5; plot(xdata, ydata,'o',x,y1,'r'); legend ('ʵÑéÊý¾Ý ','ÄâºÏÇúÏß'); ±¨´í£º Caused by: Failure in initial user-supplied objective function evaluation. LSQCURVEFIT cannot continue. Òâ˼ÊdzõʼֵÉèÖõIJ»ºÏÀíµ¼ÖµÄÂð£¿ÄÇôÕâ¸ö³õʼֵӦ¸ÃÔõÃ´Ñ¡ÄØ£¿£¿Ð»Ð»£¡£¡ |
» ²ÂÄãϲ»¶
085600£¬321·ÖÇóµ÷¼Á
ÒѾÓÐ11È˻ظ´
¸´ÊÔµ÷¼Á
ÒѾÓÐ8È˻ظ´
²ÄÁϵ÷¼Á
ÒѾÓÐ12È˻ظ´
301Çóµ÷¼Á
ÒѾÓÐ11È˻ظ´
283Çóµ÷¼Á
ÒѾÓÐ10È˻ظ´
0703»¯Ñ§
ÒѾÓÐ11È˻ظ´
322Çóµ÷¼Á£ºÒ»Ö¾Ô¸ºþÄÏ´óѧ ²ÄÁÏÓ뻯¹¤£¨085600£©£¬ÒѹýÁù¼¶¡£
ÒѾÓÐ18È˻ظ´
070300»¯Ñ§Ñ§Ë¶311·ÖÇóµ÷¼Á
ÒѾÓÐ11È˻ظ´
²ÄÁÏ»¯¹¤306·ÖÕÒºÏÊʵ÷¼Á
ÒѾÓÐ12È˻ظ´
298Çóµ÷¼Á
ÒѾÓÐ3È˻ظ´
ÕÒµ½Ò»Ð©Ïà¹ØµÄ¾«»ªÌû×Ó£¬Ï£ÍûÓÐÓÃŶ~
Just find we cannot use SCI commentary function in emuch and some thoughts
ÒѾÓÐ4È˻ظ´
¡¾Activity¡¿Share your understanding of the moon image in chinese culture.
ÒѾÓÐ103È˻ظ´
No initial positions read in
ÒѾÓÐ25È˻ظ´
¡¾Pure water¡¿MSN login failure in China
ÒѾÓÐ3È˻ظ´
¡¾Discussion¡¿What are the basic social features in Chinese culture?
ÒѾÓÐ16È˻ظ´
¡¾ÇóÖú¡¿Ïò·þÎñÆ÷Ìá½»º¬Ìض¨Ô×ÓµÄÈÎÎñ×ÜÊÇʧ°Ü£ºFailure in writing file to gateway
ÒѾÓÐ20È˻ظ´
¡¾ÒÑÇóÖú³É¹¦¡¿ÈçºÎ´Óradial distribution functionµÃµ½¸÷²ãÅäλÊý
ÒѾÓÐ9È˻ظ´
¡¾Pray¡¿May you two always be in love!
ÒѾÓÐ30È˻ظ´
Laser Processing Phd position in Italy
ÒѾÓÐ3È˻ظ´
¿ÆÑдÓСľ³æ¿ªÊ¼£¬ÈËÈËΪÎÒ£¬ÎÒΪÈËÈË














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