楼主: yinzidong
2435 1

急!!求救!!MATLAB关于prt报错! [推广有奖]

  • 0关注
  • 2粉丝

博士生

32%

还不是VIP/贵宾

-

威望
0
论坛币
140 个
通用积分
6.6911
学术水平
0 点
热心指数
1 点
信用等级
0 点
经验
14304 点
帖子
279
精华
0
在线时间
223 小时
注册时间
2007-10-25
最后登录
2018-5-23

楼主
yinzidong 发表于 2010-9-16 17:11:20 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
急呀!!向各位大侠求助!!!崩溃了啊!!终于把spatial toolbox放到matlab里了。可是发现,还是会不停的报错。
本人新手!请教各位高手,这个问题应该怎么解决??????

报错如下:
>> demo
??? Error using ==> prt
results structure not known by prt function

Error in ==> demo at 57
prt(res)



对应的m文件里的代码:

%Joint LM test
res=lm_f_joint(y,x,W,W,N);
prt(res)                                     -------------------------------------------------------第57行

% LM test for spatially autocorrelated errors
res1=lm_f_err(y,x,W,N);
prt(res1)

% LM test for a SAR specification
res2=lm_f_sar(y,x,W,N);
prt(res2)


关于prt:
>> help prt
  PURPOSE: Prints results structures returned by most functions
           by calling the appropriate printing function
---------------------------------------------------
  USAGE: prt(results,vnames,fid)
  Where: results = a results structure returned an econometric function
         vnames  = an optional vector of variable names
         fid     = file-id for printing results to a file
                   (defaults to the MATLAB command window)
---------------------------------------------------               
                  e.g. vnames = ['y    ',
                                 'x1   ',  NOTE: fixed width
                                 'x2   ',        like all MATLAB
                                 'cterm'];       strings
                  e.g. fid = fopen('ols.out','wr');
  --------------------------------------------------
  NOTES: you may use prt(results,[],fid) to print
         output to a file with no vnames
         this is simply a wrapper function that calls another function
  --------------------------------------------------        
  RETURNS:
         nothing, just prints the regression results
  --------------------------------------------------
  SEE ALSO: plt()
---------------------------------------------------
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:MATLAB matla atlab Mat Atl MATLAB 求救 prt

everything s possible~~

沙发
yinzidong 发表于 2010-9-16 18:56:26
不能沉下去呀!!!!呼唤高手呀~~~~~
everything s possible~~

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-30 03:05