Community Profile # Luki

Active since 2016

#### Statistics

• #### Content Feed

View by

Question

How to use matlab2tikz to include a matlab figure to LaTeX
I have created a matlab figure. I want to save the figure and include it in a LaTeX document. When I save the figure as .eps and...

5 years ago | 0 answers | 0

### 0

Question

How to create an ideal frequency spectrum (just the graphic) with Matlab
I'd like to create a graphic such as the first one shown in <http://electronicdesign.com/communications/understanding-intermodul...

5 years ago | 0 answers | 0

### 0

Question

How to find input data that best matches given output data
f2 = linspace(-fs/2,fs/2,length(x)); f1 = transpose(f2(end/2+1:end)); freq = transpose([10.7e9 11.213e9 11.725e...

5 years ago | 2 answers | 0

### 2

Question

How to round a decimal to 4 digits
angle = Phi_intrp(ismembertol(round(s1*10^4)/10^4,s2)); So I am given a table Phi_intrp, which I can evaluate at every entr...

5 years ago | 2 answers | 1

### 2

Question

How to find a unique point of a set of data
I am given a set of data, P and Phase. I have plotted this data and now I want to find a point on the line which can be used to ...

5 years ago | 3 answers | 0

### 3

Question

How to perform a proper interpolation with only few data points

5 years ago | 1 answer | 0

### 1

Question

How to find a transfer function of a filter that shifts an AM/AM characteristic
I want to define a transfer function of a linear filter, which shifts my AM/AM characteristic by a certain amount. The AM/AM cha...

5 years ago | 0 answers | 0

### 0

Question

How to use find() to find the corresponding output (not index!) of an input value
I am given a table with 2 columns - one contains P_in, the other P_out: P_in = table(:,1) P_out = table(:,2) I wan...

5 years ago | 1 answer | 0

### 1

Question

How to set up a function using an input-output table, but different input values
Consider a table with two columns: The left column gives input power and the right column the corresponding output power. There ...

5 years ago | 0 answers | 0

### 0

Question

How can I plot two vectors of different lengths ?
I am given a vector A with size(A) = 41,1 and a vector B with size(B) = 40,1 I want create a plot with B on the y-axis and A o...

5 years ago | 1 answer | 0

### 1

Question

How to determine the coefficients of an ARMA filter
I'm new to filter design. I consider a two-tone input signal which is then alterred by a nonlinear device. I now have the input ...

5 years ago | 0 answers | 0

### 0

Question

Why does a function that should return 3 vectors arranged in a matrix only return 1 vector?
Consider a function: function [a, b, c] = calculate(d, e, f) This function should return vectors a, b and c - and as I s...

5 years ago | 1 answer | 0

### 1

Question

How to declare a function using the diff-command
In Matlab I am given a function whose declaration starts with this code: function [v1, v2, v3, v4, v5, v6] = calculate_v(P1...

5 years ago | 1 answer | 0

### 1

Question

How can I pad zeros to each column of a matrix?
I am given a matrix with t rows and n columns. I want to add zeros to each column. How can I achieve this? I was thinking about ...

5 years ago | 1 answer | 0

### 1

Question

How can it be that a value shown in a plot cannot be found in the matrix whose values are used to generate the plot?
Consider a plot of a frequency spectrum: plot(f, X_dBm); This plot has a peak at a frequency f_peak = 11 GHz. The ampl...

5 years ago | 1 answer | 0