MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   Mathematica论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=34)
-   -   [问题] mathematica赋值中出现null怎么回事? (https://www.labfans.com/bbs/showthread.php?t=11281)

inmorning 2010-04-08 16:28

mathematica赋值中出现null怎么回事?
 
我用mathematica算东西,
用For循环,
每次输出一组数据,
赋值到一个表Data中,
但是每组值都带有Null是怎么回事?
======================================================
Print[{a,e}];
显示出
{1.,535.857}
{2.,392.581}
{3.,550.053}
但是再循环中用
Data5[[i]]] = {N[a], te};
在输出Data5后就显示出了
{{1. Null, 535.857 Null}, {2. Null, 392.581 Null}, {3. Null,
550.053 Null}}
=========================================================
很奇怪,
我还想用ListPlot[Data5],画图呢,
这样一弄就没法画图了,
点少了还好,
我可以一个一个赋值,但是一般一算都是上千个点的,
那就麻烦死了,
求助高手指点一下


所有时间均为北京时间。现在的时间是 08:00

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