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.

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 28 de Mzo. de 2018

Respondida:

el 29 de Mzo. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by