Call a function with output as values rather than function.

I need to call a function say funt (x) with output y
x = [10 ,20, 30,40,50 ] y = [ 45 ,63,65,57,78] ( just some values obtained with extensive computation)
How to write this function and call funct (20) to obtain output 63.

Answers (0)

This question is closed.

Tags

Asked:

on 18 Nov 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!