How to display a 150x150x150 matrix?

58 views (last 30 days)
Prince
Prince on 8 Apr 2024 at 20:05
Commented: Star Strider on 8 Apr 2024 at 21:48
1. How do I display the numbers in this 150x150x150 matrix?
2. How do I find the frequencies of each pixel in this 150x150x150 matrix?
3. How do I create a histogram using the frequencies?
  2 Comments
Steven Lord
Steven Lord on 8 Apr 2024 at 21:38
What are you hoping to do with or what insights are you hoping to gain from showing all
150^3
ans = 3375000
3.375 million elements in this array?
Prince
Prince on 8 Apr 2024 at 21:44
I will like to know the frequencies of the individual numbers in the array and use that to draw a histogram

Sign in to comment.

Accepted Answer

Star Strider
Star Strider on 8 Apr 2024 at 20:45
There are too many to plot here, so I only plot every 10 (of 150).
Try this —
Uz = unzip('microint0.mat.zip');
LD = load(Uz{:});
fn = fieldnames(LD);
C = struct2cell(LD);
for k = 1:numel(C)
ttl = fn{k};
M = C{k};
[Mu,~,ix] = unique(M);
Tally = accumarray(ix, 1);
T{k} = table(table(Mu,Tally, 'VariableNames',{'Number','Count'}), 'VariableNames',{ttl});
end
NumberOfResults = numel(T)
NumberOfResults = 150
T{1}
ans = 384x1 table
Expression1 _______________ Number Count ______ _____ 12 35 21 98 44 56 50 33 76 64 115 37 118 33 141 55 147 208 177 175 181 19 197 21 207 77 217 38 230 80 247 64
T{end}
ans = 376x1 table
Expression150 _______________ Number Count ______ _____ 12 76 21 80 44 21 50 23 76 74 115 43 118 31 141 44 147 229 177 204 181 46 197 8 207 62 217 50 230 79 247 59
figure
tiledlayout(5,3)
for k = 1:10:numel(C)
nexttile
bar(T{k}{:,1}.Number, T{k}{:,1}.Count)
grid
xlabel('Number')
ylabel('Count')
title(T{k}.Properties.VariableNames)
end
The results are in each table ‘T’, and the histogram plots are plotted separrately in the second loop (only 15 here or they wouldn’t be legible).
.
  2 Comments
