Statistica
MATLAB Answers
2 Domande
0 Risposte
RANK
119.605
of 301.383
REPUTAZIONE
0
CONTRIBUTI
2 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
50.0%
VOTI RICEVUTI
0
RANK
of 174.306
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
i want to generate random matrix "P" but every alternate entry in each of the column is repeating
for i = 1:22 for j=1:22 if mod(j,2)==0 P(j,i) = y_random(i); %y coordinate else P(j,i) = x_ran...
oltre 3 anni fa | 0 risposte | 0
0
risposteDomanda
I want to only run my loop till 22 but it shoud take odd numbers for x_random and even for y_random
while i < 22 if mod(i,2)==0 P(2,i) = y_random(i); %y coordinate else P(1,i) = x_random(i); %x coord...
oltre 3 anni fa | 1 risposta | 0
