Josh Williams
Followers: 0 Following: 0
Statistiques
5 Questions
0 Réponses
RANG
248 873
of 294 421
RÉPUTATION
0
CONTRIBUTIONS
5 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
100.0%
VOTES REÇUS
0
RANG
of 20 110
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 151 653
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
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 ...
plus de 4 ans il y a | 1 réponse | 0
1
réponseQuestion
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...
plus de 4 ans il y a | 1 réponse | 0
1
réponseQuestion
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...
plus de 4 ans il y a | 1 réponse | 0
1
réponseQuestion
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-...
plus de 4 ans il y a | 1 réponse | 0
1
réponseQuestion
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; ...
plus de 4 ans il y a | 2 réponses | 0