Create a function from a table, Part 2 (revised)

1 次查看(过去 30 天)
Given an n*2 matrix A =[a b], I would like to write a function f that takes an element of the first column and then returns the element of the second column of the row of the input. Please advise.

回答(1 个)

Elias Gule
Elias Gule 2018-3-29
I hope this.

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by