Community Profile

# yang-En Hsiao

64 total contributions since 2018

View details...

Contributions in
View by

Question

when i use inv to find the inverse matrix of A,i found inv(A)*A is not the identity matrix
Why when i use inv() to find the inverse matrix of matrix H_AB'*H_AB,but their multiplication is not an identity matrix? H_AB =...

11 maanden ago | 1 answer | 0

### 1

Question

Why can't i plot a bar figure like this example?
I want to plot a bar figure like this example,just take this example as a reference https://www.mathworks.com/help/matlab/ref/b...

11 maanden ago | 1 answer | 0

### 1

Question

How do i generate 10 random matrix and store them?
I want to generate 10 random matrix ,H_AB ,and store them in to H_AB_store ,here is my original code At=7; Br=2; rw=10 H_A...

11 maanden ago | 1 answer | 0

### 1

Question

Are the code of complex gaussian and rayleigh fading the same in the matlab?
Are the code of complex gaussian and rayleigh fading the same in the matlab?if there variance are both 1 i think their code sho...

11 maanden ago | 0 answers | 0

### 0

Question

How to write a code to calculate the f '(3)?
If f(x)=,then i want to know what is the value after i differential it and replace x with 3 I mean first i calculate f ' (x)=,t...

12 maanden ago | 1 answer | 0

### 1

Question

How to write a code which can decrease the range of the answer until we get the right value?
I want to write a code which can help me decrease the range of answer until i find it.For example,S=0:0.001:1;and i have to find...

12 maanden ago | 0 answers | 0

### 0

Question

Is my code of rayleigh fading right?
Is my code of rayleigh fading right? H_A=1/sqrt(2)*[randn(2,6) + i*randn(2,6)]; Because it seems that i just create a AWGN cha...

12 maanden ago | 0 answers | 0

### 0

Question

If the values are almost equal to each other,how do i plot the figure to see its curve? (not straight line )
If the values are very similar to each other,how should draw them to see their different? I mean if the window show me when ...

12 maanden ago | 2 answers | 0

### 2

Question

How do i modify the code when a=0,a=0.1,...,a=0.9,a=1
I want to calculate the Ps when a=0.1,a=0.2,....,a=0.9,a=1.0 , so i think i should have 11 different Ps number,however,the windo...

12 maanden ago | 0 answers | 0

### 0

Question

How do i modify the code when a=0,a=0.1,...,a=0.9,a=1
I want to calculate the Ps when a=0.1,a=0.2,....,a=0.9,a=1.0 , so i think i should have 11 different Ps number,however,the windo...

12 maanden ago | 0 answers | 0

### 0

Question

How to find the nth is the higher than and closest to 0.3
A=[5 56 6.1 0.29 0.32 15 ] I want to find a value which not only be the closest to 0.3,but also higher than 0.3 As we know ,0....

12 maanden ago | 2 answers | 0

### 2

Question

How do i write a code which can calculate the null space basis of two random matrix?
How do i write a code which can calculate the null space basis of two random matrix? a=randn(5,3) b=randn(5,3) c=null([a;b])...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

What is the different between "null" command and "svd" command
If there is a 5 by 3 matrix H ,i can use SVD to find the null space of H.But i find there is a "null "command,which can help me ...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

How do i write a code which can calculate the cross production of two vectors?
How do i write a code which can calculate the cross production of two vector ? Both of these two vectors are 1 by 5 vector At ...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

If i generate the complex gaussian in this method,are the sub-matrix all complex gaussian?
The main goal is to create 4 complex gaussian matrix ,h1~h4,each gaussian matrix is 4 by 1 matrix,and the direct method is h1...

meer dan een jaar ago | 0 answers | 0

### 0

Question

Which is right for complex noise CN(0,N0/2)?
I want to create a complex gaussian noise CN(0,N0/2),which code is correct? noise=(randn(1,n)+1i*randn(1,n))*sqrt(N0/2) or no...

meer dan een jaar ago | 0 answers | 0

