- 积分
- 174
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-5-5
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
没有文件中的前三行数据,程序可以正常读取,不知问题出现在那里了,请高手指点。
代码如下:
ecdata=textread('d:\ecmn2t6.text','headerlines',3);
ecdata_jg=imresize(ecdata,2.5,'bilinear');
figure
contourf(ecdata);
figure
contourf(ecdata_jg);
数据格式如下:
aaaaaa
aaaaaaa
aaaaaaaaaaa
273.77197 273.36572 272.42822 271.99072 273.52197 276.27197 277.27197 275.80322 273.86572 272.80322 272.95947 273.77197 274.05322 272.11572 268.61572 267.33447 269.55322 271.77197 273.99072 276.11572 278.14697 278.52197 279.17822 280.08447 282.24072 285.58447 288.24072 290.02197 290.17822 290.67822 289.86572 289.77197 290.58447 291.67822 291.77197 292.05322 292.11572 291.99072 292.05322 292.02197 291.77197 291.49072 291.20947 291.02197 290.99072 290.80322 290.61572 290.92822 291.36572 291.42822 291.52197 291.74072 291.74072 291.80322 291.83447 291.77197 291.77197 291.58447 291.33447 291.39697 291.49072 291.45947 291.64697 291.77197 291.86572 292.02197 292.20947 292.33447 292.39697 292.42822 292.36572 292.42822 292.55322 292.55322 292.58447 292.64697 292.74072 292.83447 292.92822 293.08447 293.24072 293.30322 293.45947 293.58447 293.74072 293.89697 293.95947 293.99072 294.11572 294.17822 294.20947 294.42822 294.55322 294.67822 294.74072 294.58447 294.52197 294.77197 294.74072 294.70947 295.14697 295.33447 295.20947 295.42822 295.36572 295.02197 294.67822 293.42822 291.36572 289.77197 288.74072 287.33447 286.17822 285.61572 284.55322 282.64697 281.05322 280.52197 280.89697 281.55322 281.36572 279.67822 277.39697 275.55322 274.80322 274.80322 275.27197 275.74072 275.80322 275.83447 277.52197 279.70947 281.24072 281.83447 283.08447 284.86572 286.14697 286.33447 287.14697 287.67822 286.24072 283.89697 283.36572 284.64697 286.05322 287.05322 287.33447 286.99072 286.67822 286.61572 286.39697 286.27197 286.49072 286.61572 286.36572 285.99072 285.70947 285.89697 286.30322 286.36572 286.45947 286.77197 286.92822 287.02197 287.20947 287.55322 288.33447 288.77197 287.99072 287.11572 286.67822 286.39697 286.05322 285.61572 283.24072 280.67822 279.77197 278.99072 277.83447 276.64697 276.58447 276.55322 276.39697 276.64697 277.05322 277.74072
273.39697 275.08447 275.52197 276.64697 277.86572 278.11572 278.17822 278.64697 278.33447 277.67822 275.80322 274.33447 274.52197 275.52197 275.05322 273.05322 271.14697 271.42822 274.77197 278.74072 280.05322 280.49072 282.45947 283.77197 284.49072 285.77197 287.61572 289.92822 291.39697 291.17822 289.89697 289.49072 290.49072 291.95947 292.05322 292.20947 292.33447 292.11572 292.11572 292.14697 291.89697 291.74072 291.52197 290.95947 290.67822 290.86572 291.02197 291.17822 291.45947 291.52197 291.64697 291.80322 291.77197 291.83447 291.86572 291.89697 291.99072 292.02197 291.80322 291.61572 291.70947 291.83447 291.86572 291.77197 291.80322 291.99072 292.24072 292.33447 292.30322 292.14697 292.24072 292.52197 292.55322 292.49072 292.64697 292.80322 292.92822 293.05322 293.14697 293.27197 293.42822 293.52197 293.55322 293.64697 293.83447 293.99072 294.02197 294.02197 294.11572 294.11572 294.17822 294.30322 294.33447 294.24072 294.20947 294.30322 294.45947 294.61572 294.39697 294.42822 294.52197 294.17822 294.36572 294.86572 294.08447 292.30322 290.30322 287.14697 283.89697 283.08447 283.17822 281.64697 280.33447 281.11572 281.92822 280.86572 279.17822 278.30322 277.99072 278.08447 278.05322 277.55322 276.99072 276.77197 276.86572 278.08447 279.99072 281.24072 281.89697 282.52197 283.05322 283.52197 283.42822 283.70947 284.24072 284.74072 285.36572 285.39697 285.86572 287.45947 287.92822 286.30322 284.67822 284.02197 283.80322 284.86572 286.45947 287.05322 286.83447 286.70947 286.64697 286.61572 286.80322 286.95947 286.86572 286.52197 286.20947 286.30322 286.61572 286.74072 286.70947 286.80322 286.92822 287.17822 287.36572 287.74072 288.64697 288.86572 287.99072 287.89697 288.27197 287.70947 287.20947 287.14697 284.86572 281.64697 280.05322 279.33447 278.95947 278.20947 278.14697 277.80322 276.95947 275.27197 274.61572 276.80322
|
|