Community Profile

photo

Dun-Ren Liu


Last seen: ungefär ett år ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Explorer

View badges

Feeds

View by

Question


如何設定矩陣中特定元素的值
[m1,m2]=find(www=='Ref'); f=zeros(480,640); f(m1,m2)=1; m1、m2分別為一個n*1的矩陣,若我想把f矩陣中每個對應的(m1,m2)元素設為1, 例如:m1=[1,2,3],m2=[4,5,6]...

nästan 2 år ago | 1 answer | 0

1

answer