Thread Subject:
how to segregate the alternative constant values of i obtained from my program

Subject: how to segregate the alternative constant values of i obtained from my program

From: k.vigneshwaran K

Date: 18 Aug, 2012 07:17:10

Message: 1 of 2

Dear sir,
i am getting the values of program. how to segregate the alternative constant values ,i obtained from my program.for that two sets of values i want to plot a graph.say example i got the values 1, -2, 1.5, -1, 5 ,-6, 7, 5.5, -9, 10, from this i want to segregate 1,1.5,5,7,-9 as a one set.and remaining as a second set.

Subject: how to segregate the alternative constant values of i obtained from my program

From: Bruno Luong

Date: 18 Aug, 2012 07:28:08

Message: 2 of 2

Try:

a = [1, -2, 1.5, -1, 5 ,-6, 7, 5.5, -9, 10]
series1 = a(1:2:end)
series2 = a(2:2:end)

% Bruno

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us