function hdiag = plotfield(hdiag, n, jdiag, field, prm)
%
% Field plot (Ex,Ey,Ez,By,Bz)
%X2 = prm.X2;
by0 = prm.by0;
ex = field.ex; ey = field.ey; ez = field.ez;
by = field.by; bz = field.bz;switch ncase 1f = ex*ren.e;   %ren.e=ren.x/(ren.t^2)    %加速度 m = prm.emax;case 2f = ey*ren.e;m = prm.emax;case 3f = ez*ren.e;m = prm.emax;case 4f = (by-by0)*ren.b;m = prm.bmax;case 5f = bz*ren.b;m = prm.bmax;
endif jdiag == 1xx = 0:prm.dx:(prm.nx-1)*ren.x;hdiag.plt(hdiag.nplt).hplot(n) = plot(xx, f(X2),'k-','LineWidth',2);if m > 0axis([0 (prm.nx-1)*ren.x  -m m]);elseset(gca,'xlim',[0 (prm.nx-1)*ren.x]);endxlabel('X');str = {'Ex','Ey','Ez','By','By'};ylabel(str(n))
elseset(hdiag.plt(hdiag.nplt).hplot(n),'ydata',f(X2))
endend
>> vx = particle.vx; vy = particle.vy; vz = particle.vz;
>> [view_az,view_el] = viewview_az =0view_el =90>> ren.vans =50>> vxvx =0.0098-0.00550.00510.0087-0.00820.0038-0.0085-0.0025-0.00280.00640.0058-0.00890.0073-0.01030.0035-0.00200.0006-0.0075-0.01040.0030-0.00470.00120.00380.00120.00010.00240.0050-0.00830.0053-0.01330.00270.00240.00570.0139-0.0043-0.0095-0.0086-0.00330.00440.0053-0.0046-0.00540.0009-0.01770.0040-0.0160-0.00430.00520.00290.00260.0007-0.0033-0.01140.0065-0.01590.0037-0.0010-0.0003-0.00120.0022-0.0035-0.00260.00190.00300.0020-0.00250.0033-0.00680.0153-0.00510.00100.0009-0.00420.0136-0.01040.0035-0.00410.0013-0.00140.00060.0005-0.0028-0.00420.0104-0.00420.0076-0.00550.0091-0.00930.0279-0.0052-0.00880.00470.01360.0089-0.01030.00130.0004-0.0152-0.0069-0.01590.00930.0097-0.0146-0.0207-0.00310.01160.00230.00040.01360.00280.0028-0.0064-0.0074-0.0094-0.0070-0.00890.00040.0042-0.02250.01070.0160-0.0038-0.0147-0.0075-0.0036-0.00010.0012-0.0163-0.00190.0050-0.00030.0077-0.0063-0.0079-0.00160.00710.00050.0071-0.00590.00730.00550.00490.0069-0.0114-0.0077-0.0063-0.00640.0064-0.0022-0.0067-0.0020-0.00300.0036-0.00210.0046-0.0014-0.0051-0.0083-0.00490.01420.0034-0.00710.00620.00880.00470.00820.00180.0094-0.0145-0.00480.00080.00640.0109-0.00660.01130.00840.00380.00800.00020.00460.0042-0.0033-0.01010.0155-0.0028-0.0094-0.00440.00180.0063-0.0031-0.00270.0040-0.0058-0.0016-0.00300.0129-0.00140.00430.0088-0.00560.0073-0.00230.0023-0.0086-0.0202-0.01040.01110.00020.00510.0151-0.00160.00670.00480.00270.00420.01220.0007-0.00180.01160.0135-0.0160-0.02030.0130-0.0001-0.01040.0148-0.01110.0001-0.00000.0112-0.00890.0029-0.01000.00090.0084-0.00620.0084-0.00580.0050-0.0055-0.0082-0.00640.01700.00260.0041-0.0034-0.0024-0.00340.00310.01370.0065-0.0079-0.00880.00550.0150-0.00130.01320.00690.00170.0111-0.01040.0046-0.00020.0057-0.0122-0.00720.00920.00300.0006-0.00450.0010-0.00530.0041-0.01040.0009-0.0016-0.0060-0.00790.00520.00400.00420.0081-0.00360.0068-0.00430.0061-0.00100.00900.01480.00150.0172-0.00870.00260.00330.00320.0139-0.00430.0027-0.00690.00440.01010.0089-0.0129-0.00830.0031-0.0017-0.0000-0.00380.01130.00500.02180.0055-0.0082-0.0217-0.00340.01080.0111-0.00510.00960.0022-0.00880.01290.0010-0.0098-0.0127-0.00380.00120.00330.01310.0045-0.02700.0018-0.01490.00200.01250.0084-0.00030.01190.0166-0.00120.0005-0.00300.0135-0.00640.01040.0186-0.00410.01570.00650.0021-0.01590.00990.0089-0.0064-0.0095-0.00700.0039-0.0024-0.0094-0.0057-0.0001-0.0055-0.0107-0.0088-0.00760.00790.0020-0.0001-0.0056-0.0069-0.01020.01420.0031-0.00930.0028-0.00960.00560.00810.00330.00970.00010.0103-0.01430.00100.00280.0053-0.0043-0.00340.0039-0.0039-0.0108-0.00080.0115-0.0073-0.0070-0.00800.01470.01160.00130.00020.0137-0.01300.00560.00150.0124-0.0045-0.00460.00310.00560.00330.0065-0.00980.00350.01160.01670.00280.01880.0059-0.00830.00000.0126-0.0073-0.0095-0.00420.0015-0.0017-0.0011-0.00690.01360.0024-0.00920.0162-0.00240.0040-0.0053-0.00480.00890.01310.00870.00190.0043-0.00530.0151-0.0040-0.00300.00180.0026-0.01700.0149-0.0086-0.01360.0041-0.0015-0.00900.0083-0.00480.0027-0.00410.00410.00060.00330.01540.00460.00770.0110-0.0069-0.0015-0.00700.0017-0.00180.02910.00240.0087-0.01250.01220.00560.00070.00310.0098-0.00080.00150.0022-0.0059-0.0158-0.0155-0.0086-0.0018-0.00190.0016-0.00480.0024-0.00430.0003-0.0016-0.00420.0184-0.0021-0.00910.0071-0.0033-0.0012-0.00970.0126-0.01280.0089-0.0045-0.0216-0.0140-0.0019-0.00210.00060.00330.00000.01530.00800.0023-0.0051-0.0049-0.0137-0.0028-0.0104-0.00130.0043-0.0021-0.00190.0064-0.0014-0.0057-0.00520.0129-0.0136-0.0143-0.0083-0.0057-0.00040.0033-0.0002-0.0003-0.00120.0019-0.0021-0.00570.00870.0045-0.0052-0.0093-0.00520.00330.00220.0070-0.0024-0.0001-0.0049-0.0025-0.00980.0100-0.0092-0.01650.00430.00790.0067-0.00480.0016-0.0264-0.00590.00130.00740.0069-0.00530.0008-0.0049-0.00840.00140.01230.0138-0.01200.00100.0017-0.00900.00130.0038-0.0003-0.0141-0.0087-0.0078-0.0042-0.00410.0002-0.02120.00830.0002-0.0086-0.00550.0111-0.0117-0.00400.0055-0.0119-0.0005-0.0042-0.0028-0.0019-0.00680.02210.0009-0.0076-0.00020.0030-0.0014-0.0101-0.00230.00310.0246-0.00370.0063-0.0108-0.0034-0.0067-0.00790.0051-0.01110.00240.0096-0.01350.0010-0.01240.0308-0.00550.01240.0011-0.0092-0.0104-0.0113-0.00530.00540.0066-0.00550.0000-0.00250.0114-0.00130.0097-0.00670.0095-0.0009-0.00730.0028-0.00210.0058-0.0002-0.00020.0060-0.00780.0040-0.00100.0004-0.0037-0.00650.00440.00580.00440.00460.0026-0.00140.01440.0080-0.00640.0032-0.0050-0.0061-0.00440.00950.00170.00860.00690.01400.01280.0068-0.00190.0003-0.0138-0.0099-0.00610.0089-0.01600.00620.0106-0.0076-0.0111-0.00780.0019-0.00380.0059-0.00490.0018-0.0044-0.0011-0.0060-0.00060.01010.0135-0.0199-0.0049-0.00460.00350.00560.00700.00210.00450.0169-0.00410.0030-0.0169-0.0163-0.00380.02000.01150.00480.0251-0.0006-0.01530.0008-0.00720.00410.0063-0.0078-0.00570.0038-0.00330.00220.0121-0.0027-0.0085-0.0001-0.0012-0.0011-0.0020-0.01760.00270.00640.00890.00620.0051-0.00350.0066-0.0013-0.00650.0120-0.0029-0.0157-0.0000-0.00520.00350.00190.00590.0045-0.0006-0.0108-0.0052-0.00130.0051-0.0047-0.0031-0.00940.00820.0035-0.00850.0087-0.01150.0044-0.02110.0131-0.0052-0.0020-0.01220.0036-0.01270.00180.01160.0013-0.01420.00360.0002-0.0030-0.0020-0.0171-0.0002-0.0051-0.0007-0.01050.0111-0.00590.00030.0020-0.00210.00180.0001-0.00230.00850.00450.00460.0055-0.00790.00230.0020-0.0132-0.0137-0.00100.0018-0.00410.0053-0.0139-0.00360.0019-0.00090.0060-0.0014-0.0000-0.00390.00080.0064-0.00700.00030.00090.0025-0.0225-0.0172-0.0122-0.0027-0.0032-0.0019-0.0090-0.0088-0.00300.01560.0067-0.0054-0.00660.00430.0196-0.00610.0019-0.0010-0.00480.00130.00620.00160.0101-0.00780.01660.0014-0.0014-0.00010.01220.00390.00800.0110-0.00750.0023-0.0063-0.0010-0.00610.0188-0.0065-0.00550.0113-0.00170.00310.02600.0035-0.00640.00710.0059-0.0004-0.0136-0.00650.0033-0.00790.00970.0004-0.0102-0.00020.00660.01140.01590.0001-0.0052-0.00590.0127-0.00800.0043-0.00250.0049-0.0015-0.0116-0.00950.0082-0.0089-0.0030-0.0118-0.00540.00180.00000.0000-0.0210-0.00190.00620.0082-0.0075-0.00350.0020-0.0016-0.0084-0.0058-0.0133-0.00140.00930.02200.00290.0113-0.0101-0.0100-0.00200.00100.00350.0043-0.01200.00310.0031-0.00140.00350.0037-0.0056-0.00550.0066-0.00310.00270.0025-0.00830.0065-0.0044-0.00800.00290.00110.00270.00230.0022-0.0140-0.0040-0.0041-0.0088-0.01240.00620.00150.00270.01060.00950.0091-0.0011-0.01010.0095-0.01450.00460.0067-0.00360.00760.00310.0004-0.0092-0.01440.0079-0.0058-0.0017-0.01330.00610.0074-0.00180.0078-0.00730.0020-0.0044-0.0114-0.00350.0146-0.00060.00100.0012-0.00530.01030.00880.0143-0.0154-0.0157-0.0046-0.0011-0.0028-0.0062-0.00250.01750.00440.0087-0.0102-0.00420.0118-0.00220.0051-0.0009-0.02180.0081-0.0067-0.0016-0.0035-0.00890.00030.0103-0.0041-0.0052-0.00950.0019-0.00970.0112-0.0026-0.00150.00160.0051-0.0022-0.0038-0.00170.0003-0.0219-0.0168-0.00110.0099-0.0166-0.00940.00200.0086-0.0102-0.0152-0.0016-0.00660.00510.00110.00480.00920.00580.0151-0.00380.00550.00210.0090-0.0095-0.0003-0.01520.01000.01610.0030-0.00760.00260.0059-0.0071-0.0056-0.0141-0.0124-0.0060-0.0103-0.0014-0.00060.0013-0.00340.0139-0.0058-0.01640.0010-0.0179-0.00310.00140.0065-0.00470.0078-0.0007-0.01940.00060.0152-0.0052-0.0026-0.0003-0.0022-0.0037-0.0029-0.0104-0.0035-0.0118-0.0081-0.01480.00000.0003-0.01100.00690.0000-0.0009-0.00610.00380.0012-0.00460.00620.0044-0.0043-0.00820.0227-0.01500.01210.00120.0019-0.0093-0.0036-0.00760.0024-0.01220.00120.00370.0075-0.0020-0.00620.0094-0.00070.00760.0109-0.0066-0.00750.0038-0.00900.01000.00150.0114-0.0051-0.0049-0.00560.0116-0.00010.00900.0070-0.00360.01000.00480.0093-0.0017-0.02830.0008-0.00700.00270.00680.00380.01120.00510.0002-0.0013-0.0019-0.00020.0025-0.0011-0.0020-0.00380.0037-0.0003-0.00480.0237-0.0074-0.0098-0.00500.00830.00460.00560.01020.00460.01840.0202-0.0032-0.0097-0.0081-0.00230.00510.0102-0.00930.0064-0.00680.0069-0.0209-0.0099-0.00090.00980.00160.00440.0111-0.00790.0000-0.0112-0.0105-0.0028-0.0081-0.0010-0.0038-0.00640.0090-0.0137-0.00020.0082-0.0011-0.0033-0.00410.0075-0.00760.00100.0100-0.01360.0022-0.01130.0060-0.00630.00890.01090.00030.0017-0.00590.0028-0.00200.00480.0095-0.0067-0.00950.0026-0.0075-0.0089-0.01380.00150.00370.00170.0037-0.0054-0.0018-0.01910.00820.0295-0.0007-0.0232-0.0188-0.01270.0118-0.01630.00420.0005-0.00770.0032-0.00660.0008-0.0001-0.00790.00010.00570.0116-0.0013-0.0055-0.0031-0.0034-0.01250.00330.00660.01020.00720.00890.00030.00360.00860.0141-0.00530.00980.01430.00300.0028-0.00680.0057-0.00690.0126-0.00950.00910.0188-0.0029-0.00460.0010-0.00060.0052-0.00630.0096-0.0015-0.00950.0016-0.0056-0.0039-0.00380.00240.00410.0073-0.00260.0003-0.0032-0.00060.0024-0.00000.00460.01050.0007-0.0011-0.0042-0.0158-0.00530.0069-0.01590.00830.00070.0003-0.00010.00300.00500.0022-0.00370.0060-0.0009-0.00480.0034-0.01470.00210.00950.0003-0.00050.0010-0.0055-0.00040.00210.00290.00950.00840.01720.00120.00100.00120.01100.0057-0.0180-0.01340.0069-0.0017-0.0085-0.00080.0039-0.0111-0.0035-0.01020.00540.01080.0033-0.00650.0070-0.01010.0115-0.0165-0.0119-0.00210.00730.00120.00830.00310.0122-0.00180.0124-0.00930.00080.00340.00310.00030.0008-0.00470.0059-0.0000-0.00430.00300.00640.0060-0.00340.00660.00040.02160.00020.00610.0025-0.0217-0.0089-0.0117-0.00130.00190.0056-0.0129-0.00460.0097-0.0095-0.0044-0.0024-0.0039-0.0073-0.0006-0.0096-0.00840.01160.00070.00090.01190.00410.00390.01680.0022-0.00900.00050.01480.00830.0004-0.00660.0140-0.00210.0065-0.0023-0.00490.0007-0.0006-0.00180.00000.00110.0012-0.01530.00930.00460.00560.01040.01250.0164-0.0221-0.0234-0.00130.00250.0141-0.0136-0.0002-0.00030.00470.01590.00340.00150.0030-0.00470.0060-0.0045-0.0087-0.0050-0.0072-0.00970.00150.00060.0034-0.00430.0043-0.00480.00950.00200.00430.01210.00470.00590.00210.0016-0.0070-0.0056-0.00840.00420.0067-0.0155-0.00740.0073-0.0080-0.00270.00500.0102-0.00050.0007-0.0038-0.0011-0.0017-0.00880.00210.00900.00940.0164-0.00170.0011-0.01270.00390.00230.0045-0.0156-0.00790.0040-0.0122-0.00740.0039-0.00950.0042-0.0001-0.0078-0.0095-0.00350.00350.0131-0.0087-0.0085-0.0137-0.00700.01240.0093-0.01120.01130.00830.00910.00140.00760.00280.0029-0.00870.0062-0.0128-0.00300.00520.00020.01150.00340.00040.0093-0.0065-0.02130.00840.01150.0010-0.0058-0.0158-0.0162-0.00490.00140.01540.01660.0037-0.00600.0043-0.00470.00410.0045-0.01220.00140.0055-0.0022-0.00580.00150.00770.02600.00150.0030-0.0014-0.0030-0.0023-0.00840.00230.0190-0.0053-0.02060.0082-0.0118-0.0065-0.00500.00180.00440.0131-0.01440.0013-0.00050.0030-0.0036-0.0053-0.00390.0064-0.00950.00370.00990.01260.00800.02000.0125-0.00560.00510.00940.0033-0.01340.00780.00300.00310.00250.00270.0024-0.01680.0041-0.0029-0.0026-0.0148-0.0076-0.0149-0.0058-0.0159-0.0116-0.00520.0104-0.00330.00560.0054-0.00080.0034-0.00320.0107-0.0144-0.00600.0077-0.0006-0.00930.02020.0019-0.00610.0069-0.0182-0.02150.0032-0.0037-0.0080-0.0004-0.0011-0.0046-0.0005-0.0003-0.00210.00360.00310.0071-0.0042-0.0152-0.0090-0.00170.0019-0.00460.0019-0.01220.00410.00560.0001-0.00540.0065-0.00390.0115-0.00150.00550.0151-0.0014-0.00940.00010.00400.00220.0120-0.0106-0.0000-0.01100.0005-0.0118-0.0082-0.0033-0.00050.0043-0.00890.00030.0119-0.0021-0.01490.0050-0.00580.01330.0040-0.0013-0.0075-0.00420.00420.00540.00270.00810.0011-0.0067-0.00280.0069-0.01200.0131-0.00710.00240.00530.02130.0016-0.0037-0.0091-0.01100.0014-0.0006-0.0012-0.01050.00710.0024-0.0174-0.0013-0.00420.00580.0001-0.00220.00510.00680.01120.0038-0.0091-0.00020.0078-0.0009-0.0017-0.0090-0.00460.0083-0.01880.0109-0.0037-0.00720.0101-0.0124-0.0049-0.0235-0.0035-0.0034-0.00570.0061-0.0013-0.0051-0.0048-0.00550.0119-0.0043-0.0002-0.01080.00230.0001-0.00100.0001-0.0071-0.00150.01330.0011-0.0139-0.00190.0201-0.0083-0.00890.00400.00830.01130.00450.0039-0.0115-0.00130.0122-0.0064-0.0039-0.0012-0.01400.0005-0.00910.0197-0.0027-0.0008-0.00420.01140.00130.0020-0.01710.00570.02320.0083-0.01270.00690.0004-0.0115-0.00050.0202-0.0082-0.0111-0.01510.0091-0.00700.0038-0.0065-0.0034-0.00580.0138-0.0014-0.00370.0054-0.0021-0.0041-0.0003-0.0001-0.0100-0.01340.0146-0.01120.0109-0.0062-0.0030-0.00410.0122-0.0081-0.01670.00600.0065-0.00050.0074-0.0056-0.0068-0.00720.01180.0024-0.0049-0.00930.0192-0.01010.0001-0.00830.0029-0.01570.00920.00970.0046-0.0045-0.0224-0.0044-0.0087-0.0138-0.0019-0.0056-0.00190.0186-0.01210.00840.0075-0.0019-0.0013-0.0075-0.00230.00490.0020-0.02320.0007-0.0028-0.00710.0028-0.00500.0111-0.0041-0.0098-0.00690.00680.0056-0.00230.0020-0.0002-0.01440.0071-0.0044-0.0106-0.01490.00490.01020.01050.00060.01250.00570.0082-0.00940.0112-0.0186-0.01320.0168-0.0047-0.00950.0055-0.00790.01840.00250.01100.0045-0.0128-0.0068-0.00020.00080.0049-0.0013-0.00880.0019-0.0134-0.00010.00180.0016-0.01050.00780.0021-0.00110.0050-0.0169-0.00380.0068-0.0146-0.0022-0.0002-0.00420.0177-0.00460.0038-0.02390.0034-0.01420.00560.0099-0.0002-0.0072-0.0060-0.00100.0054-0.00820.00530.01660.01230.01580.0038-0.00100.00960.0007-0.0092-0.01730.00390.0129-0.01240.00680.00690.00500.0128-0.0136-0.0005-0.0029-0.0014-0.0053-0.00550.00420.0026-0.0108-0.0111-0.00490.0110-0.01170.00910.00290.01140.0012-0.0024-0.00560.00290.00510.00540.0192-0.0172-0.0009-0.00700.00160.0010-0.00440.0099-0.00900.00580.00680.0116-0.0022-0.00010.0124-0.00530.00770.00530.0009-0.0049-0.0102-0.0077-0.0045-0.0018-0.00010.00530.01320.02070.00020.0187-0.00210.00290.00260.0040-0.0058-0.00430.0017-0.0042-0.0027-0.01140.0014-0.02440.0164-0.0033-0.0006-0.0101-0.0037-0.00630.01040.01160.0057-0.00920.0116-0.0069-0.0011-0.0042-0.0124-0.00020.0015>> max
Error using max
Not enough input arguments.>> max(vx)ans =0.0308>>
vvx = vx*ren.v;
vvy = vy*ren.v;
vvz = vz*ren.vvvz =-9.20691.71166.90921.649913.165211.042511.31450.55697.93154.2908-1.4937-9.9949-4.3748-14.1444-4.01260.29844.04725.8215-4.32903.558612.22284.3896-9.48461.4623-3.354412.91876.51514.6751-10.48567.6300-6.98301.33878.55871.4968-12.71572.14981.3323-12.6082-4.9252-9.59154.28471.31194.12251.7600-3.09411.08925.4101-9.405914.2221-2.418113.5864-7.5604-11.4908-3.9710-3.19012.92628.9296-16.1036-3.16768.45324.75241.7982-7.52639.43324.8161-3.105911.0450-3.22313.81061.12990.5431-5.39014.84456.3623-4.493211.0385-7.4685-7.8621-6.0931-6.5794-15.07899.72857.88719.31147.437110.81944.64313.153410.21001.1415-8.257312.1302-1.5466-4.8651-14.6350-5.5761-3.444013.5186-0.9087-9.75907.53486.9473-11.5951-1.1119-2.1478-0.809516.45203.561013.0818-10.038713.8471-1.74429.5944-3.8032-7.20040.259911.180012.61443.8413-7.6663-11.50246.9170-5.8606-4.7213-10.5308-2.8760-9.625711.6864-5.1471-11.83034.3656-3.3011-1.4820-10.63020.2433-1.4530-8.5788-16.15456.65698.9490-6.03952.34225.5573-10.92404.3393-9.18114.3737-8.2041-5.60571.9034-6.3274-7.991610.65912.67655.62818.8435-5.4488-0.19680.18836.67931.88270.8434-8.343714.7823-3.4373-3.33228.6670-3.0175-2.196911.8503-8.5716-5.5985-1.2492-3.8443-4.91767.7145-1.08010.19232.496011.174314.434410.37746.6484-0.6246-0.1651-2.6909-2.61122.805711.87925.1632-3.4051-2.95537.3989-0.3320-4.9409-0.16211.4240-5.2416-9.41339.73103.44795.5319-4.98653.32710.1921-1.7716-9.16880.713312.7703-0.19214.35031.27069.1861-2.3915-4.9235-1.771210.36311.0225-2.04498.5408-6.756415.96873.21585.1512-8.3374-0.5688-0.5187-15.1479-6.5658-10.53796.1732-1.9148-7.3644-4.269213.0591-10.6333-0.39155.65481.1000-2.95771.233713.0853-5.00088.13505.1095-9.41057.09230.8985-5.70372.1456-11.25345.8077-2.1897-14.7833-0.29963.5990-3.0374-11.01151.7146-10.49201.3826-2.87219.52760.33348.79833.341611.55332.53898.58817.53012.94697.3587-1.8631-10.5512-15.18097.5549-6.57034.80664.8239-0.59043.3931-15.6950-8.40919.6087-9.81815.7519-7.1368-11.11706.07133.4779-5.54845.1433-8.5574-4.62892.6816-1.015214.8401-5.263614.8598-0.5734-1.97227.548811.75650.89655.578714.345615.965010.2836-4.61081.7810-5.20179.0123-1.85782.62580.035210.61337.14894.3172-3.0379-5.69434.1171-2.37512.678512.5354-7.50620.0531-1.40126.4415-4.273212.35512.36209.22025.51998.687410.0004-6.85897.7828-4.3010-6.9326-2.998914.031912.6243-0.8910-4.8653-4.069913.0365-7.8336-3.0330-7.00556.1826-4.852911.958111.2485-8.4963-15.55821.9122-8.3330-7.7761-13.93634.7029-2.6740-3.64829.161410.1442-10.5212-0.18109.8522-3.11762.28544.6904-8.26547.5968-3.0681-5.50651.0110-11.37457.5706-15.0909-4.952111.4630-1.91193.52665.76915.4740-3.67204.3452-10.1280-3.82227.00035.78883.788612.101911.268010.30162.4581-12.91174.80182.902712.4324-6.09399.08464.602812.26721.2244-2.9058-11.8488-2.900511.469510.765111.13564.93792.0428-10.0434-9.948514.81226.600814.587512.2673-0.3502-9.25369.7083-2.149213.0198-8.37549.3280-3.4984-8.40613.44607.39351.879310.8628-3.77954.2266-7.3678-1.40334.1161-1.09523.31418.54950.8032-13.6859-2.38347.0536-2.67237.54230.71866.6629-14.64463.4232-3.3987-14.93194.54727.80345.69448.5514-0.0093-9.61571.0459-0.18327.2170-8.6167-11.60599.8602-10.3299-9.66759.913713.45122.3934-10.9233-4.9218-2.61843.248514.57128.18068.26552.4655-1.0771-10.2719-6.6904-10.8113-0.82677.13222.1964-11.8723-4.93986.984714.34217.57583.99684.0324-12.94582.139114.967513.0503-15.02258.670311.51480.77087.2075-8.35077.03706.3144-10.52351.3171-9.9570-12.7662-7.8333-4.8705-2.02293.2320-3.8842-1.094414.4485-3.2220-6.8594-8.224012.691910.2924-5.6962-6.529114.85233.85657.28387.60269.8094-1.15912.3022-4.18603.1266-10.16346.30684.64747.6948-2.1956-14.20953.315616.44622.1870-2.81310.33531.3310-6.2125-6.43328.0592-1.1213-1.41792.0232-3.84101.5814-3.3088-5.6607-9.18739.8609-6.2278-10.77280.10997.83966.36338.17215.32913.86075.16329.9069-12.03050.98430.2540-1.86633.8811-8.0235-10.9944-13.3390-4.3099-16.1794-12.18914.12225.13677.20036.19118.4583-2.0690-4.09886.6276-10.9273-13.7312-1.39106.1890-1.63303.7378-10.5317-9.3190-9.710911.17991.5900-6.4491-9.3736-4.2011-13.32403.61494.1531-13.8342-1.13951.02763.53622.8292-0.6379-7.800511.5838-4.1913-5.2981-14.2591-2.5815-9.6118-6.58551.167414.78273.6890-1.147210.36585.64885.74822.22730.8973-9.81449.98841.0263-4.3856-2.6621-3.62480.431010.53227.1002-3.0067-4.9894-8.9635-1.1539-0.5551-6.2526-6.2332-8.2755-11.6475-0.0282-10.8885-2.37835.73440.845910.2628-5.7740-0.1403-0.8286-9.0847-6.238911.74441.71063.9274-8.16442.0456-6.9658-15.4407-12.3283-3.4905-3.90757.248214.77757.51505.7080-7.83605.9590-3.1551-0.33673.5724-0.5505-4.1800-2.2970-11.41018.0003-4.4818-7.7872-8.69843.252012.8919-10.13250.7153-2.2135-11.45563.07945.3271-13.8687-4.30904.28565.2788-4.6726-12.49709.956411.932211.1889-10.6189-8.65550.34925.31857.16321.4428-11.351412.251911.778815.7620-6.0846-3.12726.41691.2473-0.9073-9.874310.2987-9.141510.81286.9001-3.3723-8.99343.0923-2.8176-2.09698.627012.765010.5409-3.68722.6666-5.65756.4371-6.3502-4.689812.03407.7491-3.8519-1.7664-4.052011.4434-7.47119.81710.64025.2172-4.1247-8.38669.72847.2711-11.0244-5.063615.9981-10.1809-0.94050.7199-5.92412.87852.8934-2.17427.81397.3618-3.869013.8183-0.18098.8888-4.1916-14.19421.84252.0645-6.27752.9790-2.60511.99335.32002.0418-2.234312.6705-1.33405.65124.78580.4452-10.97248.6141-0.46556.195212.3617-8.0220-8.7587-2.85493.2961-7.999110.0452-3.5960-1.3759-2.8314-5.3401-7.19153.53815.7483-3.89032.7502-2.78270.9761-13.34831.8903-5.077410.4402-7.40017.601514.4412-3.46546.16364.37215.2809-3.81193.0071-5.24980.770414.02404.77017.1775-5.35614.99440.840310.617110.1898-3.1610-3.70663.808012.811315.418414.34191.355710.79048.9912-7.99798.1790-0.51947.79035.1972-8.0493-8.2053-4.32268.0081-2.230612.1334-5.40444.1019-8.510012.4103-3.7731-2.6898-7.27720.64666.72054.55665.3507-7.9454-6.9312-5.98894.90721.38811.03058.3329-2.90051.705211.00061.06505.55375.5987-7.580110.0343-7.65065.0614-13.14903.8316-6.1794-2.9182-4.93476.7818-13.4766-1.6950-11.09600.9417-8.7351-2.5942-8.9088-8.5803-9.63211.39031.7556-6.2668-7.54076.2980-0.8548-3.5782-2.4966-11.93462.99924.97706.4716-5.73102.04705.55325.61923.137012.8500-0.8476-0.8325-6.7072-1.5391-7.5009-4.42306.7504-2.51194.7918-2.9266-4.65750.4080-10.17899.067012.8761-4.1821-1.5512-6.118113.2904-10.21214.84347.9708-8.6081-0.2798-0.6181-2.9465-3.1953-2.34616.18971.72851.17909.563212.47967.6994-0.8830-3.95924.3717-8.8139-11.0010-1.899611.07546.16934.66154.95056.15251.9184-6.37204.99293.6092-7.2782-0.2030-10.38788.10942.66074.54129.12924.97865.9408-7.54052.8044-0.1779-10.36706.8987-10.38936.01754.16965.6267-0.62028.19361.7638-11.9903-9.286912.5513-8.2478-3.5724-8.82396.63920.50356.3798-9.292616.14881.67782.0344-5.94384.55681.26028.1512-11.2332-4.53762.81244.6401-14.637811.29163.858910.7019-14.03814.2160-7.25919.0746-0.1504-0.690712.304813.7070-3.57776.858312.5382-2.54991.573710.70036.6996-5.6969-3.3066-3.51405.17214.01984.1498-9.12856.03254.42401.45194.7117-3.7875-4.01280.74817.80921.06605.8750-2.0560-11.950412.9597-12.83492.90257.8764-2.4870-14.550111.95828.98901.113811.9963-2.38995.48865.8885-7.0798-2.012412.86339.7146-6.1425-2.10952.3229-6.50288.4212-4.1630-2.8728-3.2062-6.6672-8.091910.4061-4.4440-0.79006.0305-10.2013-4.02021.4109-6.8394-3.80874.4821-8.8947-0.5532-5.9788-3.5345-10.6610-10.4375-2.14825.80060.6838-5.4034-14.27301.7048-12.9500-8.9544-5.41823.78948.21581.6213-11.93817.74822.9484-3.491713.22731.4148-5.94872.87568.12756.3836-5.45745.6403-5.1063-1.43213.6898-6.6246-4.4393-2.5508-10.25771.2933-11.3003-0.683915.6273-0.7198-10.74361.4202-6.7420-3.0798-2.08503.8829-8.565110.827715.75653.0477-2.98181.7704-8.9648-8.11148.6983-4.33073.8710-1.9563-2.388914.3687-13.0074-4.13187.3159-0.7846-6.9720-5.5988-2.3606-4.328210.25295.3837-3.32396.3078-7.6483-7.00469.5848-1.8274-1.3531-7.61131.3501-1.2453-7.46005.34230.3458-11.6567-14.29404.838411.01905.5185-12.03284.6258-9.73400.940414.0065-1.71094.65447.6906-11.49328.3023-1.303811.40685.85854.95217.98244.6973-6.1391-9.5786-3.04130.7390-2.4558-6.7827-7.8673-4.921910.0539-14.91276.22044.6963-9.57992.55637.3880-8.8024-9.3388-6.0702-3.4258-1.9329-9.6311-0.64271.07100.2566-8.13607.6563-12.0726-6.7195-4.47287.4495-4.696411.99590.5396-11.1480-10.44534.0414-4.55299.9744-2.10332.8699-0.41965.5914-3.6137-3.83692.69278.8761-9.9781-3.2434-11.5386-0.517710.0217-9.83310.747212.78770.49064.5682-10.0818-9.5675-10.0951-9.8307-8.74371.8486-1.0593-7.97079.2835-9.28509.01903.7244-6.7951-7.73761.96167.7250-4.2595-0.2191-15.6462-8.0847-13.8779-4.9781-3.5845-6.595112.35024.6544-9.7221-6.15272.8728-5.011311.49862.25548.20103.31223.7988-14.227912.421211.42798.84561.07660.0255-4.1292-1.7670-2.8723-9.56085.47503.42913.7130-6.2462-0.0570-15.20336.15951.4386-10.9443-0.4208-2.5408-2.4046-12.36763.5233-4.622313.18502.15876.11713.55950.93369.4281-1.6964-0.32840.7674-3.2066-2.8315-9.06967.3589-4.52798.48962.68700.33495.8992-4.27236.799914.10455.454510.809810.04711.3780-11.9362-1.2272-10.3628-11.999311.5670-4.047914.1886-16.3335-1.2112-4.71565.57482.29271.023712.23414.4759-9.63927.67986.0076-1.9091-13.50502.3895-8.051510.6461-4.7622-9.6507-6.55770.30466.52600.68304.74304.59201.3493-3.72818.5541-4.9373-0.537210.0204-3.2449-0.8140-12.6869-2.5703-3.78173.819214.2951-0.97086.3972-10.2635-8.3125-1.40757.8208-7.9716-14.3420-9.6598-3.9075-11.4730-8.3391-11.8082-10.06990.9849-9.19690.4416-3.63284.5221-8.6437-8.5404-13.968012.7537-6.419813.09702.447414.5106-9.7815-14.3000-3.26276.2636-5.4618-2.46978.791811.6552-0.837710.4203-1.194010.50137.014211.50315.08825.4360-6.61946.3536-1.8466-7.09865.296812.66141.43866.81666.53029.405311.51713.83072.11970.36824.9002-11.396415.20893.86216.6457-1.7406-1.1219-7.8081-7.26441.7870-7.23226.1127-7.60386.84351.2992-0.00511.885410.4781-3.99203.6130-0.443313.5321-8.2212-1.5372-0.442412.15247.0864-5.6757-3.51427.4813-8.2338-7.764412.8389-0.28825.85304.360611.8845-4.85373.03715.0517-6.98791.7899-4.4773-8.52246.85328.1062-13.1735-12.2101-11.577915.5867-3.53489.18242.9408-13.9630-8.516010.7723-3.55151.7223-12.013410.29395.74638.05199.86120.92150.4623-11.6920-5.15625.95713.05502.0266-11.44515.31150.60491.56719.451211.99588.6602-4.64482.38293.69010.76248.4443-6.49990.76908.34928.3664-11.49136.379811.5368-2.68270.5045-6.1245-2.3448-3.82538.1965-15.3557-4.6060-5.4626-13.60694.81050.5447-15.18245.2472-4.6960-7.2363-0.9854-0.64142.08417.8132-9.537610.9442-5.01589.6476-7.151810.8594-5.054911.7174-7.08029.7635-10.3519-2.3211-9.9619-2.9725-10.22674.78084.3387-6.4246-6.6369-7.1237-4.49036.216412.0025-0.226411.6336-13.06579.74829.8204-5.5251-2.009513.3002-10.7939-4.38713.02880.76086.0346-4.5161-11.1220-6.60482.29111.5987-9.17472.793011.5433-8.63271.1910-10.64548.1486-1.97573.1906-2.2299-9.5947-8.8545-9.93014.7093-4.4438-12.5128-5.8195-10.549710.3989-11.378514.58892.69155.60389.1089-6.6719-10.5928-7.5196-7.2032-3.05866.0816-0.11191.1995-10.76522.96504.64735.2584-13.3507-7.42750.61139.5331-3.61171.08696.06695.8262-5.1743-2.4741-7.0528-1.16658.556215.0574-4.93561.17567.5043-10.2782-10.2430-0.3738-3.3345-8.80950.137413.18116.19512.6112-4.2103-7.3410-0.5273-10.40424.03774.8064-2.80860.6152-10.2290-1.96080.8559-7.1246-10.1926-9.35087.0358-0.7557-10.34693.110710.9065-0.98147.2873-0.19097.4526-6.3283-8.01515.6123-1.6144-2.9314-7.3193-3.73799.8927-1.17221.2237-5.75828.70960.1287-4.0393-8.4284-5.5471-12.553710.04547.1064-10.25802.27906.387411.05977.40833.13217.7008-1.6158-16.37297.65172.6317-12.0865-11.62336.0122-6.18903.8286-1.6557-12.2132-1.2005-3.835214.862212.2865-7.878515.6192-6.6291-7.94712.960812.0506-7.9411-10.32741.7852-0.3468-6.0782-3.8940-1.10203.86213.01113.0473-6.7544-2.16765.90341.4337-4.760212.9472-4.2358-0.46667.81944.0053-6.9716-5.73207.5748-3.1643-14.4421-4.7475-12.174613.1050-5.95201.20345.26296.95934.5342-15.48133.561412.6924-11.54046.61861.80660.30222.0457-5.5878-0.5785-11.4957-1.57154.21334.8589-3.40941.872014.33886.29761.74310.0035-3.0134-10.28964.2701-4.14924.5295-9.6443-4.2905-8.8946-2.6244-12.1028-4.06682.9075-7.3429-11.582514.1681-7.27303.21991.14530.215511.6859-6.4298-2.16675.3345-12.71204.59593.731711.50945.750112.19610.0450-0.78550.6389-8.1895-1.54931.63656.6332-3.44167.7640-9.0911-7.0600-7.25776.183710.0170-1.83843.439812.43010.07597.8644-0.99800.8231-7.6879-3.4549-1.04425.91113.93875.6109-9.4334-1.87641.26030.6378-12.96134.1320-14.21620.22565.5857-4.55284.024113.46406.08044.6900-2.55707.9904-7.7361-11.73544.0198-10.85862.42474.96695.7919-3.0045-0.54633.9519-5.9881-2.4386-4.287913.38335.7474-2.47973.648316.38875.6479-9.4288-3.4955-4.114611.6318-0.56176.27444.318410.0691-7.34665.1199-9.9902-3.3458-10.4775-7.27851.3774-12.6486-0.6231-6.34507.38461.0746-4.89721.55055.1080-3.56288.66273.207612.98910.3253-11.2962-10.64350.4751-12.4577-4.47226.8201-12.1078-0.57900.7130-0.03742.38943.11843.46502.134612.6230-9.1752-8.4505-11.86883.48893.01703.8105-1.4455-6.28395.5681-6.76016.71045.1912-7.3882-4.1224-14.78950.03674.1697-6.8671-3.066413.56258.23560.9435-9.3769-7.2466-5.9110-2.10673.0673-6.3488-6.13562.558411.85371.91228.4981-6.1488-12.00726.37026.8227-1.7370-9.408513.9893-6.7792-5.5949-2.87614.1997-6.1306-7.088010.0562-8.3586-4.36709.55639.0310-0.84555.8352-0.67951.74016.38393.50645.7066-0.9978-9.1068-3.8258-1.30190.60907.1031-10.1408-0.84975.5941-10.60045.96311.2710-9.2189-15.3604-10.8217-1.38489.2463-2.62968.3841-12.613612.4876-5.8898-3.43731.49828.72982.88215.34491.1773-14.4283-2.59192.9812-0.48507.23225.13852.888914.2798-9.02770.7617-3.5689-1.50458.7480-5.8502-2.0178-5.37364.7271-3.8728-5.7854-4.82212.7173-10.5946-2.49397.842410.83890.21433.5312-1.7041-11.3077-12.9136-10.1940-4.61930.7891-6.5607-10.76692.5325-2.43434.7527-7.5198-6.6942-13.3507-5.43386.19533.46730.35890.00573.6086-4.48803.2322-10.4486-4.7362-2.21244.0848-3.097811.34270.98113.8319-6.0682-2.6776-0.0334-0.78847.7660-8.48378.13447.2824-6.51107.30899.66052.4173-7.7036-5.06982.11522.9449-11.038615.3794-3.9580-5.2855-6.0609>> k=1k =1>>   hplot(k) = plot3(vvx(n12),vvy(n12),vvz(n12),'.', ...'color',hdiag.color(mod(k-1,7)+1,:));
Unrecognized function or variable 'n12'.>> n1 = n2+1;n2 = n2+prm.np(k);n12 = n1:n2
Unrecognized function or variable 'n2'.>>     n1 = 0;n2 = 0;
>>      n1 = n2+1;n2 = n2+prm.np(k);n12 = n1:n2n12 =Columns 1 through 101           2           3           4           5           6           7           8           9          10Columns 11 through 2011          12          13          14          15          16          17          18          19          20Columns 21 through 3021          22          23          24          25          26          27          28          29          30Columns 31 through 4031          32          33          34          35          36          37          38          39          40Columns 41 through 5041          42          43          44          45          46          47          48          49          50Columns 51 through 6051          52          53          54          55          56          57          58          59          60Columns 61 through 7061          62          63          64          65          66          67          68          69          70Columns 71 through 8071          72          73          74          75          76          77          78          79          80Columns 81 through 9081          82          83          84          85          86          87          88          89          90Columns 91 through 10091          92          93          94          95          96          97          98          99         100Columns 101 through 110101         102         103         104         105         106         107         108         109         110Columns 111 through 120111         112         113         114         115         116         117         118         119         120Columns 121 through 130121         122         123         124         125         126         127         128         129         130Columns 131 through 140131         132         133         134         135         136         137         138         139         140Columns 141 through 150141         142         143         144         145         146         147         148         149         150Columns 151 through 160151         152         153         154         155         156         157         158         159         160Columns 161 through 170161         162         163         164         165         166         167         168         169         170Columns 171 through 180171         172         173         174         175         176         177         178         179         180Columns 181 through 190181         182         183         184         185         186         187         188         189         190Columns 191 through 200191         192         193         194         195         196         197         198         199         200Columns 201 through 210201         202         203         204         205         206         207         208         209         210Columns 211 through 220211         212         213         214         215         216         217         218         219         220Columns 221 through 230221         222         223         224         225         226         227         228         229         230Columns 231 through 240231         232         233         234         235         236         237         238         239         240Columns 241 through 250241         242         243         244         245         246         247         248         249         250Columns 251 through 260251         252         253         254         255         256         257         258         259         260Columns 261 through 270261         262         263         264         265         266         267         268         269         270Columns 271 through 280271         272         273         274         275         276         277         278         279         280Columns 281 through 290281         282         283         284         285         286         287         288         289         290Columns 291 through 300291         292         293         294         295         296         297         298         299         300Columns 301 through 310301         302         303         304         305         306         307         308         309         310Columns 311 through 320311         312         313         314         315         316         317         318         319         320Columns 321 through 330321         322         323         324         325         326         327         328         329         330Columns 331 through 340331         332         333         334         335         336         337         338         339         340Columns 341 through 350341         342         343         344         345         346         347         348         349         350Columns 351 through 360351         352         353         354         355         356         357         358         359         360Columns 361 through 370361         362         363         364         365         366         367         368         369         370Columns 371 through 380371         372         373         374         375         376         377         378         379         380Columns 381 through 390381         382         383         384         385         386         387         388         389         390Columns 391 through 400391         392         393         394         395         396         397         398         399         400Columns 401 through 410401         402         403         404         405         406         407         408         409         410Columns 411 through 420411         412         413         414         415         416         417         418         419         420Columns 421 through 430421         422         423         424         425         426         427         428         429         430Columns 431 through 440431         432         433         434         435         436         437         438         439         440Columns 441 through 450441         442         443         444         445         446         447         448         449         450Columns 451 through 460451         452         453         454         455         456         457         458         459         460Columns 461 through 470461         462         463         464         465         466         467         468         469         470Columns 471 through 480471         472         473         474         475         476         477         478         479         480Columns 481 through 490481         482         483         484         485         486         487         488         489         490Columns 491 through 500491         492         493         494         495         496         497         498         499         500Columns 501 through 510501         502         503         504         505         506         507         508         509         510Columns 511 through 520511         512         513         514         515         516         517         518         519         520Columns 521 through 530521         522         523         524         525         526         527         528         529         530Columns 531 through 540531         532         533         534         535         536         537         538         539         540Columns 541 through 550541         542         543         544         545         546         547         548         549         550Columns 551 through 560551         552         553         554         555         556         557         558         559         560Columns 561 through 570561         562         563         564         565         566         567         568         569         570Columns 571 through 580571         572         573         574         575         576         577         578         579         580Columns 581 through 590581         582         583         584         585         586         587         588         589         590Columns 591 through 600591         592         593         594         595         596         597         598         599         600Columns 601 through 610601         602         603         604         605         606         607         608         609         610Columns 611 through 620611         612         613         614         615         616         617         618         619         620Columns 621 through 630621         622         623         624         625         626         627         628         629         630Columns 631 through 640631         632         633         634         635         636         637         638         639         640Columns 641 through 650641         642         643         644         645         646         647         648         649         650Columns 651 through 660651         652         653         654         655         656         657         658         659         660Columns 661 through 670661         662         663         664         665         666         667         668         669         670Columns 671 through 680671         672         673         674         675         676         677         678         679         680Columns 681 through 690681         682         683         684         685         686         687         688         689         690Columns 691 through 700691         692         693         694         695         696         697         698         699         700Columns 701 through 710701         702         703         704         705         706         707         708         709         710Columns 711 through 720711         712         713         714         715         716         717         718         719         720Columns 721 through 730721         722         723         724         725         726         727         728         729         730Columns 731 through 740731         732         733         734         735         736         737         738         739         740Columns 741 through 750741         742         743         744         745         746         747         748         749         750Columns 751 through 760751         752         753         754         755         756         757         758         759         760Columns 761 through 770761         762         763         764         765         766         767         768         769         770Columns 771 through 780771         772         773         774         775         776         777         778         779         780Columns 781 through 790781         782         783         784         785         786         787         788         789         790Columns 791 through 800791         792         793         794         795         796         797         798         799         800Columns 801 through 810801         802         803         804         805         806         807         808         809         810Columns 811 through 820811         812         813         814         815         816         817         818         819         820Columns 821 through 830821         822         823         824         825         826         827         828         829         830Columns 831 through 840831         832         833         834         835         836         837         838         839         840Columns 841 through 850841         842         843         844         845         846         847         848         849         850Columns 851 through 860851         852         853         854         855         856         857         858         859         860Columns 861 through 870861         862         863         864         865         866         867         868         869         870Columns 871 through 880871         872         873         874         875         876         877         878         879         880Columns 881 through 890881         882         883         884         885         886         887         888         889         890Columns 891 through 900891         892         893         894         895         896         897         898         899         900Columns 901 through 910901         902         903         904         905         906         907         908         909         910Columns 911 through 920911         912         913         914         915         916         917         918         919         920Columns 921 through 930921         922         923         924         925         926         927         928         929         930Columns 931 through 940931         932         933         934         935         936         937         938         939         940Columns 941 through 950941         942         943         944         945         946         947         948         949         950Columns 951 through 960951         952         953         954         955         956         957         958         959         960Columns 961 through 970961         962         963         964         965         966         967         968         969         970Columns 971 through 980971         972         973         974         975         976         977         978         979         980Columns 981 through 990981         982         983         984         985         986         987         988         989         990Columns 991 through 1,000991         992         993         994         995         996         997         998         999        1000Columns 1,001 through 1,0101001        1002        1003        1004        1005        1006        1007        1008        1009        1010Columns 1,011 through 1,0201011        1012        1013        1014        1015        1016        1017        1018        1019        1020Columns 1,021 through 1,0301021        1022        1023        1024        1025        1026        1027        1028        1029        1030Columns 1,031 through 1,0401031        1032        1033        1034        1035        1036        1037        1038        1039        1040Columns 1,041 through 1,0501041        1042        1043        1044        1045        1046        1047        1048        1049        1050Columns 1,051 through 1,0601051        1052        1053        1054        1055        1056        1057        1058        1059        1060Columns 1,061 through 1,0701061        1062        1063        1064        1065        1066        1067        1068        1069        1070Columns 1,071 through 1,0801071        1072        1073        1074        1075        1076        1077        1078        1079        1080Columns 1,081 through 1,0901081        1082        1083        1084        1085        1086        1087        1088        1089        1090Columns 1,091 through 1,1001091        1092        1093        1094        1095        1096        1097        1098        1099        1100Columns 1,101 through 1,1101101        1102        1103        1104        1105        1106        1107        1108        1109        1110Columns 1,111 through 1,1201111        1112        1113        1114        1115        1116        1117        1118        1119        1120Columns 1,121 through 1,1301121        1122        1123        1124        1125        1126        1127        1128        1129        1130Columns 1,131 through 1,1401131        1132        1133        1134        1135        1136        1137        1138        1139        1140Columns 1,141 through 1,1501141        1142        1143        1144        1145        1146        1147        1148        1149        1150Columns 1,151 through 1,1601151        1152        1153        1154        1155        1156        1157        1158        1159        1160Columns 1,161 through 1,1701161        1162        1163        1164        1165        1166        1167        1168        1169        1170Columns 1,171 through 1,1801171        1172        1173        1174        1175        1176        1177        1178        1179        1180Columns 1,181 through 1,1901181        1182        1183        1184        1185        1186        1187        1188        1189        1190Columns 1,191 through 1,2001191        1192        1193        1194        1195        1196        1197        1198        1199        1200Columns 1,201 through 1,2101201        1202        1203        1204        1205        1206        1207        1208        1209        1210Columns 1,211 through 1,2201211        1212        1213        1214        1215        1216        1217        1218        1219        1220Columns 1,221 through 1,2301221        1222        1223        1224        1225        1226        1227        1228        1229        1230Columns 1,231 through 1,2401231        1232        1233        1234        1235        1236        1237        1238        1239        1240Columns 1,241 through 1,2501241        1242        1243        1244        1245        1246        1247        1248        1249        1250Columns 1,251 through 1,2601251        1252        1253        1254        1255        1256        1257        1258        1259        1260Columns 1,261 through 1,2701261        1262        1263        1264        1265        1266        1267        1268        1269        1270Columns 1,271 through 1,2801271        1272        1273        1274        1275        1276        1277        1278        1279        1280Columns 1,281 through 1,2901281        1282        1283        1284        1285        1286        1287        1288        1289        1290Columns 1,291 through 1,3001291        1292        1293        1294        1295        1296        1297        1298        1299        1300Columns 1,301 through 1,3101301        1302        1303        1304        1305        1306        1307        1308        1309        1310Columns 1,311 through 1,3201311        1312        1313        1314        1315        1316        1317        1318        1319        1320Columns 1,321 through 1,3301321        1322        1323        1324        1325        1326        1327        1328        1329        1330Columns 1,331 through 1,3401331        1332        1333        1334        1335        1336        1337        1338        1339        1340Columns 1,341 through 1,3501341        1342        1343        1344        1345        1346        1347        1348        1349        1350Columns 1,351 through 1,3601351        1352        1353        1354        1355        1356        1357        1358        1359        1360Columns 1,361 through 1,3701361        1362        1363        1364        1365        1366        1367        1368        1369        1370Columns 1,371 through 1,3801371        1372        1373        1374        1375        1376        1377        1378        1379        1380Columns 1,381 through 1,3901381        1382        1383        1384        1385        1386        1387        1388        1389        1390Columns 1,391 through 1,4001391        1392        1393        1394        1395        1396        1397        1398        1399        1400Columns 1,401 through 1,4101401        1402        1403        1404        1405        1406        1407        1408        1409        1410Columns 1,411 through 1,4201411        1412        1413        1414        1415        1416        1417        1418        1419        1420Columns 1,421 through 1,4301421        1422        1423        1424        1425        1426        1427        1428        1429        1430Columns 1,431 through 1,4401431        1432        1433        1434        1435        1436        1437        1438        1439        1440Columns 1,441 through 1,4501441        1442        1443        1444        1445        1446        1447        1448        1449        1450Columns 1,451 through 1,4601451        1452        1453        1454        1455        1456        1457        1458        1459        1460Columns 1,461 through 1,4701461        1462        1463        1464        1465        1466        1467        1468        1469        1470Columns 1,471 through 1,4801471        1472        1473        1474        1475        1476        1477        1478        1479        1480Columns 1,481 through 1,4901481        1482        1483        1484        1485        1486        1487        1488        1489        1490Columns 1,491 through 1,5001491        1492        1493        1494        1495        1496        1497        1498        1499        1500Columns 1,501 through 1,5101501        1502        1503        1504        1505        1506        1507        1508        1509        1510Columns 1,511 through 1,5201511        1512        1513        1514        1515        1516        1517        1518        1519        1520Columns 1,521 through 1,5301521        1522        1523        1524        1525        1526        1527        1528        1529        1530Columns 1,531 through 1,5401531        1532        1533        1534        1535        1536        1537        1538        1539        1540Columns 1,541 through 1,5501541        1542        1543        1544        1545        1546        1547        1548        1549        1550Columns 1,551 through 1,5601551        1552        1553        1554        1555        1556        1557        1558        1559        1560Columns 1,561 through 1,5701561        1562        1563        1564        1565        1566        1567        1568        1569        1570Columns 1,571 through 1,5801571        1572        1573        1574        1575        1576        1577        1578        1579        1580Columns 1,581 through 1,5901581        1582        1583        1584        1585        1586        1587        1588        1589        1590Columns 1,591 through 1,6001591        1592        1593        1594        1595        1596        1597        1598        1599        1600Columns 1,601 through 1,6101601        1602        1603        1604        1605        1606        1607        1608        1609        1610Columns 1,611 through 1,6201611        1612        1613        1614        1615        1616        1617        1618        1619        1620Columns 1,621 through 1,6301621        1622        1623        1624        1625        1626        1627        1628        1629        1630Columns 1,631 through 1,6401631        1632        1633        1634        1635        1636        1637        1638        1639        1640Columns 1,641 through 1,6501641        1642        1643        1644        1645        1646        1647        1648        1649        1650Columns 1,651 through 1,6601651        1652        1653        1654        1655        1656        1657        1658        1659        1660Columns 1,661 through 1,6701661        1662        1663        1664        1665        1666        1667        1668        1669        1670Columns 1,671 through 1,6801671        1672        1673        1674        1675        1676        1677        1678        1679        1680Columns 1,681 through 1,6901681        1682        1683        1684        1685        1686        1687        1688        1689        1690Columns 1,691 through 1,7001691        1692        1693        1694        1695        1696        1697        1698        1699        1700Columns 1,701 through 1,7101701        1702        1703        1704        1705        1706        1707        1708        1709        1710Columns 1,711 through 1,7201711        1712        1713        1714        1715        1716        1717        1718        1719        1720Columns 1,721 through 1,7301721        1722        1723        1724        1725        1726        1727        1728        1729        1730Columns 1,731 through 1,7401731        1732        1733        1734        1735        1736        1737        1738        1739        1740Columns 1,741 through 1,7501741        1742        1743        1744        1745        1746        1747        1748        1749        1750Columns 1,751 through 1,7601751        1752        1753        1754        1755        1756        1757        1758        1759        1760Columns 1,761 through 1,7701761        1762        1763        1764        1765        1766        1767        1768        1769        1770Columns 1,771 through 1,7801771        1772        1773        1774        1775        1776        1777        1778        1779        1780Columns 1,781 through 1,7901781        1782        1783        1784        1785        1786        1787        1788        1789        1790Columns 1,791 through 1,8001791        1792        1793        1794        1795        1796        1797        1798        1799        1800Columns 1,801 through 1,8101801        1802        1803        1804        1805        1806        1807        1808        1809        1810Columns 1,811 through 1,8201811        1812        1813        1814        1815        1816        1817        1818        1819        1820Columns 1,821 through 1,8301821        1822        1823        1824        1825        1826        1827        1828        1829        1830Columns 1,831 through 1,8401831        1832        1833        1834        1835        1836        1837        1838        1839        1840Columns 1,841 through 1,8501841        1842        1843        1844        1845        1846        1847        1848        1849        1850Columns 1,851 through 1,8601851        1852        1853        1854        1855        1856        1857        1858        1859        1860Columns 1,861 through 1,8701861        1862        1863        1864        1865        1866        1867        1868        1869        1870Columns 1,871 through 1,8801871        1872        1873        1874        1875        1876        1877        1878        1879        1880Columns 1,881 through 1,8901881        1882        1883        1884        1885        1886        1887        1888        1889        1890Columns 1,891 through 1,9001891        1892        1893        1894        1895        1896        1897        1898        1899        1900Columns 1,901 through 1,9101901        1902        1903        1904        1905        1906        1907        1908        1909        1910Columns 1,911 through 1,9201911        1912        1913        1914        1915        1916        1917        1918        1919        1920Columns 1,921 through 1,9301921        1922        1923        1924        1925        1926        1927        1928        1929        1930Columns 1,931 through 1,9401931        1932        1933        1934        1935        1936        1937        1938        1939        1940Columns 1,941 through 1,9501941        1942        1943        1944        1945        1946        1947        1948        1949        1950Columns 1,951 through 1,9601951        1952        1953        1954        1955        1956        1957        1958        1959        1960Columns 1,961 through 1,9701961        1962        1963        1964        1965        1966        1967        1968        1969        1970Columns 1,971 through 1,9801971        1972        1973        1974        1975        1976        1977        1978        1979        1980Columns 1,981 through 1,9901981        1982        1983        1984        1985        1986        1987        1988        1989        1990Columns 1,991 through 2,0001991        1992        1993        1994        1995        1996        1997        1998        1999        2000Columns 2,001 through 2,0102001        2002        2003        2004        2005        2006        2007        2008        2009        2010Columns 2,011 through 2,0202011        2012        2013        2014        2015        2016        2017        2018        2019        2020Columns 2,021 through 2,0302021        2022        2023        2024        2025        2026        2027        2028        2029        2030Columns 2,031 through 2,0402031        2032        2033        2034        2035        2036        2037        2038        2039        2040Columns 2,041 through 2,0482041        2042        2043        2044        2045        2046        2047        2048>>         hplot(k) = plot3(vvx(n12),vvy(n12),vvz(n12),'.', ...'color',hdiag.color(mod(k-1,7)+1,:));
>> 'color',hdiag.color(mod(k-1,7)+1,:))'color',hdiag.color(mod(k-1,7)+1,:))↑
Error: Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched
delimiters.>>         hplot(k) = plot3(vvx(n12),vvy(n12),vvz(n12),'.', ...'color',hdiag.color(mod(k-1,7)+1,:));
>>          hplot(k) = plot3(vvx(n12),vvy(n12),vvz(n12),'.', 'color',hdiag.color(mod(k-1,7)+1,:));
>> hplot(k) = plot3(vvx(n12),vvy(n12),vvz(n12),'.', 'color',hdiag.color(mod(k-1,7)+1,:))hplot = Line with properties:Color: [0 0 0.8000]LineStyle: 'none'LineWidth: 0.5000Marker: '.'MarkerSize: 6MarkerFaceColor: 'none'XData: [1×2048 double]YData: [1×2048 double]ZData: [1×2048 double]Show all properties>> hplot(k) = plot3(vvx(n12),vvy(n12),vvz(n12),'.', 'color',hdiag.color(mod(k-1,7)+1,:))hplot = Line with properties:Color: [0 0 0.8000]LineStyle: 'none'LineWidth: 0.5000Marker: '.'MarkerSize: 6MarkerFaceColor: 'none'XData: [1×2048 double]YData: [1×2048 double]ZData: [1×2048 double]Show all properties>>          try;set(hplot(k),'DisplayName',sprintf('Sp. %d',k));catch;end;
>> try;set(hplot(k),'DisplayName',sprintf('Sp. %d',k));catch;end
>> set(hplot(k),'DisplayName',sprintf('Sp. %d',k))
>> printf('Sp. %d',k)
Check for missing argument or incorrect argument data type in call to function 'printf'.>> k=1k =1>> printf('Sp. %d',k)
Check for missing argument or incorrect argument data type in call to function 'printf'.>> formatSpec = 'The array is %dx%d.';
A1 = 2;
A2 = 3;
str = sprintf(formatSpec,A1,A2)str ='The array is 2x3.'>> sprintf('Sp. %d',k)ans ='Sp. 1'>> set(hplot(k),'DisplayName',sprintf('Sp. %d',k))
>> set('DisplayName',sprintf('Sp. %d',k))
Error using set
Invalid handle>> X2 = prm.X2;
by0 = prm.by0;
ex = field.ex; ey = field.ey; ez = field.ez;
by = field.by; bz = field.bz;
>> 

