精品偷拍一区二区三区,亚洲精品永久 码,亚洲综合日韩精品欧美国产,亚洲国产日韩a在线亚洲

  • <center id="usuqs"></center>
  • 
    
  • MAtlab中To RESHAPE the number of elements must not change.

    MAtlab中To RESHAPE the number of elements must not change.
    N1=14328;
    N2=14328;
    fid=fopen('ddfield.E15','r');
    size=fscanf(fid,'%g');
    fclose(fid);
    aa1=reshape(size,9,N1*N2);
    % X=reshape(aa1(1,:),N1,N2);
    % Y=reshape(aa1(2,:),N1,N2);
    % Z=reshape(aa1(3,:),N1,N2);
    X=linspace(-15,15,N1);
    Y=linspace(-15,15,N2);
    Ex=reshape(aa1(4,:),N1,N2)+i*reshape(aa1(5,:),N1,N2);
    Ey=reshape(aa1(6,:),N1,N2)+i*reshape(aa1(7,:),N1,N2);
    Ez=reshape(aa1(8,:),N1,N2)+i*reshape(aa1(9,:),N1,N2);
    E=(abs(Ex).^2+abs(Ey).^2+abs(Ez).^2).^(1/2);
    figure,imagesc(X,Y,E)
    colorbar
    其他人氣:149 ℃時間:2019-12-09 08:32:10
    優(yōu)質解答
    你要reshape的話變之前和變了之后元素總數得相等, 你不可能把一個1000個元素的矩陣reshape成含有2000元素的矩陣
    我來回答
    類似推薦
    請使用1024x768 IE6.0或更高版本瀏覽器瀏覽本站點,以保證最佳閱讀效果。本頁提供作業(yè)小助手,一起搜作業(yè)以及作業(yè)好幫手最新版!
    版權所有 CopyRight © 2012-2024 作業(yè)小助手 All Rights Reserved. 手機版