登 录
註 冊
论坛
微波仿真网
注册
登录论坛可查看更多信息
微波仿真论坛
>
通信系统仿真专区 Communication System Simulation
>
Matlab&Simulink
>
3D plot problem in Matlab
发帖
回复
3745
阅读
5
回复
3D plot problem in Matlab
离线
rfdesgin
UID :81578
注册:
2011-08-17
登录:
2012-01-27
发帖:
57
等级:
仿真一级
0楼
发表于: 2011-09-03 15:11:24
— 本帖被 hefang 从 其它软件 移动到本区(2011-09-03) —
关键词:
Matlab
Dear all
dF^`6-K1
E8.1jCL>{"
I try to plot a 3D surface in matlab by this command
VO<P9g$UD
first I import the txt file in matlab and then :
1`9'.w+r
op,mP0b
IIAm"=*
x=data(:,1);
X CHN'l'
>> y=data(:,2);
J@IF='{
>> z=data(:,3);
0BN=>]V~j7
>> SAR=data(:,4);
p@3 <{kLm
>> [X,Y,Z]=meshgrid(x,y,z);
iwfH~
surf(X,Y,Z,SAR);
W"g@*B'|
lGEfI&1%!
but I face with this error :
HHZrovA#
8p]Krs:
??? Maximum variable size allowed by the program is exceeded.
U3p Mv|b
: n\D
Error in ==> meshgrid at 60
r#c+{yY
xx = xx(ones(ny,1),:,ones(nz,1));
+L pMNnl6
qSQsY:]j0
(wp?tMN5#
fK4NmdTV
how can I solve it?
w"!zLB&9[
Zb2.o5#}
未注册仅能浏览
部分内容
,查看
全部内容及附件
请先
登录
或
注册
附件:
SAR.rar
(54 K) 下载次数:1
共
条评分
离线
rfdesgin
UID :81578
注册:
2011-08-17
登录:
2012-01-27
发帖:
57
等级:
仿真一级
1楼
发表于: 2011-09-04 10:42:51
after that I faced that error I used this command to determine how much is the free memory space ?
{;ur~KE
x 0x/2re
feature memstats
!_=3Dz
0x8aKq\'
and there is the result about space in the memory :
UP |#WegO
H He~OxWg
feature memstats
|%-:qk4rG
.+hM1OF`x
Physical Memory (RAM):
B$%7U><'
In Use: 1097 MB (449cb000)
@@Vf"o+S
Free: 948 MB (3b4a0000)
w1P8p>vA1
Total: 2046 MB (7fe6b000)
[)83X\CO
Page File (Swap space):
i:,37INMt
In Use: 1249 MB (4e145000)
K~aIY0=<
Free: 2689 MB (a819a000)
i3 n0W1~
Total: 3938 MB (f62df000)
:1\QM'O
Virtual Memory (Address Space):
@~`2Lo/
In Use: 396 MB (18cfd000)
}mSfg
Free: 1650 MB (672e3000)
IBr|A
Total: 2047 MB (7ffe0000)
olO&7jh7|
Largest Contiguous Free Blocks:
,-{2ai_
1. [at 3002d000] 685 MB (2ad43000)
m8njP-CZ
2. [at 1a532000] 346 MB (15ace000)
e{33%5
3. [at 5de88000] 75 MB ( 4b38000)
3ws}E6\D
4. [at 163c0000] 64 MB ( 4040000)
b<mxf\b
5. [at 68ff7000] 64 MB ( 4009000)
c`h/x>fa
6. [at 6d7c5000] 56 MB ( 383b000)
8k`rj;
7. [at 630e6000] 48 MB ( 30da000)
7ezf.[{R
8. [at 663dd000] 27 MB ( 1b23000)
JOJ?.H&su
9. [at 5b8b5000] 23 MB ( 17db000)
rocG;$[
10. [at 71ad9000] 21 MB ( 1527000)
Mlr}v^"G
======= ==========
VC@{cVT
1412 MB (584cc000)
D$ +"n
NHL{.8L{
ans =
P(&9S` I
y #Xq@
718548992
XK4idC
SmYY){AQ/
BKQI|i
-wjvD8fL
so,why I face with this error!?
UP}5E h
共
条评分
离线
hefang
本账号已冷冻,请勿发站内信或回帖,概不回复!
UID :24731
注册:
2009-01-19
登录:
2025-05-09
发帖:
9469
等级:
荣誉管理员
2楼
发表于: 2011-09-04 14:47:29
回 楼主(rfdesgin) 的帖子
Matlab帮助文件里并没有说meshgrid有长度限制,因此你要考虑的是导入赋值的x, y, z有没有超过软件对变量名长度的限制,这一点你并没有说明。
共
条评分
版主周末都不回答问题?
版主要回答问题,你做到了吗?
hefang你是CST公司的吧,说点儿有用的!
你是做天线的吗?不懂不要说外行的话!
你要是不懂就shut up!
相信我,没有你论坛会更好。
离线
rfdesgin
UID :81578
注册:
2011-08-17
登录:
2012-01-27
发帖:
57
等级:
仿真一级
3楼
发表于: 2011-09-04 15:14:34
回 2楼(hefang) 的帖子
dear hefang
hRTw8-wy:
thanks for your reply
nI.K|hU:P
E|Mu1I]e
I attached my txt file may you to look it.
.Nz2K[
x9q?^\x
I don't understand what you mean:
S[(Tpk2_
:["iBrFp
"import assignment x, y, z have no more than the software limit on the length of variable names, which you did not specify."
8)HUo?/3
d\dh"/_$
共
条评分
离线
hefang
本账号已冷冻,请勿发站内信或回帖,概不回复!
UID :24731
注册:
2009-01-19
登录:
2025-05-09
发帖:
9469
等级:
荣誉管理员
4楼
发表于: 2011-09-05 16:00:10
回 3楼(rfdesgin) 的帖子
看你总是用英文留言,为什么不耐心理解一下软件给你的提示呢?提示信息说allowed by the
program
,以我的理解,这个限制不是源自meshgrid这个函数,而是因为Matlab这个程序。假设这个导入的数据里有2亿个数据项,你觉得正常的软件能处理么?
t<=Ru*p
LFvO[&
什么附件?有这么忙么,发完就走人也不看看帖子是不是完整?
共
条评分
版主周末都不回答问题?
版主要回答问题,你做到了吗?
hefang你是CST公司的吧,说点儿有用的!
你是做天线的吗?不懂不要说外行的话!
你要是不懂就shut up!
相信我,没有你论坛会更好。
离线
鑫博2012
UID :98571
注册:
2012-08-27
登录:
2015-03-09
发帖:
311
等级:
仿真三级
5楼
发表于: 2012-11-07 20:45:30
希望能仿真吧
共
条评分
发帖
回复