Plotting Van Der Pol
    4 views (last 30 days)
  
       Show older comments
    
    Denis Brosnki
 on 20 Nov 2016
  
    
    
    
    
    Answered: Star Strider
      
      
 on 20 Nov 2016
            Hello, I just have a simple question. I have a Van der Pol equation, which I want to plot:
[t,y] = ode15s(@vdp1000,[0 3000],[2 0]);
plot(t,y(:,1),'r-o')
My question is what is the meaning of the (:,1) in the plot function? I could not find any answers in the documentation or on this website. Thank you in advance
0 Comments
Accepted Answer
  Star Strider
      
      
 on 20 Nov 2016
        The ‘y(:,1)’ references the first column of the ‘y’ matrix returned by ode15s.
0 Comments
More Answers (0)
See Also
Categories
				Find more on Ordinary Differential Equations 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!
