[請益] how to write turth table using matlab?

看板Programming作者 (我的心快死了)時間18年前 (2007/10/02 08:03), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/3 (看更多)
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

10/02 19:52, , 1F
可以考慮用recursive,幾行就可以達成需求
10/02 19:52, 1F
文章代碼(AID): #170VjXUh (Programming)
討論串 (同標題文章)
文章代碼(AID): #170VjXUh (Programming)