MATLAB插值结果为NAN怎么办
>>sunshi=[0.220.30.240.330.250.320.310.190.20.260.1850.270.286];shouru=[0.430.390.350...
>> sunshi=[0.22 0.3 0.24 0.33 0.25 0.32 0.31 0.19 0.2 0.26 0.185 0.27 0.286 ];
shouru=[0.43 0.39 0.35 0.49 0.3 0.41 0.395 0.36 0.37 0.4 0.33 0.379 0.365 ];
h=[0.245 0.35 0.36 0.05 0.03];
t=interp1(sunshi,shouru,h);
结果[0.325000000000000,NaN,NaN,NaN,NaN] 怎么办 展开
shouru=[0.43 0.39 0.35 0.49 0.3 0.41 0.395 0.36 0.37 0.4 0.33 0.379 0.365 ];
h=[0.245 0.35 0.36 0.05 0.03];
t=interp1(sunshi,shouru,h);
结果[0.325000000000000,NaN,NaN,NaN,NaN] 怎么办 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询