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

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.

카테고리

도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기

제품

태그

질문:

2018년 3월 28일

답변:

2018년 3월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by