photo

sindre Røyland


Attivo dal 2015

Followers: 0   Following: 0

Statistica

MATLAB Answers

4 Domande
1 Risposta

RANK
195.028
of 300.364

REPUTAZIONE
0

CONTRIBUTI
4 Domande
1 Risposta

ACCETTAZIONE DELLE RISPOSTE
100.0%

VOTI RICEVUTI
0

RANK
 of 20.934

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK

of 168.407

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


change x axis, i have a plot of data from a headset. then i have 5 lines from a game, so i want 0-time from start(green) line till the end(red line), is it possible?
plot(data(2:end,3),data(2:end,1)); hold on; plot(data(2:end,3),data(2:end,2), 'k'); plot([Start Start],[0 1],...

oltre 10 anni fa | 2 risposte | 0

2

risposte

Risposto
i have a matrix (10,2), but when im using find(isnan) on this it becomes (1,10) can someone tell me why? i delet 10 of the nans
found it myself using a(isnan(a(:,1)),:) = []; and not a(find(isnan(a))) = [];

oltre 10 anni fa | 0

| accettato

Domanda


i have a matrix (10,2), but when im using find(isnan) on this it becomes (1,10) can someone tell me why? i delet 10 of the nans
a = ones(10,2)*nan b = 1:5; a(b,1) = b; a(b,2) = b; a(find(isnan(a))) = [];

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


can i change the x axis without changing the plot? So i have a array with 10000 numbers in it, i want to plot thoes 10000 numbers in time, like 0-10sec insted of 0-10000.
buf = ones(10000,1)*nan; i = 1; x = rand(10000,1); for i <= 10000 buf(i,1) = x i = i+1; end plot(buf)

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


How can i save the random numbers in one array/string? I have similar problem, so this is just an example. Don't know how to explaine the other one
for i = 1:10 rand() end %is coming 10 random numbers ans = 1, ans = 7 ans = 4 osv.

oltre 10 anni fa | 1 risposta | 0

1

risposta