필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

to save time the mistake is in this line how can i solve it

조회 수: 2 (최근 30일)
abed
abed 2013년 12월 7일
마감: MATLAB Answer Bot 2021년 8월 20일
omega=(pi/tmax)*(0:nt/2-1) (-nt/2:-1); the error is said:
Unbalanced or unexpected parenthesis or bracket.how can i solve it if i need this interval

답변 (1개)

sixwwwwww
sixwwwwww 2013년 12월 7일
편집: sixwwwwww 2013년 12월 7일
perhaps * or / is missing
omega=(pi/tmax)*(0:nt/2-1) .* or ./ (-nt/2:-1);
  댓글 수: 2
abed
abed 2013년 12월 7일
if i put slash does this mean i am using 2 intervals as 1 or not because i am definitely dont want to multiply the intervals
sixwwwwww
sixwwwwww 2013년 12월 7일
./ mean you are dividing values (pi/tmax)*(0:nt/2-1) with the values (-nt/2:-1). So it has nothing to do with the interval. It just calculating values

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by