Commenting out large sections does not work sometimes

5 次查看(过去 30 天)
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?

采纳的回答

KSSV
KSSV 2017-10-18
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 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by