求助,急用!!!
谁可以给我编写一个三乘三的矩阵,下面是我自己写的,但不能运行,求指教。private sub form_click()
dim a (0 to 2, 0 to 5) as integer b(2,3)=1
dim a, b, c as integer b(2,4)=3
a(0,0) =12 b(2,5)=4
a(0,1)=1 For j =0 to 2
a (0,2)=5 for i =0 to 5
b(0.3)=9 C(i ,j)=a(m,n)+b(m,n)
b(0,4)=10 frint c (i,j);
b(0,5)=3 next i
a(1,0)=4 print
a(1,1)=3 next j
a(1,2)=6 print
b(1,3)=56 End sub
b(1,4)=21
b(1,5)=1
a(0,2)=2
a(2,1)=0
a(2,2)=7
请问楼主要什么类型的矩阵。。还是随便一个矩阵? 山林隐逸 发表于 2014-5-23 14:19 static/image/common/back.gif
请问楼主要什么类型的矩阵。。还是随便一个矩阵?
三乘三的任何矩阵 运行A=rand(3,2)就可以了, 运行A=rand(3,2)就可以了,自己随便写也可以啊,,, 在command window里面输入A=rand(3,2) 在command window里面输入A=rand(3,2)
页:
[1]