Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clc;
- clear all;
- close all;
- %una forma mas elegante de escribir relaciones
- F = inline('((x+5)^2)/(4+2*x^2)')
- %definimos el rango a utilizar
- X=[-1:1:2];
- %recorremos la ecuacion y obtenemos los datos
- n=size(X,2);
- for i=1:n
- Y(i)=F(X(i));
- end
- %graficando
- fplot(X,Y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement