Selecting specific columns in a for loop
Mostra commenti meno recenti
Hi everyone,
I would like to select to multiply integers between 401:500 with a matrix as shown in the code below
for j=401:500
Meas_Load{j,1}= RLoad2 - j.*RPVR;
end
My expectation is that the variable Meas_Load is a cell if dimension 100 by 1. Unfortunately the resulting dimension is 500 by 1. How can I achieve a 100 by 1 cell in this loop? Thanks
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Particle Swarm in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!