function hdiag = plotphs(hdiag, n, jdiag,particle, prm,ren)
%
% phase space plot
% n:速度对应的第n个分量
%npt = prm.npt; %总的粒子数
cs = prm.cs;
vx = particle.vx; vy = particle.vy; vz = particle.vz;
x = particle.x;%ren.x=prm.dx %网格边长dx=1%ren.t=prm.dt/2 %半个步长 %ren.v=ren.x/ren.t
switch ncase 1vv = vx*ren.v; %?case 2vv = vy*ren.v;case 3vv = vz*ren.v;
end
xx = x*ren.x;%?if jdiag == 1hold onmksize = 4+ceil(32/sqrt(npt)); if prm.icolorn2 = 0;color = get(gca,'ColorOrder');for k = 1:prm.nsn1 = n2+1;n2 = n2+prm.np(k);n1n2 = n1:n2;hplot(k) = plot(xx(n1n2),vv(n1n2),'k.', ...'color',color(mod(k-1,7)+1,:), ...'MarkerSize',mksize);try set(hplot(k),'DisplayName',sprintf('Sp. %d',k));catch;endendelsehplot = plot(xx,vv,'k.','MarkerSize',mksize);end%if prm.iparam% CVh = plot([0,prm.nx*ren.x],[prm.cv*ren.v,prm.cv*ren.v] ,'k:');try set(h,'DisplayName','CV');catch;endh = plot([0,prm.nx*ren.x],-[prm.cv*ren.v,prm.cv*ren.v],'k:');try set(h,'DisplayName','CV');catch;end% VDif n == 1for l = 1:prm.nsux = prm.vd(l)*cos(prm.pch(l)/180*pi);g = prm.cv/sqrt(cs + prm.vd(l)^2);vv = ux*g;h = plot([0,prm.nx*ren.x],[vv*ren.v,vv*ren.v],'k-.');try set(h,'DisplayName',sprintf('VD(%d)',l));catch;end endendendhold offm = prm.vmax*ren.v;axis([0 prm.nx*ren.x -m m]);xlabel('X');str={'Vx','Vy','Vz'};ylabel(str(n))hdiag.plt(hdiag.nplt).hplot = hplot;%?elsehplot = hdiag.plt(hdiag.nplt).hplot;if prm.icolorn1 = 0;n2 = 0;for k = 1:prm.nsn1 = n2+1;n2 = n2+prm.np(k);n12 = n1:n2;set(hplot(k),'xdata',xx(n12),'ydata',vv(n12));endelseset(hplot,'xdata',xx,'ydata',vv);endendend
0.15300.27940.16630.3270-0.49240.17390.58140.83350.13970.93900.2942-0.41340.00170.6317-0.3626-0.4770-0.20790.0747-0.0869-0.0548-0.34730.67850.1190-0.46250.8084-0.12010.1988-0.2658-0.24040.44400.65340.43610.09270.2130-0.26380.7574-0.1999-0.15230.08930.1279-0.84860.7450-0.4306-0.68250.2055-0.0760-0.45100.4169-0.24130.1357-0.20450.20370.03020.16510.77210.23040.38470.5522-0.3431-0.0731-0.34760.0847-0.09101.45590.12110.4327-0.62610.60980.27840.03350.15390.4886-0.03770.07670.1082-0.2962-0.7883-0.7773-0.4294-0.0893-0.09670.0803-0.23970.1185-0.21400.0166-0.0788-0.20840.9179-0.1027-0.45420.3556-0.1650-0.0594-0.48410.6323-0.63990.4466-0.2245-1.0789-0.6994-0.0933-0.10620.03210.16540.00100.76310.40190.1152-0.2533-0.2445-0.6828-0.1416-0.5185-0.06630.2152-0.1038-0.09680.3219-0.0696-0.2836-0.25830.6447-0.6800-0.7139-0.4132-0.2849-0.02160.1641-0.0083-0.0127-0.05840.0969-0.1040-0.28500.43290.2229-0.2592-0.4658-0.25850.16400.11200.3494-0.1222-0.0058-0.2455-0.1250-0.49090.4986-0.4600-0.82480.21640.39420.3349-0.23950.0814-1.3187-0.29700.06510.37170.3459-0.26610.0423-0.2460-0.41860.06750.61540.6890-0.59900.04930.0863-0.45200.06530.1923-0.0170-0.7041-0.4355-0.3909-0.2111-0.20500.0078-1.06090.41510.0104-0.4298-0.27280.5554-0.5857-0.19780.2748-0.5958-0.0242-0.2122-0.1398-0.0934-0.34191.10430.0465-0.3780-0.01090.1492-0.0701-0.5027-0.11540.15391.2313-0.18520.3157-0.5421-0.1709-0.3339-0.39350.2558-0.55740.12210.4822-0.67280.0482-0.61911.5414-0.27610.62200.0570-0.4618-0.5218-0.5649-0.26280.26760.3316-0.27480.0023-0.12390.5684-0.06470.4867-0.33490.4728-0.0432-0.36520.1380-0.10600.2922-0.0121-0.01060.3011-0.38850.1984-0.05170.0196-0.1855-0.32440.22090.29050.22190.22940.1294-0.06770.71760.3986-0.32100.1605-0.2478-0.3027-0.22140.47350.08310.43110.34530.69930.64100.3408-0.09660.0145-0.6915-0.4948-0.30380.4431-0.80060.30890.5311-0.3809-0.5564-0.39220.0948-0.18870.2971-0.24270.0887-0.2222-0.0532-0.3005-0.03150.50650.6739-0.9934-0.2435-0.22860.17610.27950.34800.10280.22610.8468-0.20450.1520-0.8471-0.8160-0.19161.00250.57540.23821.2554-0.0321-0.76470.0379-0.35840.20490.3155-0.3884-0.28720.1882-0.16690.10880.6032-0.1372-0.4266-0.0042-0.0623-0.0541-0.1017-0.87900.13570.31970.44470.31130.2543-0.17620.3291-0.0645-0.32510.5995-0.1431-0.7835-0.0025-0.26190.17540.09280.29250.2263-0.0308-0.5413-0.2589-0.06560.2536-0.2367-0.1544-0.47150.40780.1747-0.42320.4362-0.57640.2194-1.05340.6557-0.2615-0.1000-0.60750.1788-0.63510.09030.58190.0652-0.70920.17820.0116-0.1480-0.0989-0.8558-0.0101-0.2560-0.0370-0.52350.5574-0.29310.01670.0995-0.10280.09220.0049-0.11280.42640.22610.23000.2731-0.39610.11440.0983-0.6616-0.6846-0.04790.0882-0.20640.2663-0.6963-0.18060.0937-0.04530.3024-0.0703-0.0004-0.19360.03990.3206-0.35070.01480.04460.1249-1.1274-0.8603-0.6077-0.1331-0.1602-0.0933-0.4489-0.4381-0.15250.77870.3344-0.2714-0.33180.21690.9813-0.30500.0951-0.0487-0.23930.06460.31080.08240.5046-0.39050.83160.0689-0.0708-0.00330.61130.19280.40100.5512-0.37330.1134-0.3160-0.0522-0.30300.9388-0.3274-0.27510.5633-0.08720.15391.29900.1731-0.31770.35570.2958-0.0176-0.6824-0.32630.1639-0.39730.48430.0194-0.5077-0.01070.32990.56820.79600.0074-0.2611-0.29300.6359-0.40200.2131-0.12330.2464-0.0735-0.5819-0.47390.4104-0.4468-0.1487-0.5897-0.26880.09180.00130.0024-1.0506-0.09350.30990.4100-0.3750-0.17490.1021-0.0788-0.4219-0.2924-0.6650-0.06970.46301.10180.14680.5652-0.5037-0.5011-0.10220.04770.17270.2132-0.59750.15450.1543-0.06850.17490.1869-0.2797-0.27410.3293-0.15600.13310.1250-0.41570.3259-0.2194-0.39880.14480.05660.13610.11550.1106-0.7014-0.1980-0.2032-0.4389-0.61860.31210.07740.13490.52980.47660.4534-0.0565-0.50650.4734-0.72540.22840.3340-0.18010.38060.15340.0199-0.4623-0.72210.3957-0.2923-0.0861-0.66310.30740.3677-0.08840.3892-0.36270.0986-0.2222-0.5691-0.17380.7300-0.03020.05140.0605-0.26470.51370.44150.7162-0.7676-0.7840-0.2310-0.0564-0.1376-0.3098-0.12590.87290.21940.4356-0.5112-0.20940.5893-0.11010.2535-0.0469-1.08960.4028-0.3363-0.0811-0.1752-0.44660.01700.5154-0.2036-0.2603-0.47250.0940-0.48430.5615-0.1281-0.07430.07870.2562-0.1098-0.1908-0.08710.0165-1.0955-0.8386-0.05730.4955-0.8279-0.47090.10220.4277-0.5118-0.7605-0.0794-0.33040.25680.05510.23980.46000.28950.7534-0.18980.27360.10340.4485-0.4759-0.0161-0.76110.49910.80520.1487-0.37830.13240.2969-0.3539-0.2796-0.7062-0.6215-0.3003-0.5151-0.0718-0.03020.0642-0.17170.6971-0.2896-0.81860.0501-0.8928-0.15440.07020.3230-0.23700.3910-0.0374-0.96980.02840.7623-0.2579-0.1315-0.0159-0.1083-0.1861-0.1441-0.5183-0.1769-0.5888-0.4041-0.74000.00250.0142-0.55200.34380.0021-0.0459-0.30430.19120.0614-0.22850.30850.2191-0.2140-0.41121.1368-0.75180.60620.06180.0954-0.4630-0.1782-0.37840.1191-0.60780.06060.18660.3752-0.1003-0.30960.4715-0.03530.37870.5434-0.3306-0.37400.1876-0.45120.50150.07550.5680-0.2564-0.2455-0.28240.5807-0.00370.45230.3508-0.17850.50060.24230.4654-0.0874-1.41480.0405-0.35230.13430.33860.19120.56200.25470.0111-0.0632-0.0940-0.00930.1231-0.0561-0.0984-0.19240.1875-0.0132-0.24061.1830-0.3711-0.4883-0.25090.41550.22780.27820.50800.22970.91971.0119-0.1590-0.4856-0.4053-0.11640.25590.5079-0.46670.3184-0.34030.3462-1.0461-0.4932-0.04630.49040.08100.22250.5559-0.39460.0016-0.5609-0.5273-0.1399-0.4053-0.0484-0.1903-0.32090.4483-0.6863-0.00790.4096-0.0539-0.1647-0.20340.3765-0.37800.05070.5008-0.68100.1120-0.56250.3024-0.31460.44310.54500.01610.0863-0.29550.1409-0.10170.23920.4756-0.3365-0.47650.1287-0.3730-0.4438-0.69180.07630.18280.08390.1833-0.2707-0.0883-0.95610.41121.4742-0.0368-1.1604-0.9411-0.63330.5888-0.81430.20980.0240-0.38360.1614-0.32960.0390-0.0031-0.39580.00280.28670.5798-0.0626-0.2728-0.1573-0.1680-0.62600.16440.33140.50920.36250.44660.01550.18120.42980.7029-0.26370.48820.71710.14810.1424-0.33980.2829-0.34640.6290-0.47720.45370.9396-0.1426-0.22880.0507-0.03100.2623-0.31330.4788-0.0731-0.47750.0794-0.2780-0.1970-0.18840.11860.20580.3635-0.13180.0152-0.1591-0.02830.1202-0.00090.22980.52740.0332-0.0555-0.2107-0.7921-0.26430.3434-0.79320.41480.03650.0173-0.00620.14990.24900.1099-0.18450.2992-0.0451-0.23950.1675-0.73460.10740.47500.0157-0.02330.0479-0.2759-0.02070.10380.14410.47640.41980.85770.06200.04810.06210.55030.2853-0.9003-0.67180.3447-0.0870-0.4257-0.03990.1932-0.5528-0.1748-0.51050.26920.54000.1625-0.32420.3517-0.50560.5741-0.8270-0.5926-0.10520.36650.05830.41470.15470.6082-0.09000.6219-0.46610.04000.17080.15360.01600.0376-0.23390.2927-0.0012-0.21640.15200.31990.3012-0.17080.33060.02251.07760.01100.30520.1243-1.0870-0.4429-0.5854-0.06510.09500.2798-0.6460-0.22900.4826-0.4754-0.2220-0.1203-0.1930-0.3653-0.0315-0.4803-0.42230.58060.03450.04260.59640.20610.19420.84060.1093-0.44880.02500.74190.41520.0193-0.33100.7012-0.10700.3236-0.1136-0.24420.0330-0.0313-0.08870.00230.05580.0607-0.76740.46420.23220.27990.52110.62640.8207-1.1053-1.1693-0.06500.12600.7037-0.6799-0.0115-0.01530.23260.79600.16990.07520.1509-0.23720.3003-0.2236-0.4332-0.2497-0.3581-0.48430.07390.02940.1687-0.21310.2135-0.24010.47680.09800.21710.60550.23310.29450.10500.0811-0.3492-0.2819-0.41920.20880.3367-0.7762-0.36960.3645-0.3984-0.13440.25110.5125-0.02660.0370-0.1906-0.0536-0.0869-0.44120.10280.45110.47070.8209-0.08380.0536-0.63540.19280.11630.2226-0.7817-0.39660.1995-0.6120-0.36970.1957-0.47630.2125-0.0029-0.3909-0.4755-0.17570.17450.6544-0.4334-0.4238-0.6859-0.34750.62030.4670-0.56090.56410.41500.45280.07170.38140.13930.1438-0.43750.3124-0.6411-0.15250.25880.00890.57610.17060.01880.4647-0.3267-1.06650.41920.57720.0481-0.2908-0.7892-0.8119-0.24350.06960.76840.82820.1858-0.29960.2167-0.23750.20450.2230-0.60990.07030.2770-0.1110-0.29220.07420.38651.30140.07520.1499-0.0723-0.1484-0.1161-0.41790.11350.9516-0.2657-1.03170.4109-0.5916-0.3247-0.25070.09110.22060.6558-0.71960.0666-0.02510.1486-0.1807-0.2629-0.19350.3178-0.47490.18400.49700.62790.39930.99830.6243-0.28020.25530.46970.1661-0.67200.39070.14860.15710.12520.13510.1223-0.84220.2045-0.1468-0.1280-0.7379-0.3795-0.7441-0.2918-0.7927-0.5776-0.26210.5208-0.16690.27790.2696-0.04010.1683-0.15900.5325-0.7208-0.29810.3857-0.0295-0.46401.00980.0956-0.30470.3454-0.9092-1.07260.1589-0.1867-0.4004-0.0178-0.0548-0.2301-0.0257-0.0172-0.10440.17790.15340.3559-0.2113-0.7594-0.4508-0.08380.0943-0.22790.0941-0.60980.20550.28010.0073-0.26770.3231-0.19620.5735-0.07580.27580.7566-0.0693-0.47130.00450.19830.10930.5976-0.5285-0.0006-0.55040.0260-0.5898-0.4124-0.1630-0.02570.2161-0.44560.01570.5931-0.1056-0.74350.2519-0.29200.66740.1985-0.0628-0.3734-0.21090.20870.26920.13430.40360.0555-0.3327-0.13880.3468-0.59790.6541-0.35360.12040.26271.06710.0784-0.1858-0.4556-0.55190.0679-0.0290-0.0592-0.52390.35690.1222-0.8705-0.0635-0.21100.29080.0055-0.10870.25380.34110.56200.1905-0.4551-0.00820.3896-0.0426-0.0852-0.4520-0.23060.4145-0.93940.5428-0.1857-0.36230.5047-0.6213-0.2471-1.1740-0.1725-0.1700-0.28450.3043-0.0670-0.2574-0.2416-0.27470.5961-0.2170-0.0119-0.53790.11430.0026-0.04970.0045-0.3532-0.07630.66470.0563-0.6952-0.09321.0031-0.4146-0.44430.19810.41350.56490.22400.1974-0.5774-0.06610.6081-0.3213-0.1970-0.0621-0.69910.0267-0.45730.9831-0.1337-0.0385-0.21120.57020.06490.0992-0.85750.28581.15910.4125-0.63410.34650.0208-0.5740-0.02641.0097-0.4082-0.5560-0.75260.4574-0.34870.1918-0.3269-0.1686-0.28970.6890-0.0708-0.18740.2721-0.1059-0.2073-0.0136-0.0070-0.4976-0.66980.7303-0.56250.5472-0.3085-0.1505-0.20630.6079-0.4063-0.83750.29980.3242-0.02420.3722-0.2799-0.3414-0.36120.59220.1216-0.2455-0.46310.9619-0.50370.0074-0.41470.1451-0.78300.46020.48390.2323-0.2254-1.1177-0.2206-0.4357-0.6893-0.0950-0.2778-0.09390.9303-0.60750.42230.3759-0.0932-0.0661-0.3728-0.11470.24460.1023-1.15990.0331-0.1375-0.35550.1410-0.24780.5564-0.2035-0.4912-0.34500.34080.2787-0.11510.0978-0.0106-0.71770.3558-0.2205-0.5301-0.74570.24750.51060.52510.02940.62470.28540.4105-0.46980.5620-0.9322-0.66080.8420-0.2361-0.47470.2764-0.39450.92210.12680.55090.2237-0.6403-0.3387-0.01010.04030.2451-0.0664-0.44180.0970-0.6725-0.00450.09100.0821-0.52610.38900.1055-0.05470.2478-0.8446-0.18930.3419-0.7315-0.1092-0.0086-0.20940.8834-0.23170.1909-1.19560.1679-0.70780.27910.4946-0.0094-0.3578-0.3012-0.05050.2679-0.41120.26670.82810.61500.79230.1923-0.04780.47980.0346-0.4598-0.86660.19470.6450-0.61890.33920.34280.24790.6386-0.6796-0.0267-0.1472-0.0681-0.2628-0.27290.20780.1293-0.5405-0.5547-0.24290.5494-0.58680.45470.14650.56810.0597-0.1184-0.27990.14390.25470.26800.9610-0.8611-0.0438-0.34870.08100.0482-0.21950.4937-0.45190.28970.33860.5785-0.1096-0.00610.6224-0.26730.38660.26510.0437-0.2447-0.5121-0.3864-0.2238-0.0904-0.00540.26510.66151.03270.01050.9339-0.10610.14740.13090.2006-0.2890-0.21370.0843-0.2119-0.1329-0.56960.0686-1.22140.8196-0.1663-0.0312-0.5064-0.1826-0.31560.52170.57920.2845-0.45790.5793-0.3463-0.0533-0.2079-0.6213-0.01220.0757>> k=1k =1>> plot(xx(n1n2),vv(n1n2),'k.', ...'color',color(mod(k-1,7)+1,:), ...'MarkerSize',mksize);
Unrecognized function or variable 'n1n2'.>> n1n2 = n1:n2n1n2 =Columns 1 through 70 1 2 3 4 5 6Columns 8 through 147 8 9 10 11 12 13Columns 15 through 2114 15 16 17 18 19 20Columns 22 through 2821 22 23 24 25 26 27Columns 29 through 3528 29 30 31 32 33 34Columns 36 through 4235 36 37 38 39 40 41Columns 43 through 4942 43 44 45 46 47 48Columns 50 through 5649 50 51 52 53 54 55Columns 57 through 6356 57 58 59 60 61 62Columns 64 through 7063 64 65 66 67 68 69Columns 71 through 7770 71 72 73 74 75 76Columns 78 through 8477 78 79 80 81 82 83Columns 85 through 9184 85 86 87 88 89 90Columns 92 through 9891 92 93 94 95 96 97Columns 99 through 10598 99 100 101 102 103 104Columns 106 through 112105 106 107 108 109 110 111Columns 113 through 119112 113 114 115 116 117 118Columns 120 through 126119 120 121 122 123 124 125Columns 127 through 133126 127 128 129 130 131 132Columns 134 through 140133 134 135 136 137 138 139Columns 141 through 147140 141 142 143 144 145 146Columns 148 through 154147 148 149 150 151 152 153Columns 155 through 161154 155 156 157 158 159 160Columns 162 through 168161 162 163 164 165 166 167Columns 169 through 175168 169 170 171 172 173 174Columns 176 through 182175 176 177 178 179 180 181Columns 183 through 189182 183 184 185 186 187 188Columns 190 through 196189 190 191 192 193 194 195Columns 197 through 203196 197 198 199 200 201 202Columns 204 through 210203 204 205 206 207 208 209Columns 211 through 217210 211 212 213 214 215 216Columns 218 through 224217 218 219 220 221 222 223Columns 225 through 231224 225 226 227 228 229 230Columns 232 through 238231 232 233 234 235 236 237Columns 239 through 245238 239 240 241 242 243 244Columns 246 through 252245 246 247 248 249 250 251Columns 253 through 259252 253 254 255 256 257 258Columns 260 through 266259 260 261 262 263 264 265Columns 267 through 273266 267 268 269 270 271 272Columns 274 through 280273 274 275 276 277 278 279Columns 281 through 287280 281 282 283 284 285 286Columns 288 through 294287 288 289 290 291 292 293Columns 295 through 301294 295 296 297 298 299 300Columns 302 through 308301 302 303 304 305 306 307Columns 309 through 315308 309 310 311 312 313 314Columns 316 through 322315 316 317 318 319 320 321Columns 323 through 329322 323 324 325 326 327 328Columns 330 through 336329 330 331 332 333 334 335Columns 337 through 343336 337 338 339 340 341 342Columns 344 through 350343 344 345 346 347 348 349Columns 351 through 357350 351 352 353 354 355 356Columns 358 through 364357 358 359 360 361 362 363Columns 365 through 371364 365 366 367 368 369 370Columns 372 through 378371 372 373 374 375 376 377Columns 379 through 385378 379 380 381 382 383 384Columns 386 through 392385 386 387 388 389 390 391Columns 393 through 399392 393 394 395 396 397 398Columns 400 through 406399 400 401 402 403 404 405Columns 407 through 413406 407 408 409 410 411 412Columns 414 through 420413 414 415 416 417 418 419Columns 421 through 427420 421 422 423 424 425 426Columns 428 through 434427 428 429 430 431 432 433Columns 435 through 441434 435 436 437 438 439 440Columns 442 through 448441 442 443 444 445 446 447Columns 449 through 455448 449 450 451 452 453 454Columns 456 through 462455 456 457 458 459 460 461Columns 463 through 469462 463 464 465 466 467 468Columns 470 through 476469 470 471 472 473 474 475Columns 477 through 483476 477 478 479 480 481 482Columns 484 through 490483 484 485 486 487 488 489Columns 491 through 497490 491 492 493 494 495 496Columns 498 through 504497 498 499 500 501 502 503Columns 505 through 511504 505 506 507 508 509 510Columns 512 through 518511 512 513 514 515 516 517Columns 519 through 525518 519 520 521 522 523 524Columns 526 through 532525 526 527 528 529 530 531Columns 533 through 539532 533 534 535 536 537 538Columns 540 through 546539 540 541 542 543 544 545Columns 547 through 553546 547 548 549 550 551 552Columns 554 through 560553 554 555 556 557 558 559Columns 561 through 567560 561 562 563 564 565 566Columns 568 through 574567 568 569 570 571 572 573Columns 575 through 581574 575 576 577 578 579 580Columns 582 through 588581 582 583 584 585 586 587Columns 589 through 595588 589 590 591 592 593 594Columns 596 through 602595 596 597 598 599 600 601Columns 603 through 609602 603 604 605 606 607 608Columns 610 through 616609 610 611 612 613 614 615Columns 617 through 623616 617 618 619 620 621 622Columns 624 through 630623 624 625 626 627 628 629Columns 631 through 637630 631 632 633 634 635 636Columns 638 through 644637 638 639 640 641 642 643Columns 645 through 651644 645 646 647 648 649 650Columns 652 through 658651 652 653 654 655 656 657Columns 659 through 665658 659 660 661 662 663 664Columns 666 through 672665 666 667 668 669 670 671Columns 673 through 679672 673 674 675 676 677 678Columns 680 through 686679 680 681 682 683 684 685Columns 687 through 693686 687 688 689 690 691 692Columns 694 through 700693 694 695 696 697 698 699Columns 701 through 707700 701 702 703 704 705 706Columns 708 through 714707 708 709 710 711 712 713Columns 715 through 721714 715 716 717 718 719 720Columns 722 through 728721 722 723 724 725 726 727Columns 729 through 735728 729 730 731 732 733 734Columns 736 through 742735 736 737 738 739 740 741Columns 743 through 749742 743 744 745 746 747 748Columns 750 through 756749 750 751 752 753 754 755Columns 757 through 763756 757 758 759 760 761 762Columns 764 through 770763 764 765 766 767 768 769Columns 771 through 777770 771 772 773 774 775 776Columns 778 through 784777 778 779 780 781 782 783Columns 785 through 791784 785 786 787 788 789 790Columns 792 through 798791 792 793 794 795 796 797Columns 799 through 805798 799 800 801 802 803 804Columns 806 through 812805 806 807 808 809 810 811Columns 813 through 819812 813 814 815 816 817 818Columns 820 through 826819 820 821 822 823 824 825Columns 827 through 833826 827 828 829 830 831 832Columns 834 through 840833 834 835 836 837 838 839Columns 841 through 847840 841 842 843 844 845 846Columns 848 through 854847 848 849 850 851 852 853Columns 855 through 861854 855 856 857 858 859 860Columns 862 through 868861 862 863 864 865 866 867Columns 869 through 875868 869 870 871 872 873 874Columns 876 through 882875 876 877 878 879 880 881Columns 883 through 889882 883 884 885 886 887 888Columns 890 through 896889 890 891 892 893 894 895Columns 897 through 903896 897 898 899 900 901 902Columns 904 through 910903 904 905 906 907 908 909Columns 911 through 917910 911 912 913 914 915 916Columns 918 through 924917 918 919 920 921 922 923Columns 925 through 931924 925 926 927 928 929 930Columns 932 through 938931 932 933 934 935 936 937Columns 939 through 945938 939 940 941 942 943 944Columns 946 through 952945 946 947 948 949 950 951Columns 953 through 959952 953 954 955 956 957 958Columns 960 through 966959 960 961 962 963 964 965Columns 967 through 973966 967 968 969 970 971 972Columns 974 through 980973 974 975 976 977 978 979Columns 981 through 987980 981 982 983 984 985 986Columns 988 through 994987 988 989 990 991 992 993Columns 995 through 1,001994 995 996 997 998 999 1000Columns 1,002 through 1,0081001 1002 1003 1004 1005 1006 1007Columns 1,009 through 1,0151008 1009 1010 1011 1012 1013 1014Columns 1,016 through 1,0221015 1016 1017 1018 1019 1020 1021Columns 1,023 through 1,0291022 1023 1024 1025 1026 1027 1028Columns 1,030 through 1,0361029 1030 1031 1032 1033 1034 1035Columns 1,037 through 1,0431036 1037 1038 1039 1040 1041 1042Columns 1,044 through 1,0501043 1044 1045 1046 1047 1048 1049Columns 1,051 through 1,0571050 1051 1052 1053 1054 1055 1056Columns 1,058 through 1,0641057 1058 1059 1060 1061 1062 1063Columns 1,065 through 1,0711064 1065 1066 1067 1068 1069 1070Columns 1,072 through 1,0781071 1072 1073 1074 1075 1076 1077Columns 1,079 through 1,0851078 1079 1080 1081 1082 1083 1084Columns 1,086 through 1,0921085 1086 1087 1088 1089 1090 1091Columns 1,093 through 1,0991092 1093 1094 1095 1096 1097 1098Columns 1,100 through 1,1061099 1100 1101 1102 1103 1104 1105Columns 1,107 through 1,1131106 1107 1108 1109 1110 1111 1112Columns 1,114 through 1,1201113 1114 1115 1116 1117 1118 1119Columns 1,121 through 1,1271120 1121 1122 1123 1124 1125 1126Columns 1,128 through 1,1341127 1128 1129 1130 1131 1132 1133Columns 1,135 through 1,1411134 1135 1136 1137 1138 1139 1140Columns 1,142 through 1,1481141 1142 1143 1144 1145 1146 1147Columns 1,149 through 1,1551148 1149 1150 1151 1152 1153 1154Columns 1,156 through 1,1621155 1156 1157 1158 1159 1160 1161Columns 1,163 through 1,1691162 1163 1164 1165 1166 1167 1168Columns 1,170 through 1,1761169 1170 1171 1172 1173 1174 1175Columns 1,177 through 1,1831176 1177 1178 1179 1180 1181 1182Columns 1,184 through 1,1901183 1184 1185 1186 1187 1188 1189Columns 1,191 through 1,1971190 1191 1192 1193 1194 1195 1196Columns 1,198 through 1,2041197 1198 1199 1200 1201 1202 1203Columns 1,205 through 1,2111204 1205 1206 1207 1208 1209 1210Columns 1,212 through 1,2181211 1212 1213 1214 1215 1216 1217Columns 1,219 through 1,2251218 1219 1220 1221 1222 1223 1224Columns 1,226 through 1,2321225 1226 1227 1228 1229 1230 1231Columns 1,233 through 1,2391232 1233 1234 1235 1236 1237 1238Columns 1,240 through 1,2461239 1240 1241 1242 1243 1244 1245Columns 1,247 through 1,2531246 1247 1248 1249 1250 1251 1252Columns 1,254 through 1,2601253 1254 1255 1256 1257 1258 1259Columns 1,261 through 1,2671260 1261 1262 1263 1264 1265 1266Columns 1,268 through 1,2741267 1268 1269 1270 1271 1272 1273Columns 1,275 through 1,2811274 1275 1276 1277 1278 1279 1280Columns 1,282 through 1,2881281 1282 1283 1284 1285 1286 1287Columns 1,289 through 1,2951288 1289 1290 1291 1292 1293 1294Columns 1,296 through 1,3021295 1296 1297 1298 1299 1300 1301Columns 1,303 through 1,3091302 1303 1304 1305 1306 1307 1308Columns 1,310 through 1,3161309 1310 1311 1312 1313 1314 1315Columns 1,317 through 1,3231316 1317 1318 1319 1320 1321 1322Columns 1,324 through 1,3301323 1324 1325 1326 1327 1328 1329Columns 1,331 through 1,3371330 1331 1332 1333 1334 1335 1336Columns 1,338 through 1,3441337 1338 1339 1340 1341 1342 1343Columns 1,345 through 1,3511344 1345 1346 1347 1348 1349 1350Columns 1,352 through 1,3581351 1352 1353 1354 1355 1356 1357Columns 1,359 through 1,3651358 1359 1360 1361 1362 1363 1364Columns 1,366 through 1,3721365 1366 1367 1368 1369 1370 1371Columns 1,373 through 1,3791372 1373 1374 1375 1376 1377 1378Columns 1,380 through 1,3861379 1380 1381 1382 1383 1384 1385Columns 1,387 through 1,3931386 1387 1388 1389 1390 1391 1392Columns 1,394 through 1,4001393 1394 1395 1396 1397 1398 1399Columns 1,401 through 1,4071400 1401 1402 1403 1404 1405 1406Columns 1,408 through 1,4141407 1408 1409 1410 1411 1412 1413Columns 1,415 through 1,4211414 1415 1416 1417 1418 1419 1420Columns 1,422 through 1,4281421 1422 1423 1424 1425 1426 1427Columns 1,429 through 1,4351428 1429 1430 1431 1432 1433 1434Columns 1,436 through 1,4421435 1436 1437 1438 1439 1440 1441Columns 1,443 through 1,4491442 1443 1444 1445 1446 1447 1448Columns 1,450 through 1,4561449 1450 1451 1452 1453 1454 1455Columns 1,457 through 1,4631456 1457 1458 1459 1460 1461 1462Columns 1,464 through 1,4701463 1464 1465 1466 1467 1468 1469Columns 1,471 through 1,4771470 1471 1472 1473 1474 1475 1476Columns 1,478 through 1,4841477 1478 1479 1480 1481 1482 1483Columns 1,485 through 1,4911484 1485 1486 1487 1488 1489 1490Columns 1,492 through 1,4981491 1492 1493 1494 1495 1496 1497Columns 1,499 through 1,5051498 1499 1500 1501 1502 1503 1504Columns 1,506 through 1,5121505 1506 1507 1508 1509 1510 1511Columns 1,513 through 1,5191512 1513 1514 1515 1516 1517 1518Columns 1,520 through 1,5261519 1520 1521 1522 1523 1524 1525Columns 1,527 through 1,5331526 1527 1528 1529 1530 1531 1532Columns 1,534 through 1,5401533 1534 1535 1536 1537 1538 1539Columns 1,541 through 1,5471540 1541 1542 1543 1544 1545 1546Columns 1,548 through 1,5541547 1548 1549 1550 1551 1552 1553Columns 1,555 through 1,5611554 1555 1556 1557 1558 1559 1560Columns 1,562 through 1,5681561 1562 1563 1564 1565 1566 1567Columns 1,569 through 1,5751568 1569 1570 1571 1572 1573 1574Columns 1,576 through 1,5821575 1576 1577 1578 1579 1580 1581Columns 1,583 through 1,5891582 1583 1584 1585 1586 1587 1588Columns 1,590 through 1,5961589 1590 1591 1592 1593 1594 1595Columns 1,597 through 1,6031596 1597 1598 1599 1600 1601 1602Columns 1,604 through 1,6101603 1604 1605 1606 1607 1608 1609Columns 1,611 through 1,6171610 1611 1612 1613 1614 1615 1616Columns 1,618 through 1,6241617 1618 1619 1620 1621 1622 1623Columns 1,625 through 1,6311624 1625 1626 1627 1628 1629 1630Columns 1,632 through 1,6381631 1632 1633 1634 1635 1636 1637Columns 1,639 through 1,6451638 1639 1640 1641 1642 1643 1644Columns 1,646 through 1,6521645 1646 1647 1648 1649 1650 1651Columns 1,653 through 1,6591652 1653 1654 1655 1656 1657 1658Columns 1,660 through 1,6661659 1660 1661 1662 1663 1664 1665Columns 1,667 through 1,6731666 1667 1668 1669 1670 1671 1672Columns 1,674 through 1,6801673 1674 1675 1676 1677 1678 1679Columns 1,681 through 1,6871680 1681 1682 1683 1684 1685 1686Columns 1,688 through 1,6941687 1688 1689 1690 1691 1692 1693Columns 1,695 through 1,7011694 1695 1696 1697 1698 1699 1700Columns 1,702 through 1,7081701 1702 1703 1704 1705 1706 1707Columns 1,709 through 1,7151708 1709 1710 1711 1712 1713 1714Columns 1,716 through 1,7221715 1716 1717 1718 1719 1720 1721Columns 1,723 through 1,7291722 1723 1724 1725 1726 1727 1728Columns 1,730 through 1,7361729 1730 1731 1732 1733 1734 1735Columns 1,737 through 1,7431736 1737 1738 1739 1740 1741 1742Columns 1,744 through 1,7501743 1744 1745 1746 1747 1748 1749Columns 1,751 through 1,7571750 1751 1752 1753 1754 1755 1756Columns 1,758 through 1,7641757 1758 1759 1760 1761 1762 1763Columns 1,765 through 1,7711764 1765 1766 1767 1768 1769 1770Columns 1,772 through 1,7781771 1772 1773 1774 1775 1776 1777Columns 1,779 through 1,7851778 1779 1780 1781 1782 1783 1784Columns 1,786 through 1,7921785 1786 1787 1788 1789 1790 1791Columns 1,793 through 1,7991792 1793 1794 1795 1796 1797 1798Columns 1,800 through 1,8061799 1800 1801 1802 1803 1804 1805Columns 1,807 through 1,8131806 1807 1808 1809 1810 1811 1812Columns 1,814 through 1,8201813 1814 1815 1816 1817 1818 1819Columns 1,821 through 1,8271820 1821 1822 1823 1824 1825 1826Columns 1,828 through 1,8341827 1828 1829 1830 1831 1832 1833Columns 1,835 through 1,8411834 1835 1836 1837 1838 1839 1840Columns 1,842 through 1,8481841 1842 1843 1844 1845 1846 1847Columns 1,849 through 1,8551848 1849 1850 1851 1852 1853 1854Columns 1,856 through 1,8621855 1856 1857 1858 1859 1860 1861Columns 1,863 through 1,8691862 1863 1864 1865 1866 1867 1868Columns 1,870 through 1,8761869 1870 1871 1872 1873 1874 1875Columns 1,877 through 1,8831876 1877 1878 1879 1880 1881 1882Columns 1,884 through 1,8901883 1884 1885 1886 1887 1888 1889Columns 1,891 through 1,8971890 1891 1892 1893 1894 1895 1896Columns 1,898 through 1,9041897 1898 1899 1900 1901 1902 1903Columns 1,905 through 1,9111904 1905 1906 1907 1908 1909 1910Columns 1,912 through 1,9181911 1912 1913 1914 1915 1916 1917Columns 1,919 through 1,9251918 1919 1920 1921 1922 1923 1924Columns 1,926 through 1,9321925 1926 1927 1928 1929 1930 1931Columns 1,933 through 1,9391932 1933 1934 1935 1936 1937 1938Columns 1,940 through 1,9461939 1940 1941 1942 1943 1944 1945Columns 1,947 through 1,9531946 1947 1948 1949 1950 1951 1952Columns 1,954 through 1,9601953 1954 1955 1956 1957 1958 1959Columns 1,961 through 1,9671960 1961 1962 1963 1964 1965 1966Columns 1,968 through 1,9741967 1968 1969 1970 1971 1972 1973Columns 1,975 through 1,9811974 1975 1976 1977 1978 1979 1980Columns 1,982 through 1,9881981 1982 1983 1984 1985 1986 1987Columns 1,989 through 1,9951988 1989 1990 1991 1992 1993 1994Columns 1,996 through 2,0021995 1996 1997 1998 1999 2000 2001Columns 2,003 through 2,0092002 2003 2004 2005 2006 2007 2008Columns 2,010 through 2,0162009 2010 2011 2012 2013 2014 2015Columns 2,017 through 2,0232016 2017 2018 2019 2020 2021 2022Columns 2,024 through 2,0302023 2024 2025 2026 2027 2028 2029Columns 2,031 through 2,0372030 2031 2032 2033 2034 2035 2036Columns 2,038 through 2,0442037 2038 2039 2040 2041 2042 2043Columns 2,045 through 2,0492044 2045 2046 2047 2048>> plot(xx(n1n2),vv(n1n2),'k.', ...'color',color(mod(k-1,7)+1,:), ...'MarkerSize',mksize)
Unrecognized function or variable 'xx'.>> xx = x*ren.x
Unrecognized function or variable 'x'.>> xx = particle.x*ren.xxx =0.07230.11950.19260.25870.30430.37880.42900.49750.55970.63140.69330.74110.81980.86470.94100.99801.06311.11751.17711.25301.30781.37621.44131.50121.56261.62741.69251.74171.81781.86171.94022.00242.06822.13892.18322.24052.30392.37172.44192.50532.55792.61962.68842.73232.81652.85902.93323.00523.06543.12763.18823.24673.30113.38153.42163.50373.56153.62473.68633.75223.80903.87243.93944.00304.06454.12254.19084.24324.32784.36994.43854.50094.55834.63864.67714.75354.80844.87634.93615.00065.06305.12225.18335.26045.30835.38265.43205.50915.55325.65295.68235.74125.81725.88865.94645.98976.06386.12546.17236.24316.29666.38436.44726.48546.54186.62196.69916.75236.81296.88866.94037.00287.05617.11767.17817.24307.30367.37547.44177.47757.57327.64107.68377.73537.80507.87147.93748.00128.04628.12318.19258.24978.32028.36878.42968.49848.56968.62558.69468.74418.81988.88058.94249.00699.05119.11739.18129.24369.31899.37289.43089.49809.55959.62869.68549.75469.81119.86999.92929.995110.076710.128410.180410.256210.321310.379710.445710.501810.571910.610510.682710.750810.818910.885910.930911.011311.070911.128811.195511.250211.317111.379211.434211.489911.578011.622211.678111.745611.814311.881311.934411.997312.066512.119212.185912.247012.325412.373612.441812.508812.556912.632312.685212.752312.803912.854812.927113.011113.062713.130113.202613.248413.319213.379813.440213.504213.574713.625713.685713.761613.826013.859013.917214.013014.062414.114614.202314.238914.312614.375014.448714.491114.565414.615014.688414.758414.806314.883414.931715.005015.057015.116815.181115.267015.315115.379115.434115.497615.559115.628115.701215.756515.804615.866215.943016.015016.061216.138216.194416.251716.323616.364616.442116.499816.568216.612816.680316.759216.815516.875616.933017.001017.057217.129117.177117.250917.310917.369017.429617.505217.566517.629217.695617.746417.819317.870717.943617.999018.071518.139818.189018.267218.303818.377618.440818.503218.576418.620718.690218.743118.816918.885118.946418.987119.054219.128119.185819.250019.308719.386319.442519.521819.568019.616819.665819.746619.823319.886119.932420.009620.064720.116220.200420.251020.302720.362320.433720.501220.565820.638120.692020.723020.814320.860120.939521.012521.070921.124721.199421.266621.311321.375521.434521.513521.556121.635421.706121.745921.828221.881521.939621.984122.072422.133922.181122.240522.305522.378922.435122.490622.556822.624922.682022.739322.803722.867422.945423.002023.062423.119423.180623.239823.326723.378123.428223.502823.552923.630623.695623.753323.822223.875123.947823.985724.063524.127824.192824.245724.309124.378924.433624.489224.561724.636524.680224.743024.804524.889724.949125.001325.062725.138725.174525.255625.314025.387425.433025.495425.565625.630625.690825.756525.802725.878525.949126.016726.065326.143826.193426.241726.312526.387626.430226.490526.558326.626526.685826.748926.805626.888626.939926.990827.078727.122627.191527.244727.307727.383927.450627.508727.564427.629327.682227.765127.808527.872027.939328.002628.045528.139928.178928.236428.316628.373528.428528.508328.557728.627728.683428.754128.813128.878328.952929.004629.070229.136029.180629.248529.305529.376729.435729.529129.564929.633729.675029.762229.818129.875729.940630.009830.061730.126530.189730.244130.296730.359530.428930.498230.560630.626630.682730.752430.808230.875330.935930.995831.080931.122931.178431.257131.309231.373831.427831.512631.549731.633931.683031.728431.798531.873131.935432.000632.065832.125032.202832.258032.314832.369932.432632.486332.559732.614632.686232.754332.810432.873132.943932.998633.056833.119833.200433.236433.298233.366733.431833.499633.565833.624833.687233.748833.814433.872933.931834.008734.067034.119834.178234.244834.315834.377234.444534.497634.562434.620134.685034.740234.822534.865834.921035.004335.070435.131735.182735.251635.286135.369135.438835.507435.569435.619735.688335.745135.804135.876435.949836.013836.050536.126036.189236.241036.313836.378836.437236.485936.553836.617236.683336.745936.812736.853836.945837.000237.053937.119537.198637.238337.308537.380537.425637.499537.558337.622237.685637.743237.834637.875937.929937.999838.065538.123638.177438.247738.315638.399638.433838.506338.551738.621638.680838.742138.817638.863938.939939.009639.049039.126039.175139.280839.307039.387439.438639.490839.552139.613739.682239.755439.819139.869539.937539.997540.073940.123740.197240.243340.322040.374140.430240.502840.560440.630840.687340.749840.818540.867240.941540.999041.062941.121341.181041.254441.318341.379441.442141.502641.561141.639441.695541.743641.815741.870041.931441.995642.072042.126742.196142.256942.326542.387842.444342.498142.562842.611242.677642.743942.821442.859042.943743.010643.054943.113943.179743.251943.308743.380943.432643.501843.558143.623943.681543.749443.822643.888543.917643.995144.057944.128544.193144.257044.314644.379544.454444.495944.565544.608144.671244.746244.832544.886544.942345.025145.061945.109745.188345.242845.316645.381345.429745.494345.566345.621745.689745.762145.809845.866545.937445.998846.061446.123046.169946.252746.318946.383946.443746.505146.559046.631646.686246.743546.824546.872146.921847.000047.057347.128547.189447.255947.317047.374447.426747.494847.561247.630147.682847.746947.803147.883247.941047.991548.071248.113548.191948.228948.325648.369848.435548.487848.566148.612348.689348.761648.813848.860848.941149.000249.059549.123049.170449.249849.307449.374349.427049.511149.556649.625349.689549.747949.814349.875149.935250.008550.067050.129650.193050.242150.314850.377050.424350.486350.561550.626850.683450.755350.798650.871450.939450.999151.068551.123651.187551.246151.313351.381451.430551.500351.563451.627551.665051.732851.800351.872351.934351.998152.053552.116252.184552.265652.319252.369652.430952.504352.582152.618952.689452.749052.807752.876352.943753.001653.072653.117253.204153.251453.311153.374953.449753.503953.570553.636053.680053.752353.806253.874053.931454.018854.056054.119554.198854.248354.315654.401054.441054.493654.569654.630954.687154.736454.806054.878354.929655.009755.062955.114855.187355.256655.323955.390955.437655.494855.556655.637755.679555.754355.810055.879955.936055.988456.053056.133256.178656.247056.300756.369656.439356.500056.562556.604056.685656.756256.820756.867556.934057.002057.060957.116657.181757.236757.311157.384357.459557.502957.573857.614957.677557.748057.813557.878557.941857.988058.065658.128158.186158.253558.316258.369458.432058.506658.559458.627758.690058.741758.819058.870658.929559.002959.063659.127759.189859.252259.298559.371059.433459.491259.550159.631259.689059.752759.823159.884559.946659.998960.052460.134560.173060.254660.319260.371460.445160.503160.562960.615860.673160.757960.806760.873360.924261.006161.069961.123261.195361.242761.314561.370661.426161.496561.577161.624461.688561.751261.807261.885361.946362.014362.047162.109362.182962.248962.309762.368862.435062.517562.566962.633762.677362.745862.824362.872862.942662.999163.040763.133163.180863.248463.309063.366163.437863.510363.558463.619863.678063.751963.802863.886263.934963.998564.064164.130164.185364.246264.310864.375364.415664.483264.561464.634964.670964.740664.814564.883664.927364.984865.060965.118465.192665.251165.317365.384265.443365.515165.558765.630565.689665.759065.803065.874765.922366.010066.078666.128066.179966.252666.318466.367966.431966.485966.550166.619066.677266.748666.811966.876366.934167.013967.056767.108667.188567.232167.309467.376467.444067.495367.570367.624367.668167.750667.827767.869867.934967.999768.060368.121368.184668.239668.309068.363268.429468.485268.562568.625368.676568.756968.812568.874168.931469.003869.063769.120469.193769.254469.308269.366869.460269.485069.574669.626269.689469.740769.808969.867469.939969.987870.063770.128770.195070.248070.306370.384470.436870.507670.573470.618470.680070.753870.803570.885070.939071.011471.057471.120171.181971.261671.312471.384071.444571.496471.572571.629871.696871.748371.784271.875871.930572.002772.069372.128872.198772.255172.312772.373772.435672.499872.565072.623972.685572.746272.816272.874772.932773.023773.055173.115273.182573.258373.317173.380673.447773.504673.580973.645273.684373.740373.804473.872773.942674.010274.053274.131474.180774.256974.291674.365174.436674.509874.564174.629474.698674.742174.812574.863874.927074.997275.054475.124075.183775.243675.321575.361375.437375.508275.561475.621775.683475.757575.804975.876075.947575.986476.064776.113776.193576.243776.321476.385976.437876.501776.556676.627876.685576.754876.822076.868376.928077.002677.055077.116177.173777.251577.316277.376777.441277.494677.560777.605977.695777.779577.811877.851877.918777.987378.074378.108778.191778.250578.304878.378278.430978.500878.562478.617178.687678.755778.824178.873778.932078.996979.059179.112579.190879.256679.322779.382279.446479.500379.566179.633679.701679.744779.822379.889379.940580.002880.055780.130780.180680.262680.303080.384180.456380.497180.557980.626080.686980.755280.806280.884680.936080.990581.064181.119481.183681.246281.314981.379181.444881.497481.562881.621881.686981.752481.812581.879681.948082.000782.061482.120882.171782.244782.319482.359182.445882.500782.562882.624982.690582.755082.814782.871382.943582.999183.057783.128483.172883.252183.322083.375383.437083.501083.557083.624683.689683.752983.822083.883483.954784.001284.063584.126284.198584.255784.294584.361684.444484.498384.554084.624284.691484.738984.809084.864884.942985.010885.065885.118585.194585.239985.324085.358585.425685.497985.569885.626285.695885.753185.824785.873285.949985.990786.063386.128486.190686.250386.313386.370386.443486.500086.558286.628086.693986.756086.809186.881686.937987.021687.062787.131187.190087.228387.303687.363387.436287.501987.568187.612187.682987.759787.803087.870687.935187.996188.055288.124488.177988.241688.324188.375788.438488.511988.566688.628988.704388.752288.803588.875588.952389.008389.062989.118489.201589.247989.319089.372789.432689.500789.561989.623289.687589.751189.813789.859789.946890.004690.068190.135490.200090.266490.290490.351690.436290.502590.576690.611490.687390.749790.817290.890990.940991.001591.065591.120391.193591.245591.303891.370091.430391.490391.564091.625691.690991.745791.816891.870291.947092.002092.066892.137192.192292.255992.314692.376692.430592.494492.554192.629292.694292.734592.805192.882392.929592.997393.067593.135293.187093.250793.308793.373993.435893.491293.564693.634093.696993.766493.810893.876193.924894.003994.064894.129594.171994.242194.316594.362894.430194.503994.553094.629294.687494.742294.803094.871594.941095.013195.053895.116595.173895.243095.324995.384395.426395.511395.570895.634195.688995.757695.815395.877995.928896.006296.049796.122096.192796.250296.324096.378496.437996.509396.556096.603796.695996.761596.813596.869296.921796.983897.057697.126497.202997.266697.316297.369097.441897.495397.566697.629597.675397.751497.818097.872897.931798.001598.070298.151098.189098.253098.311198.372098.435298.491698.564898.644098.682298.729498.820798.863298.931098.995099.064399.129499.200699.235699.313899.374599.440599.496499.557299.621199.693999.740599.816299.884999.9501100.0080100.0825100.1375100.1819100.2551100.3219100.3783100.4241100.5078100.5655100.6281100.6900100.7527100.8149100.8582100.9416100.9971101.0599101.1102101.1799101.2351101.3067101.3591101.4259101.4948101.5729101.6217101.6931101.7554101.8117101.8784101.9343102.0107102.0481102.1190102.1952102.2494102.3032102.3952102.4394102.4939102.5694102.6068102.6660102.7532102.8088102.8670102.9371102.9989103.0579103.1245103.1872103.2479103.3161103.3781103.4446103.4958103.5473103.6160103.6858103.7519103.8079103.8769103.9253104.0041104.0681104.1251104.1821104.2565104.3086104.3865104.4360104.5055104.5776104.6236104.6781104.7501104.8165104.8772104.9495104.9894105.0625105.1140105.1880105.2382105.3043105.3717105.4370105.5043105.5536105.6253105.6994105.7479105.7976105.8800105.9317106.0133106.0665106.1237106.1800106.2458106.3167106.3804106.4402106.5081106.5636106.6183106.6847106.7569106.8005106.8881106.9304107.0024107.0678107.1463107.1891107.2463107.3034107.3640107.4389107.4994107.5613107.6145107.6946107.7524107.7951107.8737107.9333108.0058108.0626108.1228108.1926108.2568108.3237108.3788108.4284108.4998108.5703108.6241108.6858108.7410108.8079108.8833108.9187109.0109109.0588109.1178109.1976109.2376109.3076109.3515109.4340109.4966109.5568109.6311109.6862109.7449109.8077109.8695109.9494109.9957110.0623110.1142110.1898110.2501110.3115110.3751110.4304110.4985110.5758110.6261110.6736110.7481110.8326110.8667110.9286111.0040111.0708111.1363111.1920111.2539111.3010111.3737111.4497111.4936111.5586111.6238111.6735111.7505111.8034111.8947111.9348111.9992112.0583112.1364112.1888112.2520112.2954112.3807112.4607112.5083112.5498112.6319112.6879112.7385112.8120112.8952112.9293112.9889113.0474113.1341113.1805113.2538113.3060113.3716113.4317113.5138113.5611113.6213113.6929113.7479113.8084113.8747113.9374113.9900114.0491114.1396114.1763114.2609114.3063114.3720114.4334114.5122114.5544114.6083114.6935114.7565114.8120114.8824114.9319114.9932115.0553115.1368115.1899115.2451115.3032115.3942115.4274115.5001115.5542115.6279115.6718115.7592115.8222115.8796115.9330115.9776116.0581116.1163116.1737116.2481116.3069116.3731116.4561116.4879116.5709116.6325116.6856116.7487116.8050116.8727116.9424117.0020117.0393117.1257117.1847117.2429117.3153117.3700117.4486117.4959117.5527117.6181117.6943117.7556117.8102117.8770117.9373117.9856118.0696118.1206118.1769118.2351118.3174118.3852118.4480118.5006118.5750118.6307118.6957118.7406118.8237118.8564118.9243119.0168119.0578119.1155119.1930119.2421119.3309119.3775119.4485119.5045119.5497119.6182119.6873119.7508119.8174119.8737119.9287120.0019120.0491120.1249120.1893120.2516120.3020120.3828120.4396120.4989120.5675120.6081120.6837120.7568120.7979120.8728120.9373120.9958121.0802121.1204121.1913121.2261121.3159121.3608121.4431121.5099121.5623121.6178121.6815121.7490121.8179121.8668121.9428122.0166122.0748122.1408122.1913122.2490122.3221122.3757122.4283122.4827122.5664122.6379122.6751122.7568122.8194122.8800122.9503122.9864123.0620123.1221123.1861123.2447123.3070123.3792123.4401123.4892123.5514123.6201123.6985123.7383123.8216123.8779123.9489124.0012124.0601124.1194124.1904124.2551124.3179124.3942124.4203124.4991124.5555124.6266124.6885124.7456124.8224124.8660124.9433125.0068125.0741125.1228125.1874125.2624125.3072125.3827125.4428125.5009125.5576125.6148125.6798125.7455125.8107125.8749125.9428126.0132126.0832126.1252126.2062126.2479126.3154126.3776126.4415126.4942126.5582126.6267126.6833126.7473126.8011126.8764126.9131127.0164127.0592127.1244127.1774127.2463127.3062127.3854127.4491127.5057127.5533127.6366127.6806127.7489127.8083127.8626127.93730.0015>> plot(xx(n1n2),vv(n1n2),'k.', ...'color',color(mod(k-1,7)+1,:), ...'MarkerSize',mksize)
Array indices must be positive integers or logical values.>> plot(xx(n1n2),vv(n1n2))
Array indices must be positive integers or logical values.>> plot(xx,vv)
>> hplot(k)=plot(xx,vv)hplot = Line with properties:Color: [0 0 0.8000]LineStyle: '-'LineWidth: 0.5000Marker: 'none'MarkerSize: 6MarkerFaceColor: 'none'XData: [1×2048 double]YData: [1×2048 double]ZData: [1×0 double]Show all properties>> try set(hplot(k),'DisplayName',sprintf('Sp. %d',k));catch;end
Unrecognized function or variable 'pauseplot'.Error while evaluating Figure KeyPressFcn.>> try set(hplot(k),'DisplayName',sprintf('Sp. %d',k));catch;end
>> max(xx)ans =127.9373>> max(particle.x)ans =127.9373>> prm.nx*ren.xans =128>> [0,prm.nx*ren.x]ans =0 128>> [prm.cv*ren.v,prm.cv*ren.v]ans =20 20>> plot([0,prm.nx*ren.x],[prm.cv*ren.v,prm.cv*ren.v] ,'k:')
Unrecognized function or variable 'exitplot'.Error using closereq (line 18)
Error while evaluating Figure DeleteFcn.>> plot([0,prm.nx*ren.x],-[prm.cv*ren.v,prm.cv*ren.v]plot([0,prm.nx*ren.x],-[prm.cv*ren.v,prm.cv*ren.v]↑
Error: Invalid expression. When calling a function or indexing a variable, use parentheses.
Otherwise, check for mismatched delimiters.Did you mean:
>> plot([0,prm.nx*ren.x],-[prm.cv*ren.v,prm.cv*ren.v])
>> prm.vdans =0>> cos(prm.pch(l)/180*pi)
Unrecognized function or variable 'l'.>> cos(prm.pch(1)/180*pi)ans =1>> ux = prm.vd(1)*cos(prm.pch(1)/180*pi)ux =0>> g = prm.cv/sqrt(cs + prm.vd(1)^2)g =1>> vv = ux*gvv =0>> plot([0,prm.nx*ren.x],[vv*ren.v,vv*ren.v],'k-.')
>> prm.vmaxans =0.4000>> m = prm.vmax*ren.vm =20>>