IPF

版本 1.0.0.0 (2.8 KB) 作者: Matthew Roughan
Performs a simple Iterated Proportional Fit (IPF).
1.4K 次下载
更新时间 2009/7/23

查看许可证

IPF allows one to find a matrix S, close to an input matrix T, but such that the row sums of S are R, and the column sums of S are C.

Its useful in a range of tasks (I use it in traffic matrix problems), but is often used in statistics for examining independence assumptions in contingency tables.

See
http://en.wikipedia.org/wiki/Iterative_proportional_fitting
for more info (the verion implemented above is the RAS version from that page).

I have a more advanced version designed tofund S satisfying an arbitrary set of linear constraints, but its not quite in hand-out-able form, so ask me if you need it.

See internal documentation and ipf_test.m for details of how to use it.

引用格式

Matthew Roughan (2024). IPF (https://www.mathworks.com/matlabcentral/fileexchange/24829-ipf), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Quadratic Programming and Cone Programming 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0