Matlab
Résolu
loulp123
Messages postés
26
Date d'inscription
Statut
Membre
Dernière intervention
-
loulp123 Messages postés 26 Date d'inscription Statut Membre Dernière intervention -
loulp123 Messages postés 26 Date d'inscription Statut Membre Dernière intervention -
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
- Programmer avec MATLAB ✓ - Forum Matlab
- Termes de Matlab ✓ - Forum Matlab
- Problème diffusion matlab - Forum Matlab
- Boucle for 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.