How to create a function which takes one column of data as its input and another as its output
Ältere Kommentare anzeigen
I have two columns of data and need to come up with a function that take as input the values from the first column of data and outputs the corresponding values in the second column. There is no equation that links the columns together they are just two lines of data. How would I go about coming up with a function that enables me to input a value from the first column and be given the corresponding value in the second?
2 Kommentare
Dyuman Joshi
am 27 Feb. 2023
"... outputs the corresponding values in the second column."
You want to store the output in the second column, over-writing the values present there?
Gabriel
am 27 Feb. 2023
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!