Increasing numerator and denominator of vectors
    5 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Seba.V
 el 24 de Jul. de 2019
  
    
    
    
    
    Comentada: Stephen23
      
      
 el 24 de Jul. de 2019
            How do I generate a vector of the form 0, 1/2, 2/3, 3/4, 4/5...9/10?
0 comentarios
Respuesta aceptada
  madhan ravi
      
      
 el 24 de Jul. de 2019
        [0,(1:9) ./ (2:10)]
2 comentarios
  Stephen23
      
      
 el 24 de Jul. de 2019
				Also:
>> (0:9)./(1:10)
ans =
  0  0.5  0.66667  0.75  0.8  0.83333  0.85714  0.875  0.88889  0.9
Más respuestas (0)
Ver también
Categorías
				Más información sobre Embedded Coder en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


