photo

Josh Williams


Last seen: más de 2 años hace Con actividad desde 2020

Followers: 0   Following: 0

Estadística

MATLAB Answers

5 Preguntas
0 Respuestas

CLASIFICACIÓN
107.768
of 300.706

REPUTACIÓN
0

CONTRIBUCIONES
5 Preguntas
0 Respuestas

ACEPTACIÓN DE RESPUESTAS
100.0%

VOTOS RECIBIDOS
0

CLASIFICACIÓN
 of 21.045

REPUTACIÓN
N/A

EVALUACIÓN MEDIA
0.00

CONTRIBUCIONES
0 Archivos

DESCARGAS
0

ALL TIME DESCARGAS
0

CLASIFICACIÓN

of 170.244

CONTRIBUCIONES
0 Problemas
0 Soluciones

PUNTUACIÓN
0

NÚMERO DE INSIGNIAS
0

CONTRIBUCIONES
0 Publicaciones

CONTRIBUCIONES
0 Público Canales

EVALUACIÓN MEDIA

CONTRIBUCIONES
0 Temas destacados

MEDIA DE ME GUSTA

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


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 ...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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-...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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; ...

más de 5 años hace | 2 respuestas | 0

2

respuestas