explain the square brackets

조회 수: 9 (최근 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);

추가 답변 (0개)

카테고리

Help CenterFile 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