Commenting out large sections does not work sometimes

조회 수: 3 (최근 30일)
ddd ppp
ddd ppp 2017년 10월 18일
편집: Vladimir Cordeiro 2021년 12월 19일
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
KSSV
KSSV 2017년 10월 18일
I knew it..so only asked to attach the file....;)
Vladimir Cordeiro
Vladimir Cordeiro 2021년 12월 19일
편집: Vladimir Cordeiro 2021년 12월 19일
Thanks, bro!

댓글을 달려면 로그인하십시오.

추가 답변 (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