Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Can't get the code into the for loop

1 visualizzazione (ultimi 30 giorni)
George Ansari
George Ansari il 7 Ago 2017
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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 Commenti
George Ansari
George Ansari il 8 Ago 2017
Kevin, yes, I suppose it should be that way.
KL
KL il 8 Ago 2017
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.

Risposte (0)

Questa domanda è chiusa.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by