Wie kann ich denn bsplines benutzen und warum kommt diese Fehlermeldung? wo liegt das problem?
GastGGG
Gast
Beiträge: ---
Anmeldedatum: ---
Wohnort: ---
Version: ---
Verfasst am: 03.12.2010, 16:51
Titel:
May it be correct that the knot-sequence must be positive?
Im unsure how to extract the coefficients of the piecewise polynomials. Are they cubic?
via unmkpp() i get a coefficient matrix which is of order n by n and not like for the spline function of order n by 4.
in der curve fitting toolbox-dokumentation steht dafür das hier:
Code:
In the Curve Fitting Toolbox, a piecewise polynomial, or pp, function in B-form is often called a spline.
The B-form of a (univariate) pp is specified by its (nondecreasing) knot sequence t and by its B-spline coefficient sequence a.
Given the knot sequence and coefficient sequence of a pp, the command spmak returns the corresponding B-form, for use in commands such as fnval(evaluate a function), fnplt(plot a function), fnder(differentiate a function), and other related commands.
The resulting splineis of order k := length(t) - size(a,2). This means that all its polynomial pieces have degree < k
erzeugen.
über transformation in pp-form kann ich auch auf die B-spline koeffizienten zugreifen +ber unmkpp().
Alerdings schaffe ich es nicht mir die einzelnen B -splines auszugeben - ich brauche ein möglihckeit mir alle meine einzelnen stückweisen B-splines, welche polynome vom grad 3 sind, auszugeben. also die koeffizienten.
nur finde ich absolut nicht heraus wie ich das hinebkommen soll. Bei einem gewöhnlichen spline() aufruf kann ich über unmkpp auf die stückweisen polynome zugreifen.
nur wie geht das bei den b-splines?
Einstellungen und Berechtigungen
Du kannst Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen. Du kannst Dateien in diesem Forum posten Du kannst Dateien in diesem Forum herunterladen
MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, SimBiology, SimHydraulics, SimEvents, and xPC TargetBox are registered trademarks and The MathWorks, the L-shaped membrane logo, and Embedded MATLAB are trademarks of The MathWorks, Inc.