explain the square brackets

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.
really, u were very helpful.

请先登录,再进行评论。

 采纳的回答

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);

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Data Import and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by