explain the square brackets

6 ビュー (過去 30 日間)
Basheer
Basheer 2015 年 6 月 24 日
編集済み: Stephen23 2020 年 5 月 22 日
Hello guys, can you explain the line:
[h, v] = boundary(h,v, leftboundary, rightboundary,N,Choice);
I mean [h,v],boundary(is it a function?), and finally inside the brackets.
thanks in advance, Basheer
  2 件のコメント
Stephen23
Stephen23 2015 年 6 月 24 日
編集済み: Stephen23 2020 年 5 月 22 日
A good place to start are these tutorials:
The tutorial "Calling Functions" explains how to call functions with multiple output arguments.
Basheer
Basheer 2015 年 6 月 24 日
really, u were very helpful.

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

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2015 年 6 月 24 日
編集済み: Azzi Abdelmalek 2015 年 6 月 24 日
You have to assign values to
h=1,
v=2
leftboundary=3
rightboundary=4
N=5
Choice=6;
Then call your function
[h, v] = boundary(h,v, leftboundary, rightboundary,N,Choice);
  1 件のコメント
Basheer
Basheer 2015 年 6 月 28 日
thank you.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Import and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by