A line does not appear when I plot
Mostrar comentarios más antiguos
When I run this code it puts a graph with no line. how do I get the line to show?

2 comentarios
the cyclist
el 15 de Mayo de 2023
If you post your code rather than an image of your code (or upload a *.m file), we can copy & paste it into MATLAB, which makes it much easier for us to help you.
the cyclist
el 15 de Mayo de 2023
Respuesta aceptada
Más respuestas (1)
the cyclist
el 15 de Mayo de 2023
1 voto
The way you have coded this, both h and Temp are going to be scalars (single values) after the loop completes, so there is only one point to plot.
Categorías
Más información sobre Graphics Performance 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!