Simple vector question.
    4 views (last 30 days)
  
       Show older comments
    
    Sebastian Daneli
 on 4 Apr 2022
  
    
    
    
    
    Commented: Sebastian Daneli
 on 4 Apr 2022
            Say that I have the vectors
v1=[1 2 3]
v2=[4 3 8]
how can I, by using these two, create the following vector
v3=[4 3 3 8 8 8]
i.e., a vector with one 4s, two 3s and three 8s.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
				Find more on NaNs in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
