How to create a loop in matlab codes?
1 次查看(过去 30 天)
显示 更早的评论
i am calculating a variable theta , and i need to give this theta as a feed bak to one of the formula which i used to calculate it. how should i give a loop. i am totally new to matlab codes. please help. the calculation is,
theta = a+b-c-d, where a b c d are some formulas, in which b and c has a theta term in it. so i have to give the left side theta as feedback to b and c.
in simulink you can just pick a line from theta and connect it to b and c block. but how do i loop this with matlab codes?
please help me.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!