### 0

Question

How to write the code to plot these two figure by using matlab? error probability and data rate in MIMO
I want to use Matlab to plot these two figures,fig(a) is the error probability,and as we can see,the higher M is,the lower error...

meer dan een jaar ago | 0 answers | 0

### 0

Question

Why do i need to divided by log2(M) * Ts instead of Ts ? For the symbol error rate of 8-PSK
I saw this code of 8-PSK in the internet,and i don't know why do i need to divided by log2(M) * Ts instead of Ts code: M=8...

meer dan een jaar ago | 1 answer | 0

### 1

Question

The conditional statements of 2-PAM,8PAM and 16PAM
I take this: https://www.mathworks.com/matlabcentral/fileexchange/19587-symbol-error-rate-in-4-pam-modulation as a reference to...

meer dan een jaar ago | 0 answers | 0

### 0

Question

Why do we need to write the noise as randn(2,1)./sqrt(2*SNR) instead of randn(1,1)/sqrt(2)?
I saw this code, about the error probability of on/off signal ,on the internet Ts=10^4; SNR_dB=[-3 0 3 6 9]; Ne=zeros(1,lengt...

meer dan een jaar ago | 0 answers | 0

### 0

Question

Why is the last simulation value is "0",i can't find where is wrong
I write an error probability of anti-podal,however,i found the last simulation value is zero,it means that there is no any erro...

meer dan een jaar ago | 1 answer | 0

### 1

Question

Why does my code become like this?why does it happen?
Yesterday i run the code,and it still keep running ,and i found the code become this below suddenly,why?Why does my code become ...

meer dan een jaar ago | 1 answer | 0

### 1

Why does the window show me Number of columns on line 9 of ASCII file GOA_algorithm_2.m must be the same as previous lines,and my both subroutine are m.files
In the second code,we can see this line in the begining load('GOA_algorithm_2.m','P_q') So,this means we have to load the "P_q...

meer dan een jaar ago | 0

| accepted

Question

Why does the window show me Number of columns on line 9 of ASCII file GOA_algorithm_2.m must be the same as previous lines,and my both subroutine are m.files
I want to run this main file with two subroutines ,but the window always show me Error using load Number of columns on line ...

meer dan een jaar ago | 1 answer | 0

### 1

Question

Is there any instruction can ignore the "0" value and find the minimum value of a matrix ?
Is there any instruction can ignore the "0" value and find the minimum value of a matrix ? I mean ,if i assume A=[0 1 2 3] How...

meer dan een jaar ago | 1 answer | 0

### 1

Question

Why will window show me "Improper assignment with rectangular empty matrix" sometimes?
Why will window show me "Improper assignment with rectangular empty matrix" sometimes? It seems this error should tell me ,the...

meer dan een jaar ago | 0 answers | 0

### 0

Why are the values ,the result of rho_k, are the same?it shouldn't be the same
The original code is like this bdc=4 lkk=1:bdc %lkk=1, 2, 3, 4 lkkspace=zeros(1,bdc) % for rho_k=0:0.2:0.6 code A ...

meer dan een jaar ago | 0

| accepted

Question

Why are the values ,the result of rho_k, are the same?it shouldn't be the same
First, i introduce the code A, this code A can help me find the minimum value when the rho_k=0.6, and the loop does the code for...

meer dan een jaar ago | 2 answers | 0

### 2

Question

why does the window show me x3=27 when x3=1:2:50?
I wrote this code ,and the c3 can be a vector ,the elements in this vector is the result of every loops,however,i found that the...

meer dan een jaar ago | 1 answer | 0

### 1

Question

I have improve the code for mean some element,some of them are inf, in a for loop,however,the window show me an error
rho_k_up=[0:0.1:1] ad = [] for cyclew=1:length(rho_k_up) bd=10 for dd=1:bd %%%%%%%%%%%%%%%%%%%%%%%%%%%%...

meer dan een jaar ago | 0 answers | 0