Close
Close window
Set Correlation - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

ScientificErrorAnalysis

SetCorrelation

set the value of the correlation between two quantities-with-error

Calling Sequence

SetCorrelation( obj1, obj2, cc )

Parameters

obj1

-

quantity-with-error

obj2

-

quantity-with-error

cc

-

correlation coefficient

Description

The SetCorrelation( obj1, obj2, cc ) command sets a correlation coefficient cc between the quantities-with-error obj1 and obj2 for the current session.

To set a correlation for all future Maple sessions, add the SetCorrelation command to your Maple initialization file. For more information, see Create Maple Initialization File .

The correlation cc must be in the range −1..1.

The quantities-with-error obj1 and obj2 must be distinct.

Neither of the quantities-with-error obj1 and obj2 can have functional dependence on other quantities-with-error.

Examples

>

withScientificErrorAnalysis:

>

aQuantity10.,1.:

>

bQuantity20.,1.:

>

combineab,errors

Quantity200.,22.36067977

(1)
>

SetCorrelationa,b,0.1

>

combineab,errors

Quantity200.,23.23790008

(2)


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /