Labfans是一个针对大学生、工程师和科研工作者的技术社区。 论坛首页 | 联系我们(Contact Us)
MATLAB爱好者论坛-LabFans.com
返回   MATLAB爱好者论坛-LabFans.com > 工程数学软件 > MATLAB论坛
MATLAB论坛 一切MATLAB相关问题在此讨论。
 
 
主题工具 显示模式
旧 2008-03-10, 16:23   #1
249573317
初级会员
 
注册日期: 2007-07-12
帖子: 9
声望力: 0
249573317 正向着好的方向发展
尴尬 【求助】image和imagesc

[x,y]=meshgrid(-2:0.5:2,-2:0.5:2)
t=x.*exp(-x.^-y.^2)
[px,py]=gradient(t,0.05,0.05)
td=sqrt(px.^2+py.^2)
subplot(221)
imagesc(t)
subplot(222)
imagesc(td)
colormap('gray')
运行,无图象
??? Error using ==> image
Error using ==> image
Image CData can not be complex.

Error in ==> imagesc at 19
hh = image(varargin{1},'CDataMapping','scaled');

Error in ==> wangge at 6
imagesc(t)
。。。这是怎么搞的,用which imagesc 查到imagesc-M文件,没有新建过同名文件。
image和imagesc有何区别?
249573317 当前离线   回复时引用此帖
 


发帖规则
不可以发表新主题
不可以发表回复
不可以上传附件
不可以编辑自己的帖子

启用 BB 代码
论坛启用 表情符号
论坛启用 [IMG] 代码
论坛禁用 HTML 代码



所有时间均为北京时间。现在的时间是 09:03


Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.