Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 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

この質問は閉じられています。

タグ


Translated by