Prince
Prince on 8 Apr 2024 at 21:03
So how do I display all the expressions by one commmand?
Star Strider
Star Strider on 8 Apr 2024 at 21:48
You can put everything in one loop —
Uz = unzip('microint0.mat.zip');
LD = load(Uz{:});
fn = fieldnames(LD);
C = struct2cell(LD);
figure
tiledlayout(30, 5) % Using 'tiledlayout'
for k = 1:numel(C)
ttl = fn{k}; % Create Tables
M = C{k};
[Mu,~,ix] = unique(M);
Tally = accumarray(ix, 1);
T{k} = table(table(Mu,Tally, 'VariableNames',{'Number','Count'}), 'VariableNames',{ttl});
nexttile % Plot Histograms
bar(T{k}{:,1}.Number, T{k}{:,1}.Count)
grid
xlabel('Number')
ylabel('Count')
title(T{k}.Properties.VariableNames)
end
NumberOfResults = numel(T)
NumberOfResults = 150
for k = 1:numel(C) % Displaying & Plotting Everything Individually
ttl = fn{k}; % Create Tables
M = C{k};
[Mu,~,ix] = unique(M);
Tally = accumarray(ix, 1);
T{k} = table(table(Mu,Tally, 'VariableNames',{'Number','Count'}), 'VariableNames',{ttl});
T{k}
figure % Plot Histograms
bar(T{k}{:,1}.Number, T{k}{:,1}.Count)
grid
xlabel('Number')
ylabel('Count')
title(T{k}.Properties.VariableNames)
end
ans = 384x1 table
Expression1 _______________ Number Count ______ _____ 12 35 21 98 44 56 50 33 76 64 115 37 118 33 141 55 147 208 177 175 181 19 197 21 207 77 217 38 230 80 247 64
ans = 398x1 table
Expression2 _______________ Number Count ______ _____ 12 1 21 111 44 75 50 41 76 53 115 26 118 34 141 62 147 184 177 135 181 4 183 6 197 33 198 1 207 89 210 25
ans = 391x1 table
Expression3 _______________ Number Count ______ _____ 21 104 44 89 50 46 76 38 115 8 118 27 141 57 147 160 177 85 183 23 197 47 198 36 207 91 210 41 217 27 230 74
ans = 397x1 table
Expression4 _______________ Number Count ______ _____ 21 86 44 100 50 44 76 23 118 15 141 49 147 142 177 41 183 42 197 62 198 61 207 91 210 45 217 16 230 66 235 8
ans = 394x1 table
Expression5 _______________ Number Count ______ _____ 15 1 21 61 44 100 50 34 76 13 117 30 118 5 127 4 141 38 147 87 177 6 183 54 197 88 198 80 206 12 207 87
ans = 383x1 table
Expression6 _______________ Number Count ______ _____ 15 13 21 48 44 96 50 21 76 2 95 22 117 52 127 11 141 22 147 52 183 70 197 121 198 93 206 24 207 78 210 58
ans = 386x1 table
Expression7 _______________ Number Count ______ _____ 15 30 21 33 44 86 50 6 89 5 95 49 117 63 127 27 141 7 147 26 183 75 197 152 198 99 202 1 203 2 206 29
ans = 397x1 table
Expression8 _______________ Number Count ______ _____ 15 52 21 20 44 76 47 5 89 29 95 74 117 70 127 40 183 72 197 157 198 101 202 6 203 10 206 23 207 28 210 55
ans = 393x1 table
Expression9 _______________ Number Count ______ _____ 15 74 21 7 35 19 44 66 47 25 89 69 95 95 117 75 127 49 183 27 197 156 198 87 202 21 203 19 206 18 207 5
ans = 390x1 table
Expression10 _______________ Number Count ______ _____ 15 98 21 1 35 49 44 55 47 40 89 132 95 113 117 75 127 58 183 2 197 146 198 82 200 15 202 49 203 25 206 11
ans = 387x1 table
Expression11 _______________ Number Count ______ _____ 15 117 35 87 44 45 47 54 89 168 95 120 117 73 127 65 197 134 198 72 200 41 202 74 203 24 210 46 216 22 266 67
ans = 393x1 table
Expression12 _______________ Number Count ______ _____ 15 136 35 120 44 32 47 57 89 175 95 122 103 7 117 47 127 74 197 110 198 61 200 68 202 84 203 20 210 36 216 19
ans = 397x1 table
Expression13 _______________ Number Count ______ _____ 15 152 35 150 44 19 47 45 89 178 95 114 103 27 117 2 127 79 197 73 198 33 200 87 202 107 203 9 210 39 216 4
ans = 403x1 table
Expression14 _______________ Number Count ______ _____ 15 156 35 171 44 6 47 31 89 181 95 102 103 43 127 84 134 3 197 53 200 92 202 117 210 32 255 40 266 27 273 21
ans = 399x1 table
Expression15 _______________ Number Count ______ _____ 13 6 15 164 27 8 35 177 47 13 74 11 89 179 95 92 103 46 127 86 134 17 197 35 200 94 202 149 210 34 255 43
ans = 403x1 table
Expression16 _______________ Number Count ______ _____ 13 24 15 163 27 22 35 170 47 2 74 60 89 170 95 77 103 41 127 71 134 33 185 5 197 22 200 92 202 139 210 26
ans = 403x1 table
Expression17 _______________ Number Count ______ _____ 13 48 15 130 27 35 35 159 67 1 74 81 89 148 95 66 103 21 127 32 134 42 154 6 185 31 197 1 200 78 202 121
ans = 384x1 table
Expression18 _______________ Number Count ______ _____ 13 57 15 110 27 42 35 139 67 21 74 79 77 16 89 134 95 55 127 1 134 52 154 13 185 55 200 56 202 90 210 8
ans = 392x1 table
Expression19 _______________ Number Count ______ _____ 13 54 15 81 19 2 27 50 35 113 67 23 74 73 77 37 89 115 95 43 134 58 154 30 185 72 200 29 202 70 210 4
ans = 411x1 table
Expression20 _______________ Number Count ______ _____ 13 51 15 48 19 13 27 52 35 70 56 6 61 4 67 24 74 59 77 52 89 94 95 31 107 5 134 55 154 43 185 74
ans = 408x1 table
Expression21 _______________ Number Count ______ _____ 13 31 15 19 19 32 27 54 35 23 56 18 61 20 67 18 74 34 77 58 89 77 93 17 95 21 101 8 107 11 134 55
ans = 409x1 table
Expression22 _______________ Number Count ______ _____ 13 13 19 59 27 52 56 27 61 42 67 12 74 1 77 48 89 52 93 44 95 10 101 36 107 24 134 38 154 59 185 75
ans = 398x1 table
Expression23 _______________ Number Count ______ _____ 16 17 19 89 27 50 56 33 61 67 77 30 89 28 93 64 95 2 101 61 107 35 134 22 154 61 160 17 185 70 202 11
ans = 405x1 table
Expression24 _______________ Number Count ______ _____ 5 7 16 40 19 124 27 37 56 29 61 78 77 16 89 10 93 85 101 81 107 60 129 8 154 56 160 37 185 46 202 1
ans = 405x1 table
Expression25 _______________ Number Count ______ _____ 5 36 16 60 19 157 56 9 61 86 66 1 77 7 93 101 101 90 107 70 129 21 135 27 154 42 160 52 185 5 195 8
ans = 413x1 table
Expression26 _______________ Number Count ______ _____ 5 74 16 65 19 186 61 93 66 17 93 110 101 92 107 75 129 36 135 36 139 1 153 8 154 24 160 63 195 20 201 25
ans = 411x1 table
Expression27 _______________ Number Count ______ _____ 5 101 16 60 19 207 42 2 61 96 66 42 68 1 93 123 101 87 107 75 129 49 135 44 139 29 153 25 154 10 160 75
ans = 414x1 table
Expression28 _______________ Number Count ______ _____ 5 103 16 52 19 207 42 9 61 87 66 72 68 14 93 131 101 66 107 73 129 59 135 49 139 59 153 45 160 79 190 32
ans = 407x1 table
Expression29 _______________ Number Count ______ _____ 5 101 16 48 19 200 42 22 61 81 66 94 68 33 70 12 93 139 101 42 107 76 129 68 135 56 139 84 153 56 160 81
ans = 419x1 table
Expression30 _______________ Number Count ______ _____ 5 98 16 34 19 186 33 9 42 37 61 67 66 106 68 49 70 30 81 18 93 140 101 4 107 75 129 92 135 62 139 96
ans = 432x1 table
Expression31 _______________ Number Count ______ _____ 5 100 16 20 19 151 33 29 41 24 42 53 49 3 61 52 66 113 68 54 70 45 81 46 93 120 107 80 129 97 135 65
ans = 440x1 table
Expression32 _______________ Number Count ______ _____ 5 90 16 8 19 102 33 53 41 41 42 69 49 30 61 28 66 117 68 55 70 61 81 68 93 62 107 67 129 100 135 65
ans = 432x1 table
Expression33 _______________ Number Count ______ _____ 5 82 16 3 19 50 33 72 41 47 42 84 49 45 61 3 66 101 68 52 70 69 81 87 93 20 107 50 129 104 135 65
ans = 418x1 table
Expression34 _______________ Number Count ______ _____ 5 68 16 1 19 12 33 81 41 34 42 88 49 55 66 87 68 45 70 61 81 90 107 31 129 109 135 62 139 129 149 96
ans = 422x1 table
Expression35 _______________ Number Count ______ _____ 5 56 33 89 41 31 42 101 49 58 66 71 68 34 70 54 81 79 107 12 129 97 135 56 139 133 149 116 153 64 176 33
ans = 415x1 table
Expression36 _______________ Number Count ______ _____ 5 22 9 12 10 2 33 92 34 21 41 16 42 94 49 58 58 4 66 55 68 15 70 35 81 53 92 2 119 2 129 77
ans = 411x1 table
Expression37 _______________ Number Count ______ _____ 5 3 9 27 10 15 23 7 33 97 34 38 42 79 49 55 58 14 66 45 70 6 81 29 92 27 119 23 129 55 135 40
ans = 421x1 table
Expression38 _______________ Number Count ______ _____ 9 41 10 31 23 20 33 105 34 52 42 65 49 22 58 23 66 33 92 64 119 51 129 26 135 24 139 100 149 143 153 35
ans = 417x1 table
Expression39 _______________ Number Count ______ _____ 2 17 9 51 10 46 23 31 33 108 34 62 42 42 51 8 52 4 58 37 66 1 92 97 110 1 119 77 135 5 139 79
ans = 402x1 table
Expression40 _______________ Number Count ______ _____ 2 62 9 52 10 53 23 43 33 99 34 72 51 24 52 15 58 35 92 108 100 1 110 17 119 97 139 51 149 110 153 1
ans = 394x1 table
Expression41 _______________ Number Count ______ _____ 2 108 6 5 9 50 10 62 23 51 33 88 34 75 51 43 52 18 58 34 92 116 100 10 110 36 119 106 139 17 149 83
ans = 397x1 table
Expression42 _______________ Number Count ______ _____ 2 131 6 27 9 25 10 64 23 53 33 86 34 78 51 63 52 28 58 25 92 129 100 26 110 46 119 107 149 56 155 45
ans = 391x1 table
Expression43 _______________ Number Count ______ _____ 2 143 6 45 10 66 23 41 33 82 34 73 51 73 52 28 58 20 92 139 100 40 110 53 119 108 149 31 155 57 174 63
ans = 391x1 table
Expression44 _______________ Number Count ______ _____ 2 153 6 54 10 61 23 24 25 43 33 85 34 57 51 81 52 31 58 11 92 129 100 58 110 60 119 103 149 13 155 60
ans = 410x1 table
Expression45 _______________ Number Count ______ _____ 2 153 6 57 10 47 23 12 25 61 33 83 34 36 51 79 52 23 58 4 80 27 92 125 100 82 110 63 112 10 119 81
ans = 410x1 table
Expression46 _______________ Number Count ______ _____ 2 157 6 48 10 23 25 80 33 81 34 16 51 72 52 13 80 44 92 106 100 95 110 46 112 31 119 55 155 53 174 100
ans = 408x1 table
Expression47 _______________ Number Count ______ _____ 2 135 6 26 10 1 25 98 33 77 51 54 52 3 80 53 92 90 100 111 110 29 112 42 119 30 155 37 174 109 182 24
ans = 400x1 table
Expression48 _______________ Number Count ______ _____ 2 98 25 113 33 61 51 30 80 48 92 69 100 111 110 1 112 35 119 14 155 17 174 104 182 32 191 58 214 161 228 111
ans = 394x1 table
Expression49 _______________ Number Count ______ _____ 2 74 25 129 33 35 51 9 59 12 80 43 87 13 92 37 100 110 112 29 119 8 155 5 157 2 174 99 182 36 191 42
ans = 406x1 table
Expression50 _______________ Number Count ______ _____ 2 45 25 143 33 15 59 19 80 40 87 21 92 5 100 95 112 14 119 2 157 14 170 3 174 90 178 21 182 47 191 28
ans = 402x1 table
Expression51 _______________ Number Count ______ _____ 2 11 14 5 25 163 59 27 80 34 87 28 100 86 112 2 157 29 161 3 170 8 174 77 178 61 182 59 191 12 214 91
ans = 382x1 table
Expression52 _______________ Number Count ______ _____ 14 9 25 153 59 27 69 20 73 12 80 25 83 1 87 35 100 64 157 41 161 26 170 8 174 59 178 86 182 79 214 64
ans = 382x1 table
Expression53 _______________ Number Count ______ _____ 14 13 25 145 30 2 59 32 69 55 73 24 80 18 83 16 87 39 100 52 157 49 161 48 170 4 174 43 178 104 182 90
ans = 390x1 table
Expression54 _______________ Number Count ______ _____ 14 16 25 133 30 22 59 26 69 78 73 34 80 3 83 44 87 34 100 31 157 52 161 65 174 27 178 125 182 94 184 47
ans = 388x1 table
Expression55 _______________ Number Count ______ _____ 14 22 25 121 30 56 59 20 69 114 73 43 83 61 87 28 99 18 100 21 157 44 161 69 164 4 174 14 178 149 182 63
ans = 390x1 table
Expression56 _______________ Number Count ______ _____ 14 30 25 101 30 88 59 2 69 145 73 38 83 81 87 19 99 33 100 9 157 32 161 69 164 35 165 10 174 2 178 170
ans = 392x1 table
Expression57 _______________ Number Count ______ _____ 14 41 25 53 30 107 69 171 73 26 83 77 87 7 99 48 157 6 161 66 164 41 165 49 178 185 182 2 184 115 186 19
ans = 383x1 table
Expression58 _______________ Number Count ______ _____ 14 49 25 29 30 118 69 184 73 13 83 44 99 58 161 66 164 50 165 72 178 181 184 116 186 13 218 11 221 185 231 17
ans = 391x1 table
Expression59 _______________ Number Count ______ _____ 14 52 25 12 30 128 69 182 73 2 75 3 83 4 99 72 161 63 164 50 165 69 178 150 184 137 186 5 218 27 221 217
ans = 383x1 table
Expression60 _______________ Number Count ______ _____ 14 63 30 131 69 168 75 13 99 79 161 57 164 53 165 62 178 78 184 133 218 53 221 235 253 29 270 67 281 41 295 136
ans = 388x1 table
Expression61 _______________ Number Count ______ _____ 14 69 30 134 69 143 75 18 99 84 161 47 164 40 165 53 178 46 184 125 218 76 221 243 222 10 253 9 270 60 281 28
ans = 395x1 table
Expression62 _______________ Number Count ______ _____ 14 70 30 131 43 10 69 107 75 19 79 9 99 80 124 21 161 36 164 32 165 38 178 4 184 95 218 91 221 222 222 23
ans = 406x1 table
Expression63 _______________ Number Count ______ _____ 14 69 30 123 43 41 69 43 75 18 79 25 99 74 124 47 156 10 161 26 164 18 165 15 184 53 218 104 221 178 222 35
ans = 406x1 table
Expression64 _______________ Number Count ______ _____ 14 62 30 118 43 59 75 15 79 39 99 59 124 68 156 27 161 17 164 9 184 9 218 100 221 127 222 47 240 7 270 32
ans = 400x1 table
Expression65 _______________ Number Count ______ _____ 14 54 30 114 43 79 75 9 79 52 99 39 124 78 156 56 161 7 218 87 221 83 222 76 240 18 270 24 295 58 299 213
ans = 392x1 table
Expression66 _______________ Number Count ______ _____ 14 34 30 109 43 89 79 61 99 5 124 83 156 86 218 79 221 47 222 96 240 22 270 16 280 9 295 38 299 186 302 13
ans = 400x1 table
Expression67 _______________ Number Count ______ _____ 14 12 20 6 30 99 43 106 79 68 124 72 145 10 156 127 218 68 221 22 222 110 240 26 270 7 280 30 295 17 297 12
ans = 403x1 table
Expression68 _______________ Number Count ______ _____ 20 53 30 88 43 121 48 1 79 71 124 63 145 27 156 146 218 61 221 5 222 114 240 18 270 2 280 56 295 3 297 36
ans = 409x1 table
Expression69 _______________ Number Count ______ _____ 20 60 30 74 43 122 48 37 79 67 124 47 145 51 156 162 218 56 222 125 240 3 280 76 297 63 299 128 323 17 327 45
ans = 402x1 table
Expression70 _______________ Number Count ______ _____ 20 64 30 60 43 95 48 68 55 12 79 64 124 21 145 77 156 165 218 40 220 12 222 110 245 25 280 75 297 85 299 107
ans = 404x1 table
Expression71 _______________ Number Count ______ _____ 20 68 30 47 43 51 48 82 55 21 79 71 124 6 145 105 156 161 218 26 220 40 222 25 245 42 262 8 280 73 297 94
ans = 410x1 table
Expression72 _______________ Number Count ______ _____ 20 74 30 36 43 10 48 74 55 36 79 56 145 127 156 151 218 13 220 69 232 16 245 51 262 25 280 76 297 93 299 57
ans = 394x1 table
Expression73 _______________ Number Count ______ _____ 20 79 30 24 48 80 55 48 79 32 145 144 156 132 173 6 218 4 220 96 232 29 245 54 262 40 280 75 297 85 299 31
ans = 394x1 table
Expression74 _______________ Number Count ______ _____ 20 84 30 12 48 81 55 68 63 1 79 19 128 5 145 140 156 108 173 26 220 107 232 43 245 52 262 58 275 2 280 75
ans = 395x1 table
Expression75 _______________ Number Count ______ _____ 20 83 29 13 30 3 48 88 55 85 63 21 79 11 116 1 128 20 145 140 156 77 168 21 173 38 220 112 232 44 242 3
ans = 393x1 table
Expression76 _______________ Number Count ______ _____ 8 3 20 79 29 27 48 81 55 92 63 36 79 1 96 5 116 8 128 31 145 124 156 49 168 34 173 48 220 102 232 38
ans = 394x1 table
Expression77 _______________ Number Count ______ _____ 8 16 20 78 29 39 48 90 55 100 63 52 88 7 96 14 116 17 128 34 145 105 156 26 168 49 173 49 220 94 232 27
ans = 402x1 table
Expression78 _______________ Number Count ______ _____ 8 33 20 75 29 50 48 91 55 105 63 60 88 32 96 28 109 8 116 32 128 40 145 63 156 9 168 63 173 46 220 88
ans = 406x1 table
Expression79 _______________ Number Count ______ _____ 8 51 20 74 29 56 48 91 55 107 63 64 88 50 96 38 109 49 116 64 128 35 145 22 168 75 171 22 173 35 220 81
ans = 404x1 table
Expression80 _______________ Number Count ______ _____ 8 89 20 66 29 56 48 69 55 98 63 62 88 61 96 46 104 7 109 77 116 109 128 20 144 23 145 3 168 83 171 37
ans = 418x1 table
Expression81 _______________ Number Count ______ _____ 8 99 20 53 29 54 48 57 55 89 63 57 85 12 88 72 96 53 104 27 109 77 114 11 116 155 144 50 168 89 171 62
ans = 416x1 table
Expression82 _______________ Number Count ______ _____ 8 110 20 41 29 44 48 38 55 70 60 32 63 47 85 71 88 78 96 56 104 51 109 75 114 36 116 179 126 1 144 78
ans = 414x1 table
Expression83 _______________ Number Count ______ _____ 8 120 20 26 29 38 48 19 55 49 60 53 63 35 85 114 88 75 96 62 98 3 104 82 109 62 114 55 116 168 126 11
ans = 404x1 table
Expression84 _______________ Number Count ______ _____ 8 133 20 7 29 20 32 17 48 2 55 26 60 78 63 22 85 119 88 65 96 66 98 13 104 98 109 46 114 86 116 155
ans = 406x1 table
Expression85 _______________ Number Count ______ _____ 8 140 22 4 29 6 32 39 55 6 60 100 63 2 85 123 88 42 96 70 98 38 104 112 109 16 114 87 116 142 126 34
ans = 387x1 table
Expression86 _______________ Number Count ______ _____ 8 143 22 24 32 64 60 120 85 125 88 24 96 74 98 78 104 124 114 85 116 128 126 48 138 21 144 140 168 47 171 153
ans = 390x1 table
Expression87 _______________ Number Count ______ _____ 8 138 22 44 32 90 60 129 85 123 88 1 96 71 98 113 104 133 114 72 116 77 126 58 138 23 144 153 168 28 171 167
ans = 372x1 table
Expression88 _______________ Number Count ______ _____ 8 131 22 56 32 106 60 123 85 122 96 69 98 121 104 129 114 63 116 29 126 61 138 35 142 1 144 160 168 12 171 163
ans = 374x1 table
Expression89 _______________ Number Count ______ _____ 8 117 11 9 22 66 32 121 60 108 85 117 96 68 98 121 104 118 114 55 116 8 126 70 138 40 142 19 144 157 171 160
ans = 380x1 table
Expression90 _______________ Number Count ______ _____ 8 105 11 22 22 63 32 129 60 96 78 10 85 114 86 14 96 60 98 110 104 92 114 49 126 65 138 50 142 21 144 124
ans = 391x1 table
Expression91 _______________ Number Count ______ _____ 8 82 11 35 22 53 32 129 60 90 78 58 85 104 86 65 96 45 98 77 104 33 114 42 126 67 138 50 142 20 144 73
ans = 392x1 table
Expression92 _______________ Number Count ______ _____ 8 51 11 54 22 48 32 132 60 61 78 82 85 83 86 104 96 24 98 54 114 33 126 49 136 7 138 47 142 11 144 19
ans = 389x1 table
Expression93 _______________ Number Count ______ _____ 8 20 11 75 22 35 32 127 53 25 60 6 78 85 85 61 86 128 90 1 96 7 98 30 114 24 126 42 136 19 138 40
ans = 379x1 table
Expression94 _______________ Number Count ______ _____ 11 99 22 18 32 120 53 49 78 87 85 25 86 134 90 18 98 14 114 15 126 30 136 45 138 38 148 52 171 31 187 111
ans = 372x1 table
Expression95 _______________ Number Count ______ _____ 11 109 32 92 53 64 78 88 85 2 86 129 90 46 98 3 114 8 126 16 136 67 138 31 148 78 171 13 187 106 192 45
ans = 360x1 table
Expression96 _______________ Number Count ______ _____ 11 114 32 66 53 77 57 1 78 92 86 130 90 73 114 2 126 8 136 99 138 31 148 98 171 2 187 78 192 48 271 11
ans = 364x1 table
Expression97 _______________ Number Count ______ _____ 11 100 32 38 53 81 57 17 78 95 86 129 90 99 126 2 136 105 138 27 148 109 187 49 192 37 271 2 274 38 284 105
ans = 377x1 table
Expression98 _______________ Number Count ______ _____ 3 1 11 75 18 14 32 11 53 85 57 34 78 83 86 110 90 111 136 102 138 22 143 8 148 111 187 22 192 19 274 19
ans = 383x1 table
Expression99 _______________ Number Count ______ _____ 3 71 11 51 18 30 53 77 54 3 57 49 78 73 86 79 90 119 136 92 138 16 143 21 148 101 158 8 187 5 192 6
ans = 385x1 table
Expression100 _______________ Number Count ______ _____ 3 102 11 26 18 55 53 74 54 22 57 61 78 60 86 45 90 108 94 2 105 2 136 78 138 10 143 38 148 94 158 24
ans = 383x1 table
Expression101 _______________ Number Count ______ _____ 3 113 11 9 18 65 53 62 54 38 57 71 78 18 86 23 90 89 94 8 105 16 136 65 138 4 143 59 148 74 151 4
ans = 377x1 table
Expression102 _______________ Number Count ______ _____ 3 127 11 1 18 72 36 7 54 58 57 72 86 5 90 58 94 13 105 21 136 48 143 71 148 56 151 15 158 37 284 127
ans = 378x1 table
Expression103 _______________ Number Count ______ _____ 3 132 17 4 18 75 24 4 36 29 54 68 57 70 65 22 94 19 105 24 136 34 143 71 148 28 151 32 158 38 229 2
ans = 378x1 table
Expression104 _______________ Number Count ______ _____ 3 144 17 9 18 83 24 26 36 44 54 83 57 66 65 60 94 24 97 8 105 17 136 8 143 80 151 50 158 34 163 8
ans = 375x1 table
Expression105 _______________ Number Count ______ _____ 3 124 17 17 18 77 24 54 36 59 54 89 57 57 65 79 94 31 97 39 105 8 143 75 151 59 158 25 163 47 224 7
ans = 374x1 table
Expression106 _______________ Number Count ______ _____ 3 93 17 25 18 50 24 80 36 75 54 79 57 47 65 93 94 41 97 97 143 79 151 62 158 11 163 82 224 16 229 46
ans = 371x1 table
Expression107 _______________ Number Count ______ _____ 3 51 17 36 18 19 24 83 36 86 54 50 57 29 65 104 94 46 97 128 143 78 151 65 158 1 163 105 224 37 229 58
ans = 374x1 table
Expression108 _______________ Number Count ______ _____ 3 18 17 45 24 76 28 23 36 100 54 25 57 15 65 116 94 50 97 157 130 7 143 76 151 61 163 114 224 49 229 75
ans = 379x1 table
Expression109 _______________ Number Count ______ _____ 17 57 24 69 28 59 36 112 65 136 94 52 97 191 130 22 143 63 151 56 163 121 215 3 224 67 229 90 285 47 286 2
ans = 368x1 table
Expression110 _______________ Number Count ______ _____ 17 71 24 54 28 100 36 125 65 130 94 43 97 197 125 3 130 34 143 24 151 47 163 123 166 2 215 20 224 72 229 100
ans = 374x1 table
Expression111 _______________ Number Count ______ _____ 17 81 24 36 28 121 36 135 65 115 94 33 97 195 125 32 130 46 151 26 163 130 166 23 215 38 224 89 229 114 285 91
ans = 390x1 table
Expression112 _______________ Number Count ______ _____ 17 84 24 23 28 131 36 140 65 107 91 5 94 18 97 189 125 46 130 51 151 7 163 133 166 44 215 57 224 88 229 117
ans = 389x1 table
Expression113 _______________ Number Count ______ _____ 17 86 24 11 28 139 36 127 65 90 91 25 94 2 97 184 125 73 130 47 163 135 166 58 175 4 196 15 215 75 224 96
ans = 392x1 table
Expression114 _______________ Number Count ______ _____ 17 80 24 3 28 142 36 102 39 14 65 72 91 39 97 150 125 88 130 38 152 5 163 125 166 69 175 35 196 34 215 84
ans = 390x1 table
Expression115 _______________ Number Count ______ _____ 17 54 28 137 36 83 39 36 65 48 91 51 97 109 125 117 130 28 152 21 163 106 166 80 175 58 196 47 215 85 224 39
ans = 388x1 table
Expression116 _______________ Number Count ______ _____ 17 38 28 121 36 55 39 51 65 23 91 59 97 66 125 132 130 13 152 43 163 72 166 85 175 68 196 58 204 3 215 76
ans = 387x1 table
Expression117 _______________ Number Count ______ _____ 17 18 28 110 36 39 39 51 65 7 91 49 97 12 125 155 152 72 163 45 166 86 175 78 196 73 204 9 215 63 223 16
ans = 387x1 table
Expression118 _______________ Number Count ______ _____ 17 8 28 87 36 11 38 1 39 42 84 10 91 37 125 138 152 104 163 13 166 98 175 82 193 16 196 73 204 23 215 50
ans = 387x1 table
Expression119 _______________ Number Count ______ _____ 17 1 28 54 38 45 39 21 84 22 91 21 125 110 152 125 166 88 175 81 193 37 196 68 204 41 215 34 223 43 229 7
ans = 382x1 table
Expression120 _______________ Number Count ______ _____ 28 33 38 64 84 45 113 3 125 89 152 140 166 70 175 74 193 53 196 60 204 49 215 15 223 55 246 103 259 39 285 30
ans = 382x1 table
Expression121 _______________ Number Count ______ _____ 28 14 38 74 84 63 113 19 122 13 125 62 152 150 166 49 175 63 193 69 196 47 204 57 215 2 223 65 246 71 259 45
ans = 378x1 table
Expression122 _______________ Number Count ______ _____ 28 2 38 86 62 22 71 1 84 83 113 48 122 33 125 43 150 6 152 136 166 37 175 48 193 76 196 38 204 68 223 68
ans = 384x1 table
Expression123 _______________ Number Count ______ _____ 38 96 62 44 71 33 84 102 113 81 122 48 125 22 150 16 152 116 166 18 175 27 193 86 196 24 204 70 223 65 246 18
ans = 377x1 table
Expression124 _______________ Number Count ______ _____ 4 3 38 110 62 48 71 58 84 113 113 106 122 61 125 12 150 34 152 82 166 4 193 79 196 8 204 80 223 58 246 3
ans = 369x1 table
Expression125 _______________ Number Count ______ _____ 4 8 38 124 62 49 71 68 84 137 113 118 122 70 125 7 150 54 152 59 167 2 193 62 204 92 223 43 251 46 259 64
ans = 382x1 table
Expression126 _______________ Number Count ______ _____ 4 14 38 136 62 56 71 75 84 146 113 118 120 35 122 71 123 1 125 2 150 81 152 34 167 56 193 50 204 98 223 20
ans = 389x1 table
Expression127 _______________ Number Count ______ _____ 4 17 38 114 62 64 71 82 72 6 84 150 108 24 113 114 120 80 122 64 123 13 137 8 150 97 152 16 167 88 193 34
ans = 398x1 table
Expression128 _______________ Number Count ______ _____ 4 26 38 58 62 57 64 5 71 79 72 18 84 147 108 45 113 106 120 101 122 48 123 26 131 1 132 7 137 30 150 113
ans = 398x1 table
Expression129 _______________ Number Count ______ _____ 4 30 7 11 45 12 62 46 64 28 71 70 72 22 84 136 108 47 113 93 120 114 122 21 123 44 131 20 132 24 137 43
ans = 406x1 table
Expression130 _______________ Number Count ______ _____ 4 35 7 39 37 1 45 47 62 35 64 50 71 45 72 29 82 9 84 112 108 64 113 82 120 123 123 62 131 38 132 43
ans = 405x1 table
Expression131 _______________ Number Count ______ _____ 4 38 7 73 37 40 45 100 46 15 62 23 64 63 71 19 72 25 82 20 84 63 108 63 113 60 120 112 123 84 131 63
ans = 398x1 table
Expression132 _______________ Number Count ______ _____ 4 43 7 98 37 87 45 147 46 37 62 18 64 66 71 2 72 18 82 28 84 14 102 4 106 7 108 71 111 7 113 48
ans = 411x1 table
Expression133 _______________ Number Count ______ _____ 4 37 7 113 37 113 45 174 46 64 62 7 64 63 72 6 82 30 102 14 106 14 108 64 111 25 113 30 120 35 121 8
ans = 417x1 table
Expression134 _______________ Number Count ______ _____ 4 26 7 110 37 110 45 163 46 94 62 1 64 56 82 35 102 25 106 26 108 66 111 47 113 22 120 8 121 25 123 102
ans = 414x1 table
Expression135 _______________ Number Count ______ _____ 4 17 7 97 37 113 40 14 45 142 46 117 64 42 82 34 102 34 106 37 108 52 111 66 113 10 121 48 123 97 131 88
ans = 410x1 table
Expression136 _______________ Number Count ______ _____ 4 8 7 84 37 114 40 49 45 97 46 146 64 32 82 31 102 39 106 45 108 50 111 78 113 7 121 73 123 87 131 75
ans = 410x1 table
Expression137 _______________ Number Count ______ _____ 4 1 7 71 37 103 40 93 45 50 46 162 64 19 82 24 102 40 106 44 108 38 111 87 113 2 121 98 123 74 131 57
ans = 402x1 table
Expression138 _______________ Number Count ______ _____ 7 59 26 10 37 87 40 112 45 29 46 166 64 9 82 15 102 42 106 39 108 33 111 97 121 114 123 65 131 38 132 71
ans = 412x1 table
Expression139 _______________ Number Count ______ _____ 7 45 12 8 26 28 31 68 37 46 40 128 45 12 46 156 102 29 106 31 108 15 111 96 121 129 123 46 131 17 132 49
ans = 410x1 table
Expression140 _______________ Number Count ______ _____ 7 28 12 19 26 46 31 171 37 15 40 135 46 142 76 5 102 8 106 23 111 88 121 134 123 17 131 1 132 23 133 11
ans = 403x1 table
Expression141 _______________ Number Count ______ _____ 7 13 12 30 26 61 31 204 40 127 46 120 76 14 106 16 111 80 121 132 123 3 133 26 140 23 146 113 147 24 172 54
ans = 392x1 table
Expression142 _______________ Number Count ______ _____ 7 5 12 34 26 65 31 218 40 123 46 103 76 24 106 11 111 69 121 115 133 34 140 32 146 115 147 51 172 53 177 67
ans = 409x1 table
Expression143 _______________ Number Count ______ _____ 12 49 26 67 31 223 40 100 46 70 76 37 106 6 111 53 121 89 133 47 140 34 146 114 147 83 172 51 177 97 180 85
ans = 404x1 table
Expression144 _______________ Number Count ______ _____ 12 68 26 60 31 211 40 84 46 31 76 50 106 2 111 41 121 35 133 57 140 38 146 96 147 124 172 45 177 131 180 70
ans = 408x1 table
Expression145 _______________ Number Count ______ _____ 12 85 26 51 31 171 40 67 46 10 76 60 111 14 121 1 133 47 140 33 146 59 147 168 172 33 177 165 180 49 181 119
ans = 393x1 table
Expression146 _______________ Number Count ______ _____ 12 80 26 40 31 131 40 51 46 1 76 72 115 14 133 43 140 29 146 25 147 211 172 25 177 193 180 31 181 120 194 1
ans = 391x1 table
Expression147 _______________ Number Count ______ _____ 12 85 26 25 31 84 40 39 76 78 115 36 133 31 140 11 146 8 147 230 172 12 177 209 180 21 181 115 217 70 230 64
ans = 390x1 table
Expression148 _______________ Number Count ______ _____ 12 87 21 1 26 5 31 33 40 21 50 4 76 83 115 44 118 3 133 8 141 8 147 237 177 220 180 6 181 109 207 10
ans = 379x1 table
Expression149 _______________ Number Count ______ _____ 12 83 21 29 31 4 40 2 44 2 50 13 76 76 115 44 118 19 141 32 147 239 177 221 181 87 207 44 217 55 230 76
ans = 376x1 table
Expression150 _______________ Number Count ______ _____ 12 76 21 80 44 21 50 23 76 74 115 43 118 31 141 44 147 229 177 204 181 46 197 8 207 62 217 50 230 79 247 59
Consider using:
set(gca, 'YScale','log') % Optional To Show Details
after the bar call to show the histogram plot details a bit more easily. I chose this approach because it is easier than getting the information for the table arrays from the histogram function.
.

Sign in to comment.

More Answers (0)

Categories

Find more on Data Distribution Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!