I need help with an error "Undefined function or variable 'x'"
Mostrar comentarios más antiguos
sym n x
w0 = pi; T0 = 2 ; n = 1:5;
a0 = (1/T0)*int(1,x,0,1)
an = (2/T0)*int(1*cos(n*w0*x),x,0,1)
bn = (2/T0)*int(1*sin(n*w0*x),x,0,1)
2 comentarios
% if true
% code
% end
syms n x
w0 = pi; T0 = 2 ; n = 1:5;
a0 = (1/T0)*int(1,x,0,1)
an = (2/T0)*int(1*cos(n*w0*x),x,0,1)
bn = (2/T0)*int(1*sin(n*w0*x),x,0,1)
Olisa Iwoba
el 2 de Oct. de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Calculus en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!