modelMkPlotFuelCellSystemEfficiency
Extends from ApproxSpline.Plot.plotDataCurve1d (create data structs to be plotted in MATLAB).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n (from plotDataCurve1d) | 20 | number of data points to plot |
| String | filename (from plotDataCurve1d) | "curve1d.mat" | name of MATLAB formated output file |
| Real[:,:] | data (from plotDataCurve1d) | data to be fitted: [x,y,w] (w is optional weight) | |
| Real | s (from plotDataCurve1d) | 0 | smoothing factor (s>0) |
| Integer | k (from plotDataCurve1d) | 3 | degree of spline (should be odd) |
| Boolean | periodic (from plotDataCurve1d) | false | set true to generate periodic spline curve |
| Real[2] | x_lim (from plotDataCurve1d) | {ApproxSpline.Utilities.vmin(data[:, 1]), ApproxSpline.Utilities.vmax(data[:, 1])} | boundaries of interpolation interval |
| Real[:] | t (from plotDataCurve1d) | fill(0, 0) | array of knot positions (if given, a least square spline is generated) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | nk (from plotDataCurve1d) | number of knots |