Can't sort this code
Mostrar comentarios más antiguos
The original question has been removed by the user.
4 comentarios
Walter Roberson
el 25 de En. de 2012
How is _what_ even possible?
Tom
el 26 de En. de 2012
Jan
el 26 de En. de 2012
Please take the time to formulate a complete question. Currently it is not clear, what the program does, if it fails or not, if it creates the wanted results, or if not, what the dfferences between the results and your expectations are.
Tom
el 26 de En. de 2012
Respuesta aceptada
Más respuestas (2)
bym
el 26 de En. de 2012
You do not have 2 lines on the graph: it goes from left to right & back again. After some noodling, I think you want to replace
Fn = sum(fnj);
%plot(AnRec,Fn)
pn = Fn*(M./(ar*N));
plot(xjRec,pn,'LineWidth',1.7)
with the following, which makes more sense (or at the very least presents more pleasing plots :) )
Fn = sum(fnj,2);
plot(AnRec,Fn)
figure
pn = Fn*(M./(ar*N));
plot(xjRec,pn,'LineWidth',1.7)
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!