MATLAB R2022a - academic use => ra SIHAN 1987 H & SHULE ZUU 0.7 /// on Pш м HOME PLOTS APPS EDITOR PUBLISH VIEW Figure 1

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

MATLAB R2022a - academic use => ra SIHAN 1987 H & SHULE ZUU 0.7 /// on Pш м HOME PLOTS APPS EDITOR PUBLISH VIEW Figure 1

Post by answerhappygod »

 1
1 (172.75 KiB) Viewed 34 times
 2
2 (155.77 KiB) Viewed 34 times
 3
3 (151.79 KiB) Viewed 34 times
 4
4 (154.19 KiB) Viewed 34 times
 5
5 (144.68 KiB) Viewed 34 times
 6
6 (173.1 KiB) Viewed 34 times
 7
7 (165.28 KiB) Viewed 34 times
 8
8 (183.85 KiB) Viewed 34 times
 9
9 (195.9 KiB) Viewed 34 times
 10
10 (135.47 KiB) Viewed 34 times
could someone help me figure out why there are errors in the command window. I am supposed to have 256 for N and 16 orthogonal signal graphs but i can only make 4 because of the errors
MATLAB R2022a - academic use => ra SIHAN 1987 H & SHULE ZUU 0.7 /// on Pш м HOME PLOTS APPS EDITOR PUBLISH VIEW Figure 1 Section Break File Edit View Insert Tools Desktop Window Help Compare % Profiler Find Run and Adva New Open Save Refactor Go To Run Print ES Analyze Section Bookmark RIE Run to End FILE NAVIGATE CODE ANALYZE SECTION 50 TUU C: Users cesar Downloads 0.1 0.2 0.3 0.4 0.6 Current Folder Editor - C:\Users\cesar\Downloads\Which Bit.m Name WhichBitlsit.mx Which Bit.m X + 1 %%% temp_matlab_R20216_win64 _temp_matlab_R2022a_win64 2 N = 256; CCS11.1.0.00011_win64 (1) 3 n = 8:N-1; Wolfram Player 13.0 4 x0000 = [zeros(40,1); ones (88,1); -ones (88,1); zeros(40,1)); 5 1201 assignment 6.ms14 norm(x0000) 6 ER 1201 assignment 6 (1).ms14 x0000 = x0000/norm(x0000); 7 A 1201 assignment 6 (2).ms14 8 1201 speaker questions-1.docx X0001 = [zeros(16,1); ones (112,1); -ones(112,1); zeros(16,1)]; 9 - 1201 speaker questions-1 (1).docx norm(x0001) 10 x0001 = x0001/norm(x0001); 2020-ee-f[1748].pdf 11 2020SU-SPCH-1321-86400 (8).docx 12 x0010 = [zeros(43,1); ones (85,1); -ones (85,1); zeros(43,1)]: 2022-SPRING 2222-ENGR-1101-002.docx 13 norm(x0010) 2022-SPRING 2222-ENGR-1101-002 (1).docx 14 *0010 = x0010/norm(x0010); Details 15 16 Workspace X0011 = [zeros(60,1); ones (68,1); -ones (68,1); zeros (60,1)]; 17 norm(x0011) Name - Value 18 X0011 = x0011/norm(x0011): sans 5.6569 Command Window 1x256 double Error using stem IN 256 Incorrect number of inputs for property-value pairs. signals 256x16 double x0000 256x1 double Error in WhichBit (line 88) x0001 256x1 double stem(n,x0100, 'e', 'Marker', 'none', 'LineWidth',1) 256x1 double d x0011 256x1 double fx >> 250vt dautila Zoom: 100% UTF-8 CRLF script En FX0010 100

