MATLAB Answers

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

2 ビュー (過去 30 日間)
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.

  0 件のコメント


回答 (1 件)

Elias Gule
Elias Gule 2018 年 3 月 29 日
I hope this.

  0 件のコメント




Community Treasure Hunt

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

Start Hunting!

Translated by