From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can LabView compare two curves?

Hi,

Now I'm making software to compare two curves are similar
or not. Those curves can be shifted a bit but I want to see
if these "shapes" are identical.

Does LabView have capability to see similarity for two curves
or any theory around here?

Dan,

-------------------------------------------------------------------
Hiroshi Shimase (Oji Paper + Howe Sound Pulp & Paper)

TEL : 604-886-3579(home) 604-884-2491(office)
Home : hiroshi_shimase@dccnet.com or hiroshi_shimase@mac.com
Office: hshimase@mail.canfor.ca
WEB : http://www.geocities.co.jp/SiliconValley-PaloAlto/4268/
-------------------------------------------------------------------
0 Kudos
Message 1 of 2
(3,178 Views)
You can calculate the cross-correlation function between the two curves
to estimate
their "similarity". Labview has (in the Advanced Analysis Library) two
VIs that should do
the job:
- in the function menu 'Signal Processing-->Frequency Domain-->Cross
Power.vi' computes
the cross-correlation power spectrum
- in the menu 'Signal Processing-->Mesaurements-->Cross Power
Spectrum.vi', which computes
Magnitude and Phase of the cross power spectrum

Both require that the signals X(t) and Y(t) are sampled at equal
t-values.

If you don't have the Advanced Analysis Library, try to get it


-Franz

Hiroshi Shimase schrieb:

> Hi,
>
> Now I'm making software to compare two curves are similar
> or not. Those curves can be shifted a bit but I want to see
> if these "sh
apes" are identical.
>
> Does LabView have capability to see similarity for two curves
> or any theory around here?
>
> Dan,
>
> -------------------------------------------------------------------
> Hiroshi Shimase (Oji Paper + Howe Sound Pulp & Paper)
>
> TEL : 604-886-3579(home) 604-884-2491(office)
> Home : hiroshi_shimase@dccnet.com or hiroshi_shimase@mac.com
> Office: hshimase@mail.canfor.ca
> WEB : http://www.geocities.co.jp/SiliconValley-PaloAlto/4268/
> -------------------------------------------------------------------
0 Kudos
Message 2 of 2
(3,178 Views)