Using variable in a loop outside the loop
I am getting real time data every 5seconds (with pause) with a loop and the data goes into matrix. How can I use the current data outside the loop and proceed to do computation with the most current data (the first row in the matrix)?
When the loop is running I can not do anything until it is finished.. And I need to create infinite loop to continuously get the data.I am getting real time data every 5seconds (with pause) with a loop and the data goes into matrix. How can I use the current data outside the loop and proceed to do computation with the most current data (the first row in the matrix)?
When the loop is running I can not do anything until it is finished.. And I need to create infinite loop to continuously get the data. I am getting real time data every 5seconds (with pause) with a loop and the data goes into matrix. How can I use the current data outside the loop and proceed to do computation with the most current data (the first row in the matrix)?
When the loop is running I can not do anything until it is finished.. And I need to create infinite loop to continuously get the data. real time data, loops, statistics MATLAB Answers — New Questions