Problem with running a Matlab code.
1 view (last 30 days)
WAN NOR NAZIRA MUSTAPA KAMAL on 21 Jan 2021
I am having problem with the code where when I first run the code, the outcome that I get is data in values and graph but when I want to re run the code for the second time and so on, the outcome that I get is zero data values and the graph is in straight line. I am using MATLAB R2019a.Can you please help me to solve this problem.