Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

1 visualizzazione (ultimi 30 giorni)
stft = (Of_rightHandAccx_filtered,60,'Window',win,'OverlapLength',98,'FFTLength',2048);
  1 Commento
Raghav
Raghav il 29 Giu 2022
As per the error message: check for mismatched delimiters.
stft(Of_rightHandAccx_filtered,60,'Window',win,'OverlapLength',98,'FFTLength',2048);
would work if other variables like: Of_rightHandAccx_filtered and win are deefined correctly.
For further understanding stft() function in MATLAB, go through the documentation I have attached here.
Thanks

Accedi per commentare.

Risposta accettata

Jon
Jon il 29 Giu 2022
Modificato: Jon il 29 Giu 2022
On the right hand side of your equal sign you forgot to put the name of the function you were calling, you just list the arguments in parentheses.
Looks like you are using a function related to estimating power spectrums but I'm not sure what function you intended to call
  1 Commento
Merve Özkanat
Merve Özkanat il 27 Set 2022
Hi, I get the same error. Can you help please?
global a b t E nu
GP1=(-a/sqrt(3),-b/sqrt(3));
GP2=(a/sqrt(3),-b/sqrt(3));
GP3=(a/sqrt(3),b/sqrt(3));
GP4=(-a/sqrt(3),b/sqrt(3));

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by