row vector with 15 elements
    8 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
I need to create a row vector with 15 equally spaced elements in which the first element is 7 and the last element is 40. I already tried this row_vector=[7:2.2:40] but it gives me a matrix with 16 elements and row_vector=[7:3.5-1:40] but i keep getting 16 elements
0 comentarios
Respuesta aceptada
  Azzi Abdelmalek
      
      
 el 20 de Feb. de 2013
        
      Editada: Azzi Abdelmalek
      
      
 el 20 de Feb. de 2013
  
      linspace(7,40,15)
0 comentarios
Más respuestas (0)
Ver también
Categorías
				Más información sobre Logical en Help Center y File Exchange.
			
	Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

