필터 지우기
필터 지우기

matrix dimensions of an oval (pretty basic question)

조회 수: 2 (최근 30일)
Brett
Brett 2013년 1월 24일
Hi everyone, I know this is a basic question, but I'm not sure how to determine the matrix dimensions of an oval. This is the code for my oval:
disc1 = [X-80,Y-80,X+80,Y+80] + repmat([rx, by], ?, ?)
the question marks represent the matrix dimensions for the [X-80,Y-80,X+80,Y+80] part, but I'm not sure how to determine what they are.
Any help would be must appreciated, thanks, Brett
  댓글 수: 1
Brett
Brett 2013년 1월 25일
Nevermind, 1,2 matrix dimensions seems to do the trick. :)

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by