文章分类 - MATLAB
摘要:eval % 实现功能 a1 = 'F1'; a2 = 'F2'; a3 = 'F3'; n = 3; for i=1:n %eval(['syms a', num2str(i)]) eval(['a', num2str(i), '= ', char(39), 'F', num2str(i), ch
阅读全文
摘要:% Trdmnt 'YYY-MM' Categorical类型转为 yyyymm 数值型 TRDCnmont = TRD_Cnmont(TRD_Cnmont.Markettype ==5,:); TRDCnmont.ym = datestr(string(TRDCnmont.Trdmnt),'yyy
阅读全文
摘要:运行结束发出声音 % 响一声 sound(sin(2*pi*25*(1:4000)/100)); % 响两声 sound(sin(2*pi*25*(1:4000)/100)); sleep(1); sound(sin(2*pi*25*(1:4000)/100)); % 鸟声 load chirp s
阅读全文
摘要:% Load xlsx子表数据至array input_file='Returns_short_interest_data.xlsx'; input_sheet='GW variables'; Rfree_lag=xlsread(input_file,input_sheet,'k1225:k1728
阅读全文
摘要:plot代码思路 固定画布大小 plot参数 颜色代码 线型代码 box排列 位置 子图 Case 0 函数绘图 syms x y(x) = -0.255x+1.056x2-1.859*x3+1.241*x^4; x = 0.09:0.01:0.7; plot(x,y(x)) Case 1 Data
阅读全文

浙公网安备 33010602011771号