explain the square brackets

7 visualizzazioni (ultimi 30 giorni)
Basheer
Basheer il 24 Giu 2015
Modificato: Stephen23 il 22 Mag 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 Commenti
Stephen23
Stephen23 il 24 Giu 2015
Modificato: Stephen23 il 22 Mag 2020
A good place to start are these tutorials:
The tutorial "Calling Functions" explains how to call functions with multiple output arguments.
Basheer
Basheer il 24 Giu 2015
really, u were very helpful.

Accedi per commentare.

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 24 Giu 2015
Modificato: Azzi Abdelmalek il 24 Giu 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);

Più risposte (0)

Categorie

Scopri di più su Data Import and Analysis in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by