Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
time merger

Subject: time merger

From: Mark Weidman

Date: 28 Jul, 2008 16:14:02

Message: 1 of 2

Hi
I'm trying to merge two sources of data. I have values for
pH vs. time and also potential vs. time. I want to merge
these two so I can get pH vs. potential. The times are not
exactly the same so I tried to write an m-file that would
match up the times as close as possible and give me an array
of pH and potential. It's not working so far. Any help is
greatly appreciated.


Thanks :)

Subject: time merger

From: Andres

Date: 28 Jul, 2008 16:30:21

Message: 2 of 2

"Mark Weidman" <wademan947@aol.com> wrote in message
<g6kr8a$b7c$1@fred.mathworks.com>...
> Hi
> I'm trying to merge two sources of data. I have values for
> pH vs. time and also potential vs. time. I want to merge
> these two so I can get pH vs. potential. The times are not
> exactly the same so I tried to write an m-file that would
> match up the times as close as possible and give me an array
> of pH and potential. It's not working so far. Any help is
> greatly appreciated.
>
>
> Thanks :)

Probably you want to interpolate one of the signals at the
time data of the other one. Check out
doc interp1
so you'll get, say, the pH vs. the interpolated potential.
Hth
Andres

Tags for this Thread

No tags are associated with this thread.

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.

Contact us