explain the square brackets

9 Ansichten (letzte 30 Tage)
Basheer
Basheer am 24 Jun. 2015
Bearbeitet: Stephen23 am 22 Mai 2020
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 Kommentare
Stephen23
Stephen23 am 24 Jun. 2015
Bearbeitet: Stephen23 am 22 Mai 2020
A good place to start are these tutorials:
The tutorial "Calling Functions" explains how to call functions with multiple output arguments.
Basheer
Basheer am 24 Jun. 2015
really, u were very helpful.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 24 Jun. 2015
Bearbeitet: Azzi Abdelmalek am 24 Jun. 2015
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);

Weitere Antworten (0)

Kategorien

Mehr zu Data Import and Analysis 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!

Translated by