For loop not working for my equation.

 採用された回答

Image Analyst
Image Analyst 2014 年 3 月 26 日

0 投票

You can't do that. Not sure what you're wanting to do but try to write it like this
for gra = graStart : graStep : graEnd
You give it 3 values, a starting value, an increment, and an ending value. You don't have that - you have a mess. Try to correct it.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

質問済み:

2014 年 3 月 26 日

コメント済み:

2014 年 5 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by