Community Profile

# possibility

2018년부터 활동

배지 보기

#### Content Feed

보기 기준

답변 있음
How to store vectors into a matrix that have different sizes?
Hi Robert, As far as I understand, your remedy is cell arrays. You can collect arbitrary size of vectors into one cell array. I...

4년 이하 전 | 0

답변 있음
How can I remove values from an array
In the "Roll" vector, assume you want to remove 3 from the array. Roll(find(Roll==3))=[]; "find" command outputs the indices ...

약 4년 전 | 0

답변 있음
Matrix dimensions must agree.
It looks like your parabola variable is either (1) not a vector but a matrix (2) a vector but its size is not equal to 91 (si...

약 4년 전 | 0

답변 있음
Values Stops Somewhere that it shouldn't
Hi Atahan, Your graph doesn't stop in the middle. The figure is the same with the original. Your months labeling is wrong. Chan...

4년 이상 전 | 0

| 수락됨

답변 있음
How to loop through cell arrays
Hi, First, you don't need to use cell array as your dimensions are all same. 40x48. If you still want to work with cell array,...

4년 이상 전 | 0

질문

Maximum value of a normalized power changes
I have a function (looks like gaussian) and I want to plot it such that the area under the plot is always 1 (power normalization...

4년 이상 전 | 답변 수: 1 | 0

### 1

답변

답변 있음
Try converting your data into power units first data_in_power=10.^(yourdata./10); And then apply FIR filter onto tha...

4년 이상 전 | 0

답변 있음
Generating a distribution around a parameter using monte carlo simulation.
Generally, the way it works is you already possess the data samples (say millions of them) and find the histogram of the data (f...

4년 이상 전 | 0

답변 있음
Regardless of your figure, let me clarify the following: - Shadowing in power unit is commonly modeled as a lognormal distrib...

4년 이상 전 | 0

답변 있음
Plot legend based on variable inside loop
I had the same error. When I search, I reach your topic. Your code worked well on my MATLAB version; which is R2017b. I don't k...

4년 이상 전 | 0

답변 있음
Multiplying a matrix by a function
I am assuming P to be 5 X 5 matrix and n(t) to be 5x100. Hence, if you do the calculation u(t) = P*n(t) , you are going to ge...

4년 이상 전 | 0

답변 있음
How to print the diagonals of a matrix as shown below.
Since it looks like an assignment, I'd like to propose some approaches rather than giving the exact answer to do it. One exha...

4년 이상 전 | 0

| 수락됨

답변 있음
How to do BPSK modulation using Rayleigh fadding channel?
I am not sure how this is related to Cholesky decomposition. But let me describe a solution for it. Assume, y=hs+n where h is...

5년 이하 전 | 0

답변 있음
How to get amplitude of the signal from FFT results?
Mostly, length of your signal in time domain is not equal to the length of its fft. From Parseval Theorem, their powers are equ...

5년 이하 전 | 0

답변 있음
Editing cell array values (each cell is a matrix)
before starting the iteration, mos=[]; "before starting the removal of the next mo", most probably inside-end of the ite...

5년 이하 전 | 1

답변 있음
How do I compute the correlation between corresponding rows of two matrices?
X is 10,000-by-60 Y is 10,000-by-60 X' is 60-by-10,000 Y' is 60-by-10,000 By correlating these two matrices, i.e. R=corr...

5년 이하 전 | 0

| 수락됨

답변 있음
Error using for loop
There are two main fails in your code. Elaborating Jan's post; (1) when i=1 and k=1, i.e. first loop, A(i-k) = A(0) fails. T...

약 5년 전 | 0

답변 있음
accepting values into an array, then accepting new values by shifting left
I'm guessing it is because of the persistent statement. Quote from the statement explanation: " If the persistent variable do...

약 5년 전 | 1

| 수락됨

답변 있음
How to find number of linearly independent eigenvectors in a matrix?
In the context of Linear Algebra, one finds an eigenvalue of a matrix and then finds the right or the left eigenvector associate...

약 5년 전 | 1

| 수락됨

답변 있음
The advantages of MATLAB over other programing languges for Image Processing
Life for the Linear Algebra is pretty easy in Matlab.

약 5년 전 | 0

답변 있음
How can I make the output of a function always a column vector, regardless of if the input is a column or row vector?
%Check if the output is a column vector if size(output,2)>1 output=output(:) end Hope the problem is understood correc...

약 5년 전 | 0

| 수락됨

답변 있음
How to generate Rayleigh distributed random variable with a specified mean and variance?
Hey, There is an easy method to generate values from a Rayleigh distribution. Assume *Z~Rayleigh(sigma)*. Since *Z=sq...

약 5년 전 | 6