? Undefined function or variable 'x'.

  • Thread starter Thread starter tictaclp
  • Start date Start date
  • Tags Tags
    Function Variable
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 8K views
tictaclp
Messages
3
Reaction score
0
? Undefined function or variable 'x'.

function [ f, f1] = funyder( z )
%funcion y primera derivada del primer ejercicio
f=1-1/(1-x+2*z^2)
f1=(4*z-1)/(1-z+2*z^2)^2

this doesn't work .
Thanks
 
Physics news on Phys.org


tictaclp said:
function [ f, f1] = funyder( z )
%funcion y primera derivada del primer ejercicio
f=1-1/(1-x+2*z^2)
f1=(4*z-1)/(1-z+2*z^2)^2

this doesn't work .
Thanks

Welcome to PhysicsForums. Note the bolded bits above!