Main Content


Add factor to factor graph


addFactor(graph,factor) adds a factor object, factor, as a node in the specified factorGraph object graph.

Input Arguments

collapse all

Factor graph to add node to, specified as a factorGraph object.

Factor to add to the factor graph, specified as a valid factor object.

Version History

Introduced in R2022a