Commenting out large sections does not work sometimes

4 visualizaciones (últimos 30 días)
ddd ppp
ddd ppp el 18 de Oct. de 2017
Editada: Vladimir Cordeiro el 19 de Dic. de 2021
hi, im trying to comment out this text:
Write a MATLAB script that will load a *.csv (comma separated value) file containing
two column vectors; the first vector containing time values, the second amplitude
values. The script should compute the discrete fast Fourier transform of the amplitude
values and plot the Single-Sided Power Spectrum. MATLAB help can be found
at:
but %{
%} does not work. this happens sometimes. would you know why?
Are there special rules for block commenting?

Respuesta aceptada

KSSV
KSSV el 18 de Oct. de 2017
This works when nothing is written next to them....you must write the comment after and before these lines:
The below works:
%{
Write a MATLAB script that will load a *.csv (comma separated value) file containing two column vectors; the first vector containing time values, the second amplitude values. The script should compute the discrete fast Fourier transform of the amplitude values and plot the Single-Sided Power Spectrum. MATLAB help can be found at:
%}
  5 comentarios
KSSV
KSSV el 18 de Oct. de 2017
I knew it..so only asked to attach the file....;)
Vladimir Cordeiro
Vladimir Cordeiro el 19 de Dic. de 2021
Editada: Vladimir Cordeiro el 19 de Dic. de 2021
Thanks, bro!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by