photo

Bushra Atta Khakwani khakwani


Last seen: quasi 3 anni fa Attivo dal 2022

Followers: 0   Following: 0

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 21.252

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
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

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

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

risposte

Domanda


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

1

risposta