explain the square brackets

8 vues (au cours des 30 derniers jours)
Basheer
Basheer le 24 Juin 2015
Modifié(e) : Stephen23 le 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 commentaires
Stephen23
Stephen23 le 24 Juin 2015
Modifié(e) : Stephen23 le 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 le 24 Juin 2015
really, u were very helpful.

Connectez-vous pour commenter.

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 24 Juin 2015
Modifié(e) : Azzi Abdelmalek le 24 Juin 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);
  1 commentaire
Basheer
Basheer le 28 Juin 2015
thank you.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Import and Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by