Current Folder 国E国E Name = _temp_matlab_R2021b_win64 _temp_matlab_R2022a_win64 CCS11.1.0.00011_win64 (1) Wolfram Player 13.0 1201 assignment 6.ms 14 1201 assignment 6 (1).ms14 1201 assignment 6 (2).ms14 1201 speaker questions-1.docx 1201 speaker questions-1 (1).docx 2020-ee-f[1748].pdf 2020SU-SPCH-1321-86400 (8).docx - 2022-SPRING 2222-ENGR-1101-002.docx 2022-SPRING 2222-ENGR-1101-002 (1).docx Details Which Bitlsit.m X Which Bit.m X + 20 x0100 = [zeros(42,1); ones (60,1); -ones (68,1); zeros(86,1)]; 21 norm(x0100) 22 x0100 = x0100/norm(x0100); 23 24 x0101 = [zeros(86,1); ones (68,1); -ones (60,1); zeros(42,1)]; 25 norm(x0101) 26 x0101 = x0101/norm(x0101); 27 28 x0110 = [zeros(24,1); ones (73,1); -ones (88,1); zeros (71,1)]; 29 norm(x0110) 30 xe110 = x0110/norm(x0110); 31 32 x0111 = [zeros (71,1); ones (88,1); -ones (73,1); zeros (24,1)]; 33 norm(x0111) 34 x0111 = x0111/norm(x0111); 35 36 X1000 = [zeros(100,1); ones (28,1); -ones (28,1); zeros (100,1)]: 37 norm(x1000) Command Window Error using stem Incorrect number of inputs for property-value pairs. Workspace Name - Value LA HEHE HAN x0101 X0110 x0111 X1000 X1001 x1010 x1011 x1100 256x1 double 256x1 double 256x1 double 256x1 double 256x1 double 256x1 double 256x1 double 256x1 double Error in whichBit (line 88) stem(n,x0100, 'e', 'Marker', 'none', 'LineWidth',1) fx >>

Current Folder > Editol Name _temp_matlab_R2021b_win64 _temp_matlab_R2022a_win64 CCS11.1.0.00011_win64 (1) Wolfram Player 13.0 1201 assignment 6.ms14 1201 assignment 6 (1).ms14 1201 assignment 6 (2).ms14 - 1201 speaker questions-1.docx 1201 speaker questions-1 (1).docx 2020-ee-f[1748].pdf 2020SU-SPCH-1321-86400 (8).docx 2022-SPRING 2222-ENGR-1101-002.docx 2022-SPRING 2222-ENGR-1101-002 (1).docx Which Bitlsit.m 30 WhichBit.m X 37 norm(x1000) 38 x1000 = x1000/norm(x1000); 39 40 X1001 = [zeros(12,1); ones (64,1); -ones (63,1); zeros(117,1)); 41 norm(x1001) 42 X1001 = x1001/norm(x1001); 43 44 X1010 = [zeros(117,1); ones (63,1); -ones (64,1); zeros(12,1)]; 45 norm(x1010) 46 x1010 = X1010/norm(x1010); 47 48 x1011 = [zeros(111,1); ones (17,1); -ones (17,1); zeros(111,1)]; 49 norm(x1011) 50 x1011 = x1011/norm(x1011); 51 52 X1100 = [zeros(17,1); ones (111,1); -ones (111,1); zeros (17,1)]: 53 norm(x1100) 54 x1100 = x1100/norm(x1100); Details Workspace Command Window Error using stem Incorrect number of inputs for property-value pairs. Name - IN XUT x1000 x1001 x1010 X1011 x1100 x1101 x1110 x1111 Value 256xl double 256x1 double 256x1 double 256x7 double 256x1 double 256x1 double 256x1 double 256x1 double 256x1 double Error in whichBit (line 88) stem (n,x0100, 'e', 'Marker','none', 'LineWidth',1) fx >>

