How to make a function to make a vector with two input points?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
How is this coded, especially the input?
1 Kommentar
Jos (10584)
am 29 Okt. 2016
This question is very vaguely formulated. In general, a function takes an input and provides an output. Can you provide an example of the input, the output, and their relationship?
Antworten (1)
Smith
am 30 Okt. 2016
To declare a function, you can use the statement like this:
function [y1,...,yN] = myfun(x1,...,xM)
each input and output could be vectors.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!