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

조회 수: 2(최근 30일)
alpedhuez
alpedhuez 2018년 3월 28일
답변: Elias Gule 2018년 3월 29일
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.

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by