Community Profile

photo

possibility


Aktiv seit 2018

Followers: 0   Following: 0

Kontakt

Statistiken

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

Abzeichen anzeigen

Feeds

Anzeigen nach

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

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

mehr als 5 Jahre vor | 0

| akzeptiert

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

mehr als 5 Jahre vor | 0

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 5 Jahre vor | 0

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

mehr als 5 Jahre vor | 0

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

mehr als 5 Jahre vor | 0

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

mehr als 5 Jahre vor | 0

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

mehr als 5 Jahre vor | 0

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

mehr als 5 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 0

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

fast 6 Jahre vor | 0

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

fast 6 Jahre vor | 1

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

fast 6 Jahre vor | 0

| akzeptiert

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

etwa 6 Jahre vor | 0

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

etwa 6 Jahre vor | 1

| akzeptiert

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

etwa 6 Jahre vor | 1

| akzeptiert

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

etwa 6 Jahre vor | 0

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

etwa 6 Jahre vor | 0

| akzeptiert

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

etwa 6 Jahre vor | 6