How to plot array of array in Matlab?
Afficher commentaires plus anciens
% define 4 clusters of input data
q = .6; % offset of classes
MinF = [-22496,-8.26E+06,-6.89E+06,-1.27E+04,-3.83E+06,-6.21E+03,-1.91E+04,-5.43E+06,-1.83E+08,-1.07E+07,-2.04E+06,-1.61E+06,-4.18E+03,-5.46E+04,-1.20E+04,-1.69E+06,-1.52E+06,-4.45E+06,-160.1708,-2.69E+05];
MaxF = [6691100,7.71E+07,2.38E+07,1.09E+07,3.01E+07,6.78E+06,9.25E+06,4.53E+07,7.93E+08,8.20E+07,1.75E+07,7.14E+06,3.7E+06,4.59E+06,5.35E+06,1.12E+07,5.75E+06,1.66E+07,7.49E+06,6.84E+06];
MeanF = [828970,1.03E+06,6.35E+05,1.26E+06,2.46E+05,1.15E+06,7.77E+05,3.10E+05,3.99E+04,7.35E+05,1.05E+06,5.47E+03,2.29E+05,2.67E+05,4.42E+05,104.3286,1.43E+04,2.25E+03,8.14E+05,1.98E+05];
ModeF = [ -11512,-7.66E+06,-3.60E+06,21.5236,-1.47E+06,31.1767,15.0923,-4.76E+06,-1.55E+08,-9.76E+06,-6.53E+05,-5.73E+05,-196.4225,-6.97E+03,-19.2766,-1.69E+06,-6.34E+05,-4.37E+06,3.8054,-2.25E+05];
MedianF = [38730,2.40E+04,1.68E+04,5.94E+04,5.27E+03,5.43E+04,3.58E+04,4.16E+03,-173.6592,1.28E+04,4.42E+04,65.926,1.10E+04,1.22E+04,2.10E+04,-4.6173,181.4447,14.0023,3.86E+04,7.61E+03];
SDF = [1075700,4.08E+06,1.60E+06,1.67E+06,1.04E+06,1.50E+06,1.03E+06,2.12E+06,4.95E+07,4.08E+06,1.65E+06,2.60E+05,3.03E+05,3.69E+05,6.01E+05,3.60E+05,2.24E+05,5.61E+05,1.06E+06,3.72E+05];
EnergyF = [3.0739E+16,2.94E+17,4.96E+16,7.31E+16,1.90E+16,5.96E+16,2.76E+16,7.63E+16,4.09E+19,2.86E+17,6.41E+16,1.13E+15,2.40E+15,3.46E+15,9.28E+15,2.16E+15,8.36E+14,5.24E+15,2.99E+16,2.96E+15];
KurtosisF = [3.0564,98.3212,27.0484,3.0813,224.7402,2.5502,4.2435,136.1081,44.8507,120.4989,11.6232,229.5502,7.2913,10.7292,5.1942,335.1922,160.7618,225.619,3.1614,63.2598];
SkewnessF = [ 1.06E+00,7.1117,2.9265,1.0845,9.8464,0.9893,1.1927,8.2853,3.236,7.8995,2.2294,9.2234,1.4518,1.7727,1.3942,12.5916,6.7224,8.252,1.0776,5.1184];
EntropyF = [2.38E-01,0.6655,0.6225,0.2324,0.7002,0.183,0.1177,0.8727,0.9998,0.7897,0.2874,0.9837,0.1579,0.2606,0.1007,1.0771,0.9335,1.0476,0.081,0.3976];
VarianceF = [1.16E+12,1.66E+13,2.57E+12,2.79E+12,1.08E+12,2.25E+12,1.05E+12,4.48E+12,2.45E+15,1.66E+13,2.73E+12,6.77E+10,9.17E+10,1.36E+11,3.61E+11,1.29E+11,5.00E+10,3.15E+11,1.13E+12,1.38E+11];
ZCRF = [0.0096,0.0142,0.0178,0.0113,0.0334,0.0115,0.0122,0.018,0.0197,0.0185,0.0144,0.0324,0.011,0.0115,0.0101,0.0367,0.0511,0.0598,0.0091,0.0168];
MeanPowerF = [1.84E+12,1.77E+13,2.97E+12,4.39E+12,1.14E+12,3.57E+12,1.66E+12,4.58E+12,2.45E+15,1.72E+13,3.84E+12,6.77E+10,1.44E+11,2.08E+11,5.57E+11,1.29E+11,5.02E+10,3.15E+11,1.79E+12,1.78E+11];
SNRF = [77.0616,25.1808,39.6347,75.4989,23.624,76.9057,75.6888,14.6296,0.0806,18.0102,63.8396,2.102,75.5651,72.3147,73.532,0.029,6.4155,0.4016,76.5357,53.3039];
CoVF = [129.7663,397.1273,252.3045,132.4522,423.2985,130.0295,132.1199,683.5468,1.24E+05,555.2425,156.6425,4.76E+03,132.3362,138.2845,135.9952,3.45E+05,1.56E+03,2.49E+04,130.658,187.6036];
A = [MinF, MaxF, MeanF, ModeF, MedianF, SDF, EnergyF, KurtosisF, SkewnessF, EntropyF, VarianceF, ZCRF, MeanPowerF, SNRF, CoVF];
% plot clusters
figure(1)
plot(A(1,:),A(2,:),....
A(15,:),'k+')
I am using this code but it does not create any plot for my data. rather displays an Error: ??? Index exceeds matrix dimensions.
Please help me to solve this problem.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Neuroimaging dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!