Feeds
질문
I am trying to write matlab code for MIMO communication in frequency selective rayleigh fading channel enviorment,using comm.mimochannel system object. For equalization I need H values. How to get values of H if H is obtained as below
H = comm.MIMOChannel(... 'SampleRate',1000, ... 'PathDelays',[0 1e-3], ... ...
7년 초과 전 | 답변 수: 0 | 0
0
답변질문
I am executing the following code to realize 2X2 MIMO using comm.MIMOchannel system object. In the last line the variables chan_out and chan_out1 are having different outputs even though the instructions are same. Please help me rectifying the error
Nt=2;Nr=2; inpt=randi([0 1],Nt,3); hchan = comm.MIMOChannel(... 'SpatialCorrelation',false, ... 'NumTr...
대략 8년 전 | 답변 수: 2 | 0
2
답변답변 있음
I want to add a 20 by 20 matrix to a 50 by 50 matrix ? the resuting matrix should be of 50 by 50 .
A=5*ones(50) B=zeros(50); B(1:20,1:20)=2*ones(20); C=A+B;
I want to add a 20 by 20 matrix to a 50 by 50 matrix ? the resuting matrix should be of 50 by 50 .
A=5*ones(50) B=zeros(50); B(1:20,1:20)=2*ones(20); C=A+B;
거의 10년 전 | 0
| 수락됨
문제를 풀었습니다
Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...
거의 10년 전
문제를 풀었습니다
Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...
거의 10년 전
문제를 풀었습니다
Replace Vector Elements
Replace all elements in a vector which are equal to or smaller than zero with 0.1. Example: A = [1 2 3 -1 0 2 -3 -80]; ...
거의 10년 전
문제를 풀었습니다
Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...
거의 10년 전
문제를 풀었습니다
Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];
거의 10년 전
문제를 풀었습니다
Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...
거의 10년 전
문제를 풀었습니다
Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...
거의 10년 전
문제를 풀었습니다
Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product
거의 10년 전
문제를 풀었습니다
Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...
거의 10년 전
문제를 풀었습니다
Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...
거의 10년 전
문제를 풀었습니다
Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
거의 10년 전
문제를 풀었습니다
Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...
거의 10년 전
문제를 풀었습니다
Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...
거의 10년 전
문제를 풀었습니다
Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.
거의 10년 전
문제를 풀었습니다
Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]
거의 10년 전
문제를 풀었습니다
Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...
거의 10년 전
문제를 풀었습니다
Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
거의 10년 전
문제를 풀었습니다
Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.
거의 10년 전
문제를 풀었습니다
Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...
거의 10년 전
문제를 풀었습니다
Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...
거의 10년 전
문제를 풀었습니다
radius of a spherical planet
you just measured its surface area, that is the input.
거의 10년 전
문제를 풀었습니다
Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...
거의 10년 전
문제를 풀었습니다
Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1
거의 10년 전