用for的循环结构时使用数组出现问题。

3 Ansichten (letzte 30 Tage)
代码:
for sum= 1:5;
Ft(sum)=Tq*ig(sum)*i0*nt/r;
sum ++;
end
使用版本:matlab r2016a
系统:windows11(64)
问题:

Akzeptierte Antwort

永利系统审核维护注单延迟未回传导致无法出款怎么办?【微81923899】
你这显然对MATLAB基本语法知识都没有概念,直接把c语言之类的语法往MATLAB里生搬硬套,MATLAB不支持++的运算。
请先去找点讲MATLAB基础的书籍资料,比如《 邢树军译 matlab教程 》,好好学习一下规范的思路和写法。

Weitere Antworten (0)

Kategorien

Mehr zu 循环及条件语句 finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!