Vector manipulation for randomized data
I have generated a vector "SleepData" that creates a 7200x1 vector of random #s from 0-12. I want the vector sensor data to have...
Finding minima using if and for loops
I have a column of data and I want to make a script that utilizes for loops and if constructs
for example
12
4
5
23
63
5...
Extracting data from vector
I have vector NUM = [-1 2 6 9 22 4 23 18] and I want to find all numbers that are greater than 5 and then add them all up. examp...
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.