フィルターのクリア

How to make a function to make a vector with two input points?

1 回表示 (過去 30 日間)
PeeJay
PeeJay 2016 年 10 月 29 日
回答済み: Smith 2016 年 10 月 30 日
How is this coded, especially the input?
  1 件のコメント
Jos (10584)
Jos (10584) 2016 年 10 月 29 日
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?

サインインしてコメントする。

回答 (1 件)

Smith
Smith 2016 年 10 月 30 日
To declare a function, you can use the statement like this:
function [y1,...,yN] = myfun(x1,...,xM)
each input and output could be vectors.

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT-Files についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by