Community Profile

mingcheng nie

Last seen: 3 months ago Active since 2022

Content Feed

View by

Question

fill the entry of a vector with a given distance
Hi there If I have a vector A of size . I want to put some value, say 1, into some certain entries. Here are the rules: given ...

4 months ago | 2 answers | 0

2

Question

CVX install on Matlab 2023b (Apple Silicon)
Hi, I have download the new version of Matlab natively support for Apple Silicon, i.e., 2023b for Apple Silicon. However, it see...

4 months ago | 1 answer | 0

1

Question

generate orthogonal matrix function
Hi there, Assume I have two square matrix A and B with the same size, I want to find a matrix that orthogonal to A but non-or...

6 months ago | 1 answer | 0

1

Question

generate unrepeated pairs from randi
I have two variables A and B. They are independently generated from randi with different range. For example, A=randi([0,5],1,5);...

6 months ago | 1 answer | 0

1

Question

struct function in Matlab
Hi there, I want to generate more than 10^4 times of a random 3 dimension matrix, is it a good and efficient way to store all...

7 months ago | 2 answers | 0

2

Question

set, group in matlab
Hi there, I want to generate more than 10^4 times of following variables: A and B are 2D complex matrix from some distributio...

7 months ago | 1 answer | 0

1

Question

row ranking among multiple matrices
Hi there, I have three matrix A, B, and C. Here A is a complex matrix of size N*M, where each row of A is generated from the sa...

7 months ago | 3 answers | 0

3

Question

Compensate the vector with the last entry
I have a length L vector contains some numbers, I want to compensate this vector to length K, where K > L, with repeating the la...

10 months ago | 1 answer | 0

1

Question

'eigs and eig'-- which one should I choose?
Hi there, I have two square matrix G1 and G2, both obtain the same size. Now, I want to obtain the princinple eigenvector of ...

11 months ago | 1 answer | 0

1

Question

Is there any plot function that perform a plan view of bar3?
if we have a square matrix H=randi(N,N)+1i*randi(N,N); I want to see the plan view of bar3(abs(H)), especially, for the same amp...

1 year ago | 1 answer | 0

1

Question

plot a matrix in 3D
Hi there, If I have a square matrix H=randi(N,N)+1i*randi(N,N); how can I plot the maginitude of this matrix H in 3D?

1 year ago | 1 answer | 0

1

Question

matlab plot legend bug
Hi there, I have no idea what happen to my code about the legend part, it is really weird but I don't know where is wrong.

1 year ago | 1 answer | 0

1

Question

how to know if I can use parfor
hi there, I am a telecommunication student working on some matlab code. I have a group signal to noise ratio(SNR) and need to ru...

1 year ago | 1 answer | 0

1

Question

run matlab online platform
Hi there, is there any website/online platform that offer some visual computer that can run matlab faster? The speed of my lapto...

1 year ago | 2 answers | 0

2

Question

generate two variable from distribution without same result
Hi there, if we have two variables are generated from uniform distribution as : A=randi([0,5],1,6); B=randi([-4,4],1,6); Now I ...

1 year ago | 2 answers | 0

2

Question

generate and save numerous datas in one code then load them in another code
Hi there, if I have two code 'A.m' and 'B.m' under the same file. In 'B.m' I will generate a few variables. I want to save those...

1 year ago | 1 answer | 0

1

Question

Expectation of inverse of complex Gaussian variables
Hi there, I just have a mathematic problem. If we consider a Gaussian complex random variable vector , where each element in fo...

1 year ago | 2 answers | 1

2

Question

compensate vector into same length
if we have multiple vectors, A,B,C. Each of them has different length. How can we compensate them by NaN into same length and st...

1 year ago | 1 answer | 0

1

Question

store vctors of non-fixed size
I have a loop to call a function, this function will return a vector, the size of vector is not fixed. However, in the main func...

1 year ago | 1 answer | 0

1

Question

3D plot where x and y has different length
Hi there, If I want to plot a 3D surface with x,y,z variables, where x and y has diffrent length, then which function should I ...

1 year ago | 1 answer | 0

1

Question

compare two vector with considering Nan
Hi there, Is there any simple way to do the following requirements: If I want to compare two vectors, e.g., vector A and B. T...

1 year ago | 1 answer | 0

1

Question

Question of Comparing two vectors
Hi there, If we consider two vector a and b, they have the equal length and random generate from [-2,2]. Now I want to compare ...

1 year ago | 1 answer | 0

1

Question

Maximum value of matrix
Hi there, If we have a complex matrix A, size of (N,M), is there any efficient way to keep the maximum 6 absolute values in A a...

1 year ago | 1 answer | 0

1

Question

How to plot the 3D exponential delay profile and Jake Doppler profile
I have a question on how to plot the exponential delay profile and Jakes Doppler profile in 3D like this?

1 year ago | 1 answer | 0

1

Question

What is the pdf of Jakes' Model
When we model the Doppler shitfs, Jakes' model is a typical model, but what is the probability density function (pdf) of Jakes' ...

1 year ago | 1 answer | 0

1

Question

logm and expm function
Hi there, %If we consider a diagnal matrix defined as: delta=diag(exp(1i*2*pi*(0:10)/11)); %and we define another matrix C as...

1 year ago | 1 answer | 0

1

Question

rng and randn on matlab
Hi there, Can we say this code has a good approximation about the channel coefficient for each SNR? rng(1) SNR=10:5:20; N_fr...

1 year ago | 0 answers | 0