Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

how to choose the number in a random manner

1 visualización (últimos 30 días)
jaah navi
jaah navi el 18 de Feb. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
A=[1 2 ;
4 5 ;
7 8 ;
10 11;
12 13;
14 15;
16 17 ;
18 19]
G=size(A,1)
C=1:G
Could anyone help me how to choose the number in C in a random manner,such that C can be 2 or 3 or 4 or 5 or 6.
  2 comentarios
Stephen23
Stephen23 el 18 de Feb. de 2019
Editada: Stephen23 el 18 de Feb. de 2019
"...such that C can be 2 or 3 or 4 or 5 or 6."
What about 1 or 7 or 8? Why are they excluded?
Rik
Rik el 19 de Feb. de 2019
Jaah, please stop posting new questions instead of posting explanatory comments. You have been told this many times before.

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by