Salut, je veux représenter 3 fonctions graphiquement,
et j'ai utliser ce code, mais il me donne rien
le code est:
merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 for x=-100:100 for y=-100:100 f=x.^2+y.^2 g=x.^2-y.^2 h=sin(x*y) end end subplot(1,3,1); plot(f); title('fonction f'); subplot(1,3,2); plot(g); title('fonction g'); subplot(1,3,3); plot(h); title('fonction h');
Partager