Statistica
6 Domande
0 Risposte
RANK
212.792
of 300.813
REPUTAZIONE
0
CONTRIBUTI
6 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
50.0%
VOTI RICEVUTI
0
RANK
of 171.169
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
how can i specify to take the middle digits of a string?
like if i have 426,692,449,089, i need a variable to assume the value of 692,449, it could also be 653217, i would need...
circa 13 anni fa | 1 risposta | 0
1
rispostaDomanda
how do i direct a for loop, to end after a variable reaches a certain point say x>7200? x is being accumulated in the loop but it is just a value thats inside the loop. the loop is for i:1:7200 but x reaches 7200 first then i want it to stop
for i=1:n; if (i == 1) l=(.5+4.5*rand); x(i,1)=l; y(i,1)=mod(x(i),60); else ...
circa 13 anni fa | 1 risposta | 0
1
rispostaDomanda
if i have a counter how would i specify that every time the counter goes up in increments of 1 to execute a command ?
specifically how to make this for loop take the cars in queue(or at the red light)and have them go clc %This code made me l...
circa 13 anni fa | 1 risposta | 0
1
rispostaDomanda
how do i create a loop that generates random numbers in between .5 and five seconds(.5+4.5*rand), that accumulates up to 60 seconds then resets back to zero seconds for 120 times
I have been trying to do this for two days and have a cluster f of variables which in the end doesn't work. I also need a separa...
circa 13 anni fa | 1 risposta | 0
1
rispostaDomanda
if i have a for loop doing iterations based on random intervals of time between .5-5 seconds, how do i keep track of that time?
for i=1:60; x=(.5+4.5*rand)+x; how do i figure out how much time went by during these 60 iterations?
circa 13 anni fa | 1 risposta | 0
1
rispostaDomanda
How do you get Matlab to return a value for how many 1's are in a vector containing just 1's and zeros
Like if i have greencars=[11111111000000000000] how to i get Matlab to count how many ones there are?
circa 13 anni fa | 4 risposte | 0
