Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

1 visualizzazione (ultimi 30 giorni)
abed il 7 Dic 2013
Chiuso: MATLAB Answer Bot il 20 Ago 2021
omega=(pi/tmax)*(0:nt/2-1) (-nt/2:-1); the error is said:
Unbalanced or unexpected parenthesis or can i solve it if i need this interval

Risposte (1)

sixwwwwww il 7 Dic 2013
Modificato: sixwwwwww il 7 Dic 2013
perhaps * or / is missing
omega=(pi/tmax)*(0:nt/2-1) .* or ./ (-nt/2:-1);
  2 Commenti
sixwwwwww il 7 Dic 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


Community Treasure Hunt

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

Start Hunting!

Translated by