2020年8月1日
摘要: Generate 10,000 random numbers and create a histogram. The histogramfunction automatically chooses an appropriate number of bins to cover the range of 阅读全文
posted @ 2020-08-01 18:54 一杯明月 阅读(13838) 评论(0) 推荐(0)
摘要: figure('name','test','NumberTitle','off'); figure(1);hold on;set(gcf,'color','w'); % 这句是设置背景色为白色 阅读全文
posted @ 2020-08-01 18:01 一杯明月 阅读(429) 评论(2) 推荐(0)
摘要: matlab中矩阵的点乘就是对应元素相乘: a=[1 2 3;4 5 6] a = 1 2 3 4 5 6 b=a b = 1 2 3 4 5 6 a.*b ans = 1 4 9 16 25 36 阅读全文
posted @ 2020-08-01 11:28 一杯明月 阅读(4455) 评论(0) 推荐(0)