Answered
FFT: Trouble with getting plausible frequencies
Only 288 data points maybe are not enought to show you the spectrum of your data. With your code, you evaluate an FFT of lengt...

7 years ago | 0

Answered
Power amplifier transfer function plot
You must plot output power vs input power. And this must be done be regarding that PA's gain is 0dB. The later can be accomp...

7 years ago | 0

| accepted

Answered
Number of solutions of a system of linear equations
Hi Gunther. You can use solve() within symbolic toolbox. I'm giving you an example: syms x y z eqn1= 2*x + y +...

7 years ago | 1

| accepted

Answered
I have a variable vector like the active: [2 3 4] vector. I select a random element (B) from the active set and use it in a different vector. What function can I use to delete the randomly selected (B) value from the active vector?
Suppose you have a vector x and you want to select , use and then delete a random element of it. Have a look at the following...

7 years ago | 0

Answered
How to stem plot a complex function in matlab?
Hello You can try this piece of code: clc; close all; x=5:.05:11; y=exp(1i*pi*x); plot3(x, zeros(siz...

7 years ago | 0

Answered
Plot data in loop with num2str
If you want to display something on your workspace, use disp() instead of plot() balyr=1752; endyr=1966; for k = baly...

7 years ago | 0

Answered
resample() function in code generation. Any way to use variable Q downsampling factor?
I think is impossible to perform "variable-rate resampling" inside Simulink. The reason is that such a block would change its ou...

7 years ago | 0

Answered
how to derive the frequency of a periodic noise
Hi Felicia First of all, you should plot magnitude response of your signal using dB scale on y-axis. It help at the visibili...

7 years ago | 0

Answered
Logarithms between 0 and 1 and ratios
Hi Juan Suppose you have to divide two very small numbers x, y. And assume that 0<x<<0 and also 0<y<<0. A mathematical corre...

7 years ago | 1

| accepted

Answered
Calculation of a double sum
mySum=0; for i = -1:1 for j = -1:1 if i == 0 & j==0 w = -8; else ...

7 years ago | 0

| accepted

Answered
Find all roots of non linear equation
Dear IlPadrino Your equation is not a "nonlinear" equation. If you try to search its roots fist at the interval [0, +inf) ...

7 years ago | 0

Answered
how to round the binary bit into 8 bit
Hi AR The best you have to do is to use fi objects. I recommend to have a look on matlab help site on this topic. By th...

7 years ago | 0

Answered
The difference between Gaussian Noise variance (user defined) and MATLAB generated variance (using built-in function var)
Dear Ann Maybe you have using too litle data. For example , if you execute command var(randn(1,1000)) many consecutive time...

7 years ago | 0

Answered
How can I get the data size/length from a signal in Simulink?
Hi Tim Try Display -> Sihnals & Ports -> Port Data Types <</matlabcentral/answers/uploaded_files/125607/port_data.jpg>>...

7 years ago | 0