Community Profile

photo

possibility


Active since 2018

Statistics

  • First Review
  • Thankful Level 1
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

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

mer än 3 år ago | 0

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

mer än 3 år ago | 0

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

mer än 3 år ago | 0

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

nästan 4 år ago | 0

| accepted

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

nästan 4 år ago | 0

Question


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

nästan 4 år ago | 1 answer | 0

1

answer

Answered
separate the fast fading and the shadowing
Try converting your data into power units first data_in_power=10.^(yourdata./10); And then apply FIR filter onto tha...

nästan 4 år ago | 0

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

nästan 4 år ago | 0

Answered
separate the fast fading and the shadowing
Regardless of your figure, let me clarify the following: - Shadowing in power unit is commonly modeled as a lognormal distrib...

nästan 4 år ago | 0

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

nästan 4 år ago | 0

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

nästan 4 år ago | 0

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

nästan 4 år ago | 0

| accepted

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

mer än 4 år ago | 0

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

mer än 4 år ago | 0

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

mer än 4 år ago | 1

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

mer än 4 år ago | 0

| accepted

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

mer än 4 år ago | 0

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

mer än 4 år ago | 1

| accepted

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

mer än 4 år ago | 1

| accepted

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

mer än 4 år ago | 0

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

mer än 4 år ago | 0

| accepted

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

mer än 4 år ago | 6