Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

2 Ansichten (letzte 30 Tage)
abed
abed am 7 Dez. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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

Antworten (1)

sixwwwwww
sixwwwwww am 7 Dez. 2013
Bearbeitet: sixwwwwww am 7 Dez. 2013
perhaps * or / is missing
omega=(pi/tmax)*(0:nt/2-1) .* or ./ (-nt/2:-1);
  2 Kommentare
abed
abed am 7 Dez. 2013
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 am 7 Dez. 2013
./ 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

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by