I have Parse error at '<' :usage might be invalid syntax

 採用された回答

Walter Roberson
Walter Roberson 2017 年 10 月 10 日

1 投票

You are using C or C++ syntax. MATLAB syntax is either
for variable = expression
or
while expression
You should probably be using
for j = 1 : maxc
or possibly
for j = 1 : maxc - 1

その他の回答 (1 件)

カテゴリ

タグ

質問済み:

2017 年 10 月 10 日

回答済み:

2017 年 10 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by