I want create a zero vector (1*24) and according to the appliances like for 'lights' (in Excel file ) create A1 zero vector (1*24) ,start and end time shows that A1 zero vector replace power value of 0.5 between 18-24 in row vector but the condition is that this 0.5 values put only 6 places randomly between 18-24. And similarly for all appliances. Like PHEV A17 vector it should contain 2.5 power value at 20-21-22-23-24-1-2-3-4-5-6 only for 4 (hours ) place randomly at any place between 20-6 .
MATLAB: Create a specific vector from excel file
importing excel datavector
Related Question
- Looking for clever way to generate multiple submatrices.
- Normalization of a matrix to a particular value
- How to use cellfun in only cells with numbers or how to create a csv file with different elements (numbers and strings)
- Read specific data from excel and create a vector
- How to remove column from matlab table
Best Answer