photo

Josh Williams


Last seen: oltre 2 anni fa Attivo dal 2020

Followers: 0   Following: 0

Statistica

MATLAB Answers

5 Domande
0 Risposte

RANK
118.279
of 300.331

REPUTAZIONE
0

CONTRIBUTI
5 Domande
0 Risposte

ACCETTAZIONE DELLE RISPOSTE
100.0%

VOTI RICEVUTI
0

RANK
 of 20.920

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK

of 168.124

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 3

Visualizza badge

Feeds

Visto da

Domanda


why is my nested if statement not working?
n=27 while n>1 n=n-1; shiptext= [22 6;38 21;24 36;2 30;6 2;15 31;22 15;24 15;10 33;29 11;32 15;29 21;31 4;25 27;29 27;10 ...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


how would i get a while loop to repeat this code 26 times?
shiptext= [22 6;38 21;24 36;2 30;6 2;15 31;22 15;24 15;10 33;29 11;32 15;29 21;31 4;25 27;29 27;10 11;35 17;15 14;22 20;21 29;23...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


I have a 2 by 26 matrix, how do i randomly select one of the rows and extract them?
shiptext= [22 6;38 21;24 36;2 30;6 2;15 31;22 15;24 15;10 33;29 11;32 15;29 21;31 4;25 27;29 27;10 11;35 17;15 14;22 20;21 29;23...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


unknown code- understand it up to the for loop but am lost from there. Can anyone lend a hand? thanks.
dat=load('data.dat') a=dat(:,1) b=dat(:,2) s=size(a) s=s(1) out=zeros(s,1) for n=1:s out(n)=(b(n+1)-b(n-1))/(a(n+1)-a(n-...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


unknown code- can anyone help me with what this code does?
clear r=rand(15,1) for i=1:15 for ii=1:15 if (r(i)>r(ii)) temp=r(i); r(i)=r(ii); r(ii)=temp; ...

oltre 5 anni fa | 2 risposte | 0

2

risposte