[問題]有關cfun

看板MATLAB作者 (每天都要有精神~~go go)時間13年前 (2012/05/14 19:12), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
請問各位大大 我利用fit做curve fitting bb=(5000,30) 我要對bb做fit 所以我寫了 bbfit=zeros(5000,30); for i=1:5000 a=[1:30]; b=bb(i,:); [cfun,gov,output]=fit(a',b','poly5'); bbfit(i,:)=cfun; end 結果出來的error code 是 the following error occurred converting from cfit to double error using=>double conversion to double from cfit is not possible error in=>bbfit(i,:)=cfun 我該如何把fit好的線一條條存出來呢?? 請各位大大教我~~~ 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 120.126.74.129
文章代碼(AID): #1FiEYVUz (MATLAB)
討論串 (同標題文章)
以下文章回應了本文
完整討論串 (本文為第 1 之 2 篇):
文章代碼(AID): #1FiEYVUz (MATLAB)