Matlab
Résolu
loulp123
Messages postés
34
Statut
Membre
-
loulp123 Messages postés 34 Statut Membre -
loulp123 Messages postés 34 Statut Membre -
Bonjour ,
je veux dessiner la fonction R(t) =exp-((t-f)/n))²
ya t il un exemple d algorithme pr avoir cette fonction dessiner en 2D !
merci d avance
je veux dessiner la fonction R(t) =exp-((t-f)/n))²
ya t il un exemple d algorithme pr avoir cette fonction dessiner en 2D !
merci d avance
A voir également:
- Matlab
- Gnu octave matlab - Télécharger - Édition & Programmation
- Boucle for matlab - Forum Matlab
- Matlab vs maple - Forum Logiciels
- Comment sortir d'une boucle (matlab) - Forum Matlab
- TIPE à faire avec Matlab - Forum Matlab
t=linspace(0,3,10);
f=1 ; n=1 ;
R=inline("exp(-((t-f)/n).^2))","t");
plot(t,R(t));
merci d avance
essai avec des guillemets simple plutôt que double.
https://fr.mathworks.com/help/matlab/ref/inline.html;jsessionid=e4d78dccb519609fa29e6bbc8ae0
merci infiniment pr votre aide qd meme
f=1 ; n=1 ;
R=inline("exp(-(t-f)/n.^2"),"t");
plot(t,R(t));
??? R=inline("exp(-(t-f)/n.^2"),"t");
|
Error: The input character is not valid in MATLAB statements or expressions.