Method smodel/setTrans
SETTRANS sets the 'trans' property of the smodel object.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DESCRIPTION: SETTRANS sets the 'trans' property of the smodel object.
CALL: objs.setTrans(val);
objs.setTrans(val1, val2);
objs.setTrans(plist('trans', val));
objs = objs.setTrans(val);
INPUTS: objs: Can be a vector, matrix, list, or a mix of them.
val: Can be any of the following types:
- string e.g. 'x1'
- numeric values e.g. 1
- plist with the key 'trans' e.g. plist('trans', {'x1', 'x2'})
- cell-array with the types above
REMARK: The 'trans' property can be a matlab express which will be
evalulated, or a numeric value. It is meant to specify a
scale factor between the user-specified x-values and the
user-specified x-variable.
Parameters Description
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details |
|
Access |
public |
Defining Class |
smodel |
Sealed |
0 |
Static |
0 |
Parameter Description
Sets for this method … |
Default |
Default |
no description |
Key |
Default Value |
Options |
Description |
setTrans |
TRANS |
{} [0x0] |
none |
Specify the transformation scale-factor between the x-values and the x-variable. |
Example |
plist('TRANS', cell(0,0)) |
back to top
Some information of the method smodel/setTrans are listed below: |
Class name |
smodel |
Method name |
setTrans |
Category |
Helper |
Package name |
ltpda |
VCS Version |
967b0eec0dece803a81af8ef54ad2f8c784b20b2 |
Min input args |
1 |
Max input args |
-1 |
Min output args |
1 |
Max output args |
-1 |
Can be used as modifier |
1 |
Supported numeric types |
{'double'} |
|
Method: smodel/setShowsErrors |
|
Method: smodel/setValues |
 |
©LTP Team