Community Profile

photo

yang-En Hsiao


Aktiv seit 2018

Followers: 0   Following: 0

Statistiken

  • First Review
  • Thankful Level 4

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 0 Antworten | 1

0

Antworten

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 5 Jahre vor | 0

| akzeptiert

Frage


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

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

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

etwa 5 Jahre vor | 0

| akzeptiert

Frage


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

etwa 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

Mehr laden