摘要: %************************************* 咸鱼:毛毛毛毛(tb8392689278) %************************************* # 2023.11.20 CSDN.Renew.V1 修改原有文档中运行步骤(见下)各版本、场景通用 阅读全文
posted @ 2023-11-20 16:19 Drizzly_n 阅读(47) 评论(0) 推荐(0) 编辑
摘要: function [x,y]=interpSet(a,b,m,n) %原始数据a,b;间隔m个数据取点,新生成数据插值个数n x1=1; for i=1:m:length(a) a1(x1)=a(i);b1(x1)=b(i);x1=x1+1;end old_x=1:1:length(a1);new_ 阅读全文
posted @ 2024-03-16 10:04 Drizzly_n 阅读(14) 评论(0) 推荐(0) 编辑
摘要: plot (a,b,'color',[0 168 225]/255,'LineStyle','-.','Linewidth', 1.5,'MarkerFaceColor','g');hold on; plot (c,d,'color',[153 204 0]/255,'LineStyle','-.' 阅读全文
posted @ 2024-03-14 20:22 Drizzly_n 阅读(179) 评论(0) 推荐(0) 编辑
摘要: syms w1 wp t theta_pll fai_vp fai_vn V1 Vp Vn % 直流分量 Vd_dc=simplify((2/3)*V1*cos(w1*t)*cos(theta_pll) ... +(2/3)*V1*cos(w1*t-2*pi/3)*cos(theta_pll-2*p 阅读全文
posted @ 2024-01-31 23:50 Drizzly_n 阅读(86) 评论(0) 推荐(0) 编辑
摘要: xx=10; maker_idx_1 = 1:ceil(length(a)/xx):length(a);maker_idx_1(length(maker_idx_1)+1)=length(a); maker_idx_2 = 1:ceil(length(c)/xx):length(c);maker_i 阅读全文
posted @ 2024-01-25 22:04 Drizzly_n 阅读(387) 评论(0) 推荐(0) 编辑
摘要: figure(3) pcolor(time,yData',data1.ConVel') shading interp; colorbar; color_1=[0,0,1]; color_2=[1,1,1]; color_3=[1,0,0]; num12=45;num23=25; R_mat=[lin 阅读全文
posted @ 2024-01-20 20:59 Drizzly_n 阅读(233) 评论(0) 推荐(0) 编辑
摘要: file_id = 'XXX.cnv'; data1 = readtable(file_id,"FileType","text"); 例如将.cnv格式文件以txt形式打开 阅读全文
posted @ 2024-01-20 17:29 Drizzly_n 阅读(41) 评论(0) 推荐(0) 编辑
摘要: file_id = 'xxx.txt'; data1 = readtable(file_id); data2 = data1{91:end,1}; x=1; for i=1:1:length(data2) result1 = split(num2str(data2{i,1}), ' ');% 分割元 阅读全文
posted @ 2024-01-20 17:08 Drizzly_n 阅读(112) 评论(0) 推荐(0) 编辑
摘要: xlabel('\it\fontname{Times New Roman}δ\rm\fontname{Times New Roman}/mm','rotation',0,'Position',[2,-0.06,-0.55]);%X % xlabel('\it\fontname{Times New R 阅读全文
posted @ 2024-01-14 11:02 Drizzly_n 阅读(94) 评论(0) 推荐(0) 编辑
摘要: import xlrd # 读取Excel文件 wb = xlrd.open_workbook(r"E:\PythonStudyAll\TestD20231130\1111.xlsx") data=wb.sheet_by_name('Sheet1') # 定义要读取的列和行范围 column_ind 阅读全文
posted @ 2023-12-07 22:22 Drizzly_n 阅读(183) 评论(0) 推荐(0) 编辑