看板 MATLAB 關於我們 聯絡資訊
s='XXXXeeEXXXX' find(s==e) % 答案是 [5 6] 但是我想要找 'eeE'這個字串 希望出現 [5] 或是 [5 6 7] 的答案 可是輸入 find(s==eeE) 就會error 請問該如何改善呢? 感謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.35.57.176 ※ 文章網址: http://www.ptt.cc/bbs/MATLAB/M.1397718116.A.C7E.html ※ 編輯: ReiFu21 (114.35.57.176), 04/17/2014 15:02:50
YoursEver:strfind 04/17 15:10
ReiFu21:成功了 感謝 04/17 15:21