HO Current Folder Name - temp_matlab R2021b_win64 temp matlab R2022a_win64 CCS11.1.0.00011_win64 (1) Wolfram Player 13.0 1201 assignment 6.ms14 1201 assignment 6 (1).ms14 1201 assignment 6 (2).ms14 1201 speaker questions-1.docx 1201 speaker questions-1 (1).docx 2020-ee-f[1748).pdf 2020SU-SPCH-1321-86400 (8).docx D 2022-SPRING 2222-ENGR-1101-002.docx 2022-SPRING 2222-ENGR-1101-002 (1).docx Details Editor - C:\Users\cesar\Downloads\WhichBit.m WhichBitlsit.mx WhichBit.m X + 56 x1101 = [zeros(28,1); ones(100,1); -ones (100,1); zeros(28,1)]; 57 norm(x1101) 58 x1101 = x1101/norm( x1101); 59 60 x1110 = [zeros(88,1); ones (40,1); -ones (40,1); zeros(88,1)]; 61 norm(x1110) 62 x1110 = x1110/norm( x1110); 63 64 X1111 = [zeros(112,1); ones (16,1); -ones (16,1); zeros(112,1)]; 65 norm(x1111) 66 X1111 = x1111/norm(x1111); 67 68 signals=[хөөөө, хөө01, хө010, хө011, xe100, xe101, xe110, xe111,x10ee,... 69 X1001, X1010,x1011, X1100, x1101, X1110, X1111]; 70 71 subplot(17,1,1) 72 stem(n,x0000,'b', 'Marker', 'none', 'LineWidth',1) 73 title('Signal x0000 Transmit to send a digital e','fontsize', 18) Command Window Error using stem Incorrect number of inputs for property-value pairs. Workspace Name Value ans חן N signals 3x0000 x0001 x0010 x0011 5.6569 7x256 double 256 256x76 double 256x1 double 256x1 double 256x7 double 256x1 double 25 davulla Error in whichBit (line 88) stem (n,x0100, 'e', 'Marker', 'none', 'LineWidth',1) E0100 fx >>

Current Folder a Name - temp_matlab_R2021b_win64 _temp_matlab_R2022a_win64 CCS11.1.0.00011_win64 (1) Wolfram Player 13.0 1201 assignment 6.ms14 1201 assignment 6 (1).ms14 1201 assignment 6 (2).ms14 1201 speaker questions-1.docx BH 1201 speaker questions-1 (1).docx 2020-ee-f[1748].pdf 2020SU-SPCH-1321-86400 (8).docx 2022-SPRING 2222-ENGR-1101-002.docx 2022-SPRING 2222-ENGR-1101-002 (1).docx Editor - C:\Users\cesar\Downloads\WhichBit.m Which Bitlsit.mx WhichBit.m 2 75 subplot(17,1,2) 76 stem(n,x0001,'r', 'Marker','none', 'LineWidth',1) 77 title('Signal x0001 - Transmit to send a digital 1','fontsize', 18) 78 79 subplot(17,1,3) 80 stem(n,x2010,'c', 'Marker','none', 'LineWidth',1) 81 title('Signal x001e - Transmit to send a digital 2','fontsize', 18) 82 83 subplot(17,1,4) 84 stem(n,x0011,'d', 'Marker','none', 'LineWidth',1) title('Signal x0011 - Transmit to send a digital 3','fontsize', 18) 85 86 Details Workspace 87 subplot(17,1,5) 88 stem(n,x0100, 'e', 'Marker', 'none', 'LineWidth',1) 89 title('Signal x0100 - Transmit to send a digital 4','fontsize', 18) 9e 91 subplot(17,1,6) 92 stem(n,x@101.'f', 'Marker','none'. 'LineWidth'.1) Command Window Error using stem Incorrect number of inputs for property-value pairs. Value Name - ans n N signals x0000 x0001 x0010 X0011 5.6569 1x256 double 256 256x16 double 256x1 double 256x1 double 256x1 double 256x1 double 256 darbia Error in WhichBit (line 88) stem (n,x0100, 'e', 'Marker', 'none', 'LineWidth',1) fx >>

Name 1+ 99 _temp_matlab_R20216_win64 _temp_matlab_R2022a_win64 CCS11.1.0.00011_win64 (1) Wolfram Player 13.0 1201 assignment 6.ms14 1201 assignment 6 (1).ms 14 1201 assignment 6 (2).ms14 1201 speaker questions-1.docx 1201 speaker questions-1 (1).docx 2020-ee-f[1748).pdf 2020SU-SPCH-1321-86400 (8).docx - 2022-SPRING 2222-ENGR-1101-002.docx 2022-SPRING_2222-ENGR-1101-002 (1).docx Details 93 title('Signal x0101 - Transmit to send a digital 5','fontsize', 18) 94 95 subplot (17,1,7) 96 stem(n,x0110, '8', 'Marker','none', 'LineWidth',1) 97 title('Signal x0110 - Transmit to send a digital 6','fontsize',18) 98 subplot(17,1,8) 100 stem(n,x0111, 'h', 'Marker','none', 'LineWidth',1) 101 title('Signal x0111 - Transmit to send a digital 7','fontsize', 18) 102 103 subplot(17,1,9) 104 stem(n,x1000, 'i', 'Marker','none', 'LineWidth',1) 105 title('Signal x1000 - Transmit to send a digital 8','fontsize', 18) 106 107 subplot(17,1,10) 108 stem(n,x1001, '3', 'Marker', 'none', 'LineWidth',1) 109 title('Signal x1001 - Transmit to send a digital 9','fontsize', 18) 110 Command Window Error using stem Incorrect number of inputs for property-value pairs. Workspace Name - Value ans n N signals x0000 x0001 X0010 x0011 5.6569 1x256 double 256 256x16 double 256x1 double 256x1 double 256x1 double 256x1 double 256v1 double Error in WhichBit (line 88) stem(n,x0100, 'e', 'Marker', 'none', 'LineWidth',1) fx >>