[MATLAB调试笔记]Field plot (Ex,Ey,Ez,By,Bz)相关推荐

  1. [MATLAB调试笔记]Update the electric field in one step

    function [field] = efield(field,prm) % Update the electric field in one stepnxp1 = prm.nxp1; nxp2 = ...

  2. [MATLAB调试笔记]Update magnetic field in one step

    function [field] = bfield(field,prm)% Update magnetic field in one stepX2 = prm.X2;f = field; % refe ...

  3. [MATLAB调试笔记]phase space plot

    function hdiag = plotphs(hdiag, n, jdiag,particle, prm,ren) % % phase space plot % n:速度对应的第n个分量 %npt ...

  4. [MATLAB调试笔记]Possion方程求网格点电场强度

    function poisson(field, prm)% Calculate Ex from Poisson equationf = field; % reference to the Field ...

  5. [MATLAB调试笔记]时变循环诊断——[Vx(x)],[Vx(t),Vy(t),Vz(t)],[Ex(x)],[波];[Eng(t)],[Ex(k)],[Ex(x,t)],[logEx(x.t)]

    静电诊断结果 电磁诊断结果 function kempo1main%*************伪随机数************%rng('default');rng(1);global flag_ex ...

  6. 台湾国立大学郭彦甫Matlab教程笔记(12) advanced 2D plot 下

    台湾国立大学郭彦甫Matlab教程笔记(12) advanced 2D plot 下 上文记录的是关于统计的图标的绘制 下面我们来到另一个模块:颜色 fill()填充函数 功能:某一个封闭曲线,图上特 ...

  7. B站台湾大学郭彦甫|MATLAB 学习笔记|06 高阶绘图 Advanced Plot

    MATLAB学习笔记(06 高阶绘图 Advanced Plot) 如果想获得更好浏览体验的朋友可以转到下面链接 06 1. 对数图 (Logarithm Plots) x = logspace(-1 ...

  8. MATLAB学习笔记(二)

    MATLAB学习笔记(二) 一.矩阵运算 矩阵分析 向量和矩阵的范数运算 矩阵的秩 矩阵的化零矩阵 矩阵的化简rref()函数 线性方程组 超定线性方程组求解 矩阵分解 1.对称正定矩阵的Choles ...

  9. 【自学】零基础MATLAB入门笔记

    [自学]零基础MATLAB入门笔记 (一) 第一章 MATLAB的新建工程和基本操作与处理 文章目录 [自学]零基础MATLAB入门笔记 (一) 前言 一.MATLAB简介 二.软件下载 三.新建工程 ...

最新文章

  1. 图解八大排序算法——我见过的最详细的讲解(转)
  2. 实现php实现价格的排序,PHP实现二维数组排序(按照数组中的某个字段)
  3. Linux 基础知识(十)DNS服务器主从复制,子域授权
  4. wcf系列---- binding的使用(1)
  5. C++中出现一排金字塔符号_看懂施工图中的钢筋标注,真没你想的那么难
  6. JS中this关键字
  7. 斑马Zebra驱动下载
  8. Android之Http网络编程(四)
  9. SQLServer中的死锁的介绍
  10. checked jq 添加_jquery动态添加复选框.attr(“checked”,true)不起作用
  11. 【蓝桥杯嵌入式】【STM32】10_InputCaputer之输入捕获
  12. c++11 常用语法
  13. centos下将普通命令设置为全局
  14. 计算机没有网络设备器,设备管理器里没有网络适配器的解决方法 - 系统家园
  15. 2022年华为杯研究生数学建模竞赛ABCDEF题思路资料汇总贴
  16. diabetes影响因子2017_2017年度影响因子看点和预测(MedSci出品)
  17. 五、BD09(百度坐标系)
  18. java字符串hash算法_Java常用HASH算法总结【经典实例】
  19. 掌握“盘带技术”——比较磁盘存储和磁带存储
  20. 关于使用pop()的用法

热门文章

  1. 谈论linux同组多用户操作问题
  2. 大四 PHP《上传文件》
  3. Android 自定义Button按钮显示样式(正常、按下、获取焦点)
  4. MacBook Pro新版上市
  5. 遍历groupBox控件的每一个子控件的写法
  6. asp.net C# 实现上传Excel文件导入数据到SQL Server 数据库
  7. nyoj7街区最短路径问题
  8. NYOJ 330 一个简单的数学题
  9. CountDownLatch 初识
  10. MAPREDUCE的实战案例