clear all;close all;clc
wind=xlsread('路径名/文件名.xlsx');
dir=wind(:,3);
x=0:22.5:360;
dir=dir*pi/180;
x=x*pi/180;
figure
set(gcf,'color','w')
rose(dir,x);
view(90,-90);
matlab 风向玫瑰图
最新推荐文章于 2024-07-06 10:02:18 发布
clear all;close all;clc
wind=xlsread('路径名/文件名.xlsx');
dir=wind(:,3);
x=0:22.5:360;
dir=dir*pi/180;
x=x*pi/180;
figure
set(gcf,'color','w')
rose(dir,x);
view(90,-90);