How can I replace the rand function to real values and how can I change the shape of the drawing resulting from the code
2 次查看(过去 30 天)
显示 更早的评论
Generate Random Load Data
numMonths = 12;
numDays = 365;
numHours = 24;
loadData = rand(numHours, numDays, numMonths
0 个评论
回答(1 个)
the cyclist
2023-12-12
It would be better if you gave a more complete description of what you want. Here is a guess:
% Generate Random Load Data
numMonths = 12;
numDays = 365;
numHours = 24;
loadData = [randi(numHours) randi(numDays) randi(numMonths)]
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!