Redian新闻
>
键盘错误,输入完全乱套(Dell Inspiron 9300)
avatar
r*o
2
最好能够直接命令一扫,读数据那种.
除了matlab,还有啥好选择.
做仿真结果,性能比较总需要这样的图.
avatar
a*a
3
myList2ndPartLen=myList[-1]
每次都说myList[-1] out of range 是怎么回事?这个不是表示myList里面最后一个元
素的么?新手。。。
avatar
d*l
4
不知道怎么回事,键盘输入完全乱套了,比如在word,Internet Expolore里面,敲个‘
S’,结果出来一个‘o’;敲个‘d’,出来个‘e’。
不过在写字板和opera(一种浏览器)里面,键盘却没啥问题,就是说硬件是好的。难
道我碰了什么快捷键?
多谢大虾指点。
avatar
l*g
5
gnuplot
avatar
a*a
6
你确定它非空?

【在 a***a 的大作中提到】
: myList2ndPartLen=myList[-1]
: 每次都说myList[-1] out of range 是怎么回事?这个不是表示myList里面最后一个元
: 素的么?新手。。。

avatar
b*g
7
I had the same problem before. In my case, it was due to the Microsoft
Virtual PC. After I uninstalled it, everything became fine. Is your CPU AMD?

【在 d*****l 的大作中提到】
: 不知道怎么回事,键盘输入完全乱套了,比如在word,Internet Expolore里面,敲个‘
: S’,结果出来一个‘o’;敲个‘d’,出来个‘e’。
: 不过在写字板和opera(一种浏览器)里面,键盘却没啥问题,就是说硬件是好的。难
: 道我碰了什么快捷键?
: 多谢大虾指点。

avatar
d*e
8
用这玩艺还不如用MATLAB呢

【在 l****g 的大作中提到】
: gnuplot
avatar
a*a
9
非空

【在 a***a 的大作中提到】
: myList2ndPartLen=myList[-1]
: 每次都说myList[-1] out of range 是怎么回事?这个不是表示myList里面最后一个元
: 素的么?新手。。。

avatar
h*s
10
键盘语言重新设置即可
鼠标点击屏幕最下面的蓝色条上面的“键盘”icon──属性──将“EN”设为缺省即可。
avatar
l*g
11

为什么呢, 如果输入格式是标准的 csv txt,
gnuplot 确实一条命令就可以画
需要parsing/计算的时候, 可以很方便的跟 perl, Tcl, PHP 之类的shell language
联起来

【在 d******e 的大作中提到】
: 用这玩艺还不如用MATLAB呢
avatar
r*t
12
肯定是空的。

【在 a***a 的大作中提到】
: 非空
avatar
r*o
13
有没有现成的例子,给个看看.
我那天赶着交报告,手头没matlab,最后还是用excel弄了得了.

language

【在 l****g 的大作中提到】
:
: 为什么呢, 如果输入格式是标准的 csv txt,
: gnuplot 确实一条命令就可以画
: 需要parsing/计算的时候, 可以很方便的跟 perl, Tcl, PHP 之类的shell language
: 联起来

avatar
L*r
14
拿最后一个元素是 mylist[-1:]

【在 a***a 的大作中提到】
: myList2ndPartLen=myList[-1]
: 每次都说myList[-1] out of range 是怎么回事?这个不是表示myList里面最后一个元
: 素的么?新手。。。

avatar
w*i
16
both work

【在 L*******r 的大作中提到】
: 拿最后一个元素是 mylist[-1:]
avatar
L*r
17
hehe. true.

【在 w****i 的大作中提到】
: both work
avatar
r*t
18
|1> a = []
|2> a[-1]
avatar
w*i
19
True, they are not identical for [], but [] is not the last element of []
either
BTW, [-1:] is about twice slower than [-1] for non-empty list
avatar
r*t
20

This is exactly why [][-1] raises an Exception instead of returns [] as the result.
I did not know that. Did you benchmark it to get this conclusion?

【在 w****i 的大作中提到】
: True, they are not identical for [], but [] is not the last element of []
: either
: BTW, [-1:] is about twice slower than [-1] for non-empty list

avatar
w*i
21
sure, the speed difference between [-1] and [-1:] is not hard to test
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。