在MATLAB中,A = 1:9,现在执行如下指令L1 = ~(A>;5),则MATLAB的执行结果应该是L1 =()
A: 0 0 0 0 0 1 1 1 1
B: 1 1 1 1 1 0 0 0 0
C: 1 1 1 1 1 1 0 0 0
D: 0 0 0 0 0 0 1 1 1
A: 0 0 0 0 0 1 1 1 1
B: 1 1 1 1 1 0 0 0 0
C: 1 1 1 1 1 1 0 0 0
D: 0 0 0 0 0 0 1 1 1
举一反三
- 以下HDB3码中,哪些可以确定其中有误码 A: +1 0 0 0 -1 0 +1 -1 +1 0 0 +1 0 -1 +1 -1 0 0 -1 +1…… B: +1 0 0 -1 +1 0 0 0 +1 -1 0 0 -1 0 0 0 +1 0 0 +1 -1…… C: -1 0 0 0 -1 0 +1 0 0 0 +1 -1 +1 0 0 +1 0 0 -1 +1…… D: -1 0 +1 0 0 0 -1 +1 0 0 0 +1 -1 +1 -1 0 0 -1 +1 0 -1……
- 对HDB3码-1000+100-1000-1+1000+1-1+1-100-1+1-1进行译码,结果是( )。 A: 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 1 1 B: 1 0 0 0 1 0 0 1 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 0 1 C: 1 0 1 0 1 0 0 1 0 0 0 0 1 1 0 0 0 1 1 0 0 0 0 1 1 D: 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 1 1
- 编写程序,创建下列10*10的数组,数组边界全为1,里面全为0。 [[1 1 1 1 1 1 1 1 1 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 0 0 0 0 0 0 0 0 1] [1 1 1 1 1 1 1 1 1 1]]
- 对信码1000100100001000011000011进行HDB3编码,结果可能是( )。 A: -1 0 0 0 +1 0 0 -1 0 0 0 -V +1 0 0 0 +V -1 +1 -B 0 0 -V +1 -1 B: +1 0 0 0 -1 0 0 +1 0 0 0 +V -1 0 0 0 -V +1 -1 +B 0 0 +V -1 +1 C: +1 0 0 0 -1 0 0 +1 0 0 0 +1 -1 0 0 0 -1 +1 -1 +1 0 0 +1 -1 +1 D: -1 0 0 0 +1 0 0 -1 0 0 0 +V +1 0 0 0 +V -1 +1 +B 0 0 -V +1 -1
- 1 1 1 1 1 0 1 1 1 1 0 0 1 1 1 0 0 0 1 1 0 0 0 0 1