Community Profile

photo

yang-En Hsiao


Con actividad desde 2018

Followers: 0   Following: 0

Estadísticas

  • First Review
  • Thankful Level 4

Ver insignias

Feeds

Ver por

Pregunta


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 =...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 4 años hace | 0 respuestas | 1

0

respuestas

Pregunta


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...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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 ...

más de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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...

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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....

más de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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])...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

casi 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

casi 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

casi 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

casi 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

casi 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Respondida
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...

alrededor de 5 años hace | 0

| aceptada

Pregunta


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 ...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

alrededor de 5 años hace | 0 respuestas | 0

0

respuestas

Respondida
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 ...

alrededor de 5 años hace | 0

| aceptada

Pregunta


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...

alrededor de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%...

alrededor de 5 años hace | 0 respuestas | 0

0

respuestas

Cargar más