plz send me the answer
정보
This question is locked. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
댓글 수: 0
답변 (5개)
Walter Roberson
2012년 3월 26일
0 개 추천
This is not possible in MATLAB, as MATLAB arrays cannot be indexed at negative numbers or 0, but you want to index y at -3, -2, -1, and 0, along with 1, 2, and 3.
댓글 수: 1
fadi rami
2012년 3월 26일
Geoff
2012년 3월 26일
I think you mean this:
x = -3:3;
y = 2 * x + 3;
plot(x, y);
Image Analyst
2012년 3월 26일
0 개 추천
Don't forget to check your duplicate post in the newsgroup: http://groups.google.com/group/comp.soft-sys.matlab/browse_frm/thread/23153174886ed6bd?hl=en#
댓글 수: 0
MATLAB does not allow negative or zero indices. MATLAB array indexing must start at 1
댓글 수: 0
y[n]=x[2n+3]
with x=[1,2,3,4,5,6,7] and n=−3:3.
댓글 수: 0
This question is locked.
카테고리
도움말 센터 및 File Exchange에서 Fractals에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!