Thread Subject: cursor_info and grabbing data values

Subject: cursor_info and grabbing data values

From: Matthew

Date: 16 Aug, 2007 16:36:53

Message: 1 of 2

I am using matlab to analyze NMR data that has peaks in a
spectrum. I would like to be able to sum over the spectrum
between certain points that define a peak. Typically, my
data is 32768 data points. So I sum(data(455:655)) to get
the data values I need. But I need to pick out where to
start and stop my data choices, which I can only do as far
as I know by picking out the points using the cursor, then
exporting the data, opening the data structure, and then
reading the value, then going through that process again
for the point on the other side of the peak. I am now
faced with need to do this for many peaks.

Is there a way to automatically export the x-data value
that I just chose using the cursor? I would like to be
able to pick a whole series of points at once, and then
just store them by 2's in a matrix. After that a very
simple macro could sum them all up?

Thanks for your time.

Subject: cursor_info and grabbing data values

From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)

Date: 16 Aug, 2007 19:18:49

Message: 2 of 2

In article <fa1uf5$6f1$1@fred.mathworks.com>,
Matthew <matthew.merritt.nospam@mathworks.com> wrote:
>I am using matlab to analyze NMR data that has peaks in a
>spectrum. I would like to be able to sum over the spectrum
>between certain points that define a peak. Typically, my
>data is 32768 data points. So I sum(data(455:655)) to get
>the data values I need. But I need to pick out where to
>start and stop my data choices, which I can only do as far
>as I know by picking out the points using the cursor,

I tried emailing this (having removed the .nospam), but that didn't
work.

====
The group I work for has done a fair bit of work on automatic
peak picking.

See for example,

http://www3.interscience.wiley.com/cgi-bin/abstract/10006320/ABSTRACT?CRETRY=1&SRETRY=0

Near-optimal region selection for feature space reduction: novel
preprocessing methods for classifying MR spectra

by Alexander E. Nikulin, Brion Dolenko, Tedros Bezabeh, Ray L. Somorjai

(Dr. Somorjai is my supervisor)

A closely related subgroup has developed an application framework
incorporating the techniques. In particular you might be interested
in the Event Identification ("EvIdent") portion of the Scopira
framework (scopira.org); an introduction to it can be found at

http://www.scopira.org/evident/pubs/Scopira_EMB.pdf

--
  "law -- it's a commodity"
                         -- Andrew Ryan (The Globe and Mail, 2005/11/26)

Tags for this Thread

Everyone's Tags:

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.

Tag Activity for This Thread
Tag Applied By Date/Time
cursor_info Matthew 16 Aug, 2007 12:40:19
rssFeed for this Thread

Contact us at files@mathworks.com