Current Folder Name * + _temp_matlab_R2021b_win64 _temp_matlab_R2022a_win64 CCS11.1.0.00011_win64 (1) Wolfram Player 13.0 1201 assignment 6.ms14 1201 assignment 6 (1).ms 14 1201 assignment 6 (2).ms 14 1201 speaker questions-1.docx 1201 speaker questions-1 (1).docx 2020-ee-f[1748].pdf 2020SU-SPCH-1321-86400 (8).docx 2022-SPRING 2222-ENGR-1101-002.docx 2022-SPRING 2222-ENGR-1101-002 (1).docx Editor - C:\Users\cesar\Downloads\WhichBit.m WhichBitlsit.m WhichBit.m X 111 subplot(17,1,11) 112 stem(n,x1010,'K', 'Marker','none', 'LineWidth',1) 113 title('Signal x1010 - Transmit to send a digital 10','fontsize', 18) 114 115 subplot(17,1,12) 116 stem(n,x1011,'1', 'Marker','none', 'LineWidth',1) 117 title('Signal x1011 Transmit to send a digital 11','fontsize', 18) 118 119 subplot(17,1,13) 120 stem(n,x1100, 'm', 'Marker', 'none', 'LineWidth',1) 121 title('Signal x1100 Transmit to send a digital 12','fontsize', 18) 122 123 subplot(17,1,14) 124 stem(n,x1101,'n', 'Marker','none', 'LineWidth',1) 125 title('Signal x1101 - Transmit to send a digital 13','font size', 18) 126 127 subplot(17,1, 15) 128 stem(n,x1110,'o', 'Marker','none', 'LineWidth',1) Command Window Error using stem Incorrect number of inputs for property-value pairs. Details Workspace Name Value ans n N signals x0000 x0001 x0010 EX0011 5.6569 1x256 double 256 256x16 double 256x1 double 256x1 double 256x1 double 256x1 double 256ul double Error in whichBit (line 88) stem(n,x0100, 'e', 'Marker','none', 'LineWidth',1) fx >

