Products & Services Solutions Academia Support User Community Company

Learn more about Spline Toolbox   

fnchg - Change part(s) of form

Syntax

f = fnchg(f,part,value)

Description

f = fnchg(f,part,value) returns the given function description f but with the specified part changed to the specified value.

The string part can be (the beginning character(s) of) :

'dimension'

The dimension of the function's target

'interval'

The basic interval of that form

The specified value for part is not checked for consistency with the rest of the description in f in case the string part terminates with the letter z.

Examples

fndir(f,directions) returns a vector-valued function even when the function described by f is ND-valued.You can correct this by using fnchg as follows:

fdir = fnchg( fndir(f,directions),...
           'dim',[fnbrk(f,'dim'),size(directions,2)] );

See Also

fnbrk

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS