作者beck (我的心快死了)
看板Programming
標題[請益] how to write turth table using matlab?
時間Tue Oct 2 16:03:44 2007
HI~
i have a problem,if i input N=3, i want to see below:
0 0 0
0 0 1
0 1 0
0 1 1
.
.
.
1 1 1
how do i write this program using matlab?
i come to a pretty pass!
would you offer some idea to me?
thanks a lot
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.236.86
1F:推 jackeyH:可以考慮用recursive,幾行就可以達成需求 134.208.2.196 10/02 19:52