plot all the values of a for loop
1 次查看(过去 30 天)
显示 更早的评论
Hey guys, i am attaching a code here. In that i need to plot different graphs each time the value of H changes. i was expecting four graphs for H = 400,600,800,1000. i am a bit confused how to execute this task,every time i am getting the graph only for last value of H. Thanks for the help in advance.
0 个评论
采纳的回答
William Alberg
2020-5-27
As far as i can see, you need to put the plot command inside the loop. I have attached a modified version
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!