Defining and Using Variable-Size Data in MATLAB Function Blocks
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
hello there any one can help me.
I´m working with simulink and add a matlab function block
e=d(:,ind);
fi=int8(d(1,ind));
ci=int8(d(2,ind));
fo=int8(d(1,ind)+d(3,ind));
co=int8(d(2,ind)+d(4,ind));
a=inten(fi:fo,ci:co);
need to create a matrix of 2 dimension with size specified in d(:,n), and values from matrix 'inten', this is a intensity image.
any help is welcome.
댓글 수: 1
Fangjun Jiang
2011년 10월 28일
Use {}Code format next time.
답변 (0개)
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!