Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Can't get the code into the for loop

1 回表示 (過去 30 日間)
George Ansari
George Ansari 2017 年 8 月 7 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Dear all, Please help me to get the attached code into the for loop. The code must run for j=1:length(Pd). Two variables are varying with every 'j' - Pd(j) and no_units(j). Of course the sizes of Pd and no_units are the same. I'm able to run it in a for loop for different Pd, but it doesn't work when I include no_units.
Many thanks, George.
  5 件のコメント
George Ansari
George Ansari 2017 年 8 月 8 日
Kevin, yes, I suppose it should be that way.
KL
KL 2017 年 8 月 8 日
it doesn't work when I include no_units
show us what you've tried. Simply attaching your m-file and asking us to do your work is not the point.

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by