photo

nitin jain


Con actividad desde 2017

Followers: 0   Following: 0

Estadística

MATLAB Answers

7 Preguntas
0 Respuestas

CLASIFICACIÓN
144.670
of 300.857

REPUTACIÓN
0

CONTRIBUCIONES
7 Preguntas
0 Respuestas

ACEPTACIÓN DE RESPUESTAS
42.86%

VOTOS RECIBIDOS
0

CLASIFICACIÓN
 of 21.097

REPUTACIÓN
N/A

EVALUACIÓN MEDIA
0.00

CONTRIBUCIONES
0 Archivos

DESCARGAS
0

ALL TIME DESCARGAS
0

CLASIFICACIÓN

of 171.361

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 1

Ver insignias

Feeds

Ver por

Pregunta


I have a vector x=[2 3 4 5] and value of x change at each iteration.I want to compare value of x at current iteration with value of x at previous iteration.So how can i store value of x at previous iteration.
eg- for i=1:10 x=[2 3 4 5] x_new=[5 3 2 4]%after some calculation value of x at next iteration compare x with x_new

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

1

respuesta

3

respuestas

Pregunta


I have a row vector x which is random permutation of r where r=1:15 .I want to make a program in which whenever value of r is equal to x increase the counter else counter contain previous value.
first check the which element of array is equal to r and the if is equal then increment the count by one.

más de 8 años hace | 0 respuestas | 0

0

respuestas

Pregunta


how to select two number randomly from an array and perform swapping between these two number?
for example in array A=[1 2 3 5 6 9 10] two number selected randomly are 3 and 6 so after swapping array be like A=[1 2 6 5 3 9...

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

1

respuesta