mapping a value to a vector

1 次查看(过去 30 天)
Hi, My question referrers to the attached table : given a value for the parameter in the upper row, I need to match the value for the parameter in the lower row. Is there a matlab short code for doing that ? Thanks, Aviram

采纳的回答

Jan
Jan 2017-7-24
编辑:Jan 2017-7-24
X = [10.2, 7, 25];
Edge = [6, 7.8, 9, 10.8, 17, 18.8, 24, 24.6, Inf];
Bin = [6, 9, 12, 18, 24, 36, 48, 54];
Lambda = Bin(discretize(X, Edge));

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by