H F 8 Name _temp_matlab_R2021b_win64 _temp_matlab_R2022a win64 CCS11.1.0.00011_win64 (1) Wolfram Player 13.0 1201 assignment 6.ms14 1201 assignment 6 (1).ms14 1201 assignment 6 (2).ms14 1201 speaker questions-1.docx 1201 speaker questions-1 (1).docx 2020-ee-f[1748).pdf 4 2020SU-SPCH-1321-86400 (8).docx 2022-SPRING 2222-ENGR-1101-002.docx 2022-SPRING_2222-ENGR-1101-002 (1).docx - Which Bitlsit.m Which Bit.m X + 129 title('Signal x1110 - Transmit to send a digital 14','fontsize', 18) 130 131 subplot(17,1,16) 132 stem(n,x1111, 'p', 'Marker', 'none', 'LineWidth',1) 133 title('Signal x1111 - Transmit to send a digital 15','fontsize, 18) 134 135 136 % received signal is either x0000 or x0001 or xe10 or x0011 or x0100 or.. 137 % x0101 or 0110 or x0111 or x1000 or x1001 or x1010 or 1911 or x1100... 138 % or x1101 or x1110 or X1111 with additive noise 139 140 noisefactor = 0.32; 141 TX = randi(16, 1); 142 disp(['TX symbol is: ', num2str(TX)]) 143 144 y = signals(:,TX) + noisefactor*randn(size(x0000)); 145 146 V=V_/norm/v). % normalizer Command Window Error using stem Incorrect number of inputs for property-value pairs. Details Workspace Name Value JUAUUUU Ix0010 Ix0011 x0100 x0101 x0110 x0111 1x1000 X1001 256x1 double 256x1 double 256x1 double 256x1 double 256x1 double 256x1 double 256x1 double 256x1 double Error in whichBit (line 88) stem (n,x0100, 'e', 'Marker','none', 'LineWidth', 1) fx

urrent Folder Name 5 _temp_matlab_R2021b_win64 _temp_matlab R2022a_win64 CCS11.1.0.00011_win64 (1) Wolfram Player 13.0 1201 assignment 6.ms14 1201 assignment 6 (1).ms14 1201 assignment 6 (2).ms14 1201 speaker questions-1.docx 1201 speaker questions-1 (1).docx 2020-ee-f[1748].pdf 2020SU-SPCH-1321-86400 (8).docx 2022-SPRING 2222-ENGR-1101-002.docx 2022-SPRING 2222-ENGR-1101-002 (1).docx Details = Editor - C:\Users\cesar\Downloads\WhichBit.m Which Bitlsit.m X WhichBit.m X + 149 % computes the inner products between y and all of the symbols: 150 innerproductsym0000 = abs( dot(y,x0000)); 151 innerproductsymo001 abs( dot(y,x0001) ); 152 innerproductsym0010 abs( dot(y,x0010) ); 153 innerproductsym0011 abs( dot(y,x0011) ); 154 innerproductsym@100 = abs( dot(y,x0100) ); 155 innerproductsym0101 abs( dot(y,x0101) ); 156 innerproductsym0110 = abs( dot(y,x0110) ); 157 innerproductsym0111 = abs( dot(y,x0111) ); 158 innerproductsym1000 = abs( dot(y,x1000) ); 159 innerproductsym1001 = abs( dot(y,x1001) ); 160 innerproductsym1010 = abs( dot(y,x1010) ); 161 innerproductsym1011 = abs( dot(y,x1011) ); 162 innerproductsym1100 = abs( dot(y,x1100) ); 163 innerproductsym1101 abs( dot(y,x1101) ); 164 innerproductsym1110 abs( dot(y,x1110) ); 165 innerproductsym1111 abs( dot(y,x1111) ); 166 Command Window Error using stem Incorrect number of inputs for property-value pairs. Workspace = Name Value AVVU LUA UUDEL X0010 x0011 x0100 x0101 x0110 x0111 x1000 X1001 256x1 double 256x1 double 256x1 double 256x1 double 256x1 double 256x1 double 256x1 double 256x1 double Error in whichBit (line 88) stem(n,x0100, 'e', 'Marker', 'none', 'LineWidth',1) fx >>

Name _temp_matlab_R2021b_win64 temp_matlab_R2022a_win64 CCS11.1.0.00011_win64 (1) Wolfram Player 13.0 1201 assignment 6.ms14 1201 assignment 6 (1).ms14 1201 assignment 6 (2).ms14 1201 speaker questions-1.docx 1201 speaker questions-1 (1).doa 2020-ee-f[1748].pdf 4 2020SU-SPCH-1321-86400 (8).docx 2022-SPRING 2222-ENGR-1101-002.docx 2022-SPRING 2222-ENGR-1101-002 (1).docx Editor - C:\Users\cesar\Downloads WhichBit.m WhichBitlslt.m X WhichBit.m X + 167 dot(signals(:,1), signals(:,1)) 168 169 dot(x0000, x1111) 170 171 for x = 1:16 172 for y = 1:16 173 orthog(x,y) = dot(signals(:,x), signals(:,y)); x 174 end 175 end 176 177 if isdiag(orthog) 178 disp('The system is orthogonal') 179 else 180 disp('The system is NOT orthogonal) 181 end 182 183 184 Details Workspace Name - וורשאר Command Window Error using stem Incorrect number of inputs for property-value pairs. x1000 X1001 x1010 x1011 x1100 x 1101 E x1110 0x1111 Value 250x double 256x1 double 256x1 double 256x1 double 256x1 double 256x7 double 256x1 double 256x7 double 256x1 double Error in whichBit (line 88) stem(n,x0100, 'e', 'Marker', 'none', 'LineWidth',1) fx >>
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply