Answered
Transfer Function: Continuous approximation of discrete bode
Hello @John The second paragraph of the question states that P is a discrete-time transfer function. But later on the question ...

4 years ago | 0

Answered
Most relevant variables to a Simulink model
The Simulink Design Optimization toolbox can do sensitivity analysis. I've never used it, so can't say anything more than that.

4 years ago | 0

Answered
matlab function fft, Error using fft Invalid data type. First argument must be double, single, int8, uint8, int16, uint16, int32, uint32, or logical.
At this line metroX=abs(fft(x,N1)); the variable x is still a sym object. The input to fft() must be a sequence of actual num...

4 years ago | 0

Answered
Step Response of Transfer Function is Different Than Response of State Space
Is linsys1 a discrete-time or continuous-time, i.e., what is the output of linsys.Ts If the result of that command is not zero...

4 years ago | 0

| accepted

Answered
generating random numbers from poisson distribution
Check out doc poissrnd assuming that lamda*t in the question is the same as lamda in that function.

4 years ago | 0

Answered
Single extension not everywhere?
The linked blog post does not show assignment (=) included uder "Supported Operators and Functions." It still isn't: doc bsxfun...

4 years ago | 0

| accepted

Answered
How could I do a summation of (y) so I can create a signal that goes from 0 to 30 sec repeating (y) every 3 seconds in a graph.
Maybe this is the goal? Note that I modified the definition of y to make it in line with what I assumed the question means. A ...

4 years ago | 0

| accepted

Answered
Not enough input arguments with transfer function operations
Maybe tf is shadowed on your path. Does the output of the which command look like this: which tf -all

4 years ago | 0

| accepted

Answered
FFT magnitude as a function of frequency resolution
Hi @Rob H, For a question like this, it would be immensely helpful to provide some example data/code that illustrates the issue...

4 years ago | 0

Answered
am I correct in generating signals and fft?
We know that zero-padding in the time domain corresponds to interpolation in the frequency domain. This problem can illustrate ...

4 years ago | 1

Answered
Transfer function to pole zero diagram
The answer to the first question is to use pzplot() H = tf([1 .5],[1 2.5 3.125],1) pzplot(H) axis equal Not sure about the s...

4 years ago | 1

Answered
How can I do summation in transfer function?
One approach R_Foster = 1:3; C_Foster = 11:13; sys_Foster = tf(0) for ii = 1:3 sys_Foster = sys_Foster + tf(R_Foster(ii...

4 years ago | 0

| accepted

Answered
How to deal with the connection between symbolic caculations and numerical caculations?
Of course, the symbolic approach will work and might even have some benefits (IDK), but just want to make sure you're aware that...

4 years ago | 1

Answered
Estimate first order transfer function from Phase at Frequency
@John Based on the problem statement can you write the symbolic form of a first order transfer function, H(s)? How many free pa...

4 years ago | 0

Answered
What Is Wrong With My Code? (Downsampling Of A Sinc Signal)
Hi @cikalekli, I'm not sure what you're trying to show, but I can see at least one issue in the code that needs to be considere...

4 years ago | 1

| accepted

Answered
Taking the sum of exponentials
Break it up with simple inputs to see what's going on: x = [1 2]; % row vector a = [1 2 3]; % row vector x./a(:) % implicit e...

4 years ago | 0

Answered
How do I generate a random number between two numbers with using a distribution
Emre, The statement that the the random() command only generates integers doesn't sound correct. The doc page shows an an exam...

4 years ago | 1

Answered
Why do I get an error when I try to use the solve function?
solve() requires the inputs to be Symbolic Math objects syms x y [x,y] = solve(x + 2*y == 4, 2*x - y == 3) % note the use of ...

4 years ago | 0

Answered
Simulink - Multiplication of Two Sine Signals (i couldn't understand the logic)
Question 1: How does the value of the signal dimension ( [5x1] ) was created? I mean which parameter for sine wave dis affect th...

4 years ago | 1

| accepted

Answered
For spectroscopic analysis is it better to use a fft, a spectrogram (short Fourier transform), or a discrete Fourier transform?
The FFT, implemented in Matlab by the fft() function, is just an algorithm for computing the Discrete Fourier Transform (DFT) of...

4 years ago | 0

Answered
Replacing symbolic subexpression with unspecified arguments
Not 100% clear on the question. Maybe this? syms a1 a2 a3 a4 x1 x2 x3 x4 syms a x y(a,x) = sin(a * sin(x)) y(a2,x2)

4 years ago | 1

Answered
Incorrect Frequency response from Transfer Function
The frequency input to freqs is in rad/sec. If you want to match the correct output, the code will at least need to be: whz = ...

4 years ago | 0

| accepted

Answered
How to determine the transmittance of a closed system using symbolic calculations?
Correct that feedback(), tf() and Control System Toolbox functions in general don't work with sym or symfun objects. Within the ...

4 years ago | 0

Answered
FFT gives wrong answer for a generating function
Define the function to evaluate f(theta) ffunc = @(theta) (theta.^4 + 1); % only valid between -pi and pi, zero otherwise Defi...

4 years ago | 0

Answered
Transfer function error help
The denominator is missing a * multiplication. Maybe you meant: [L*C*(R1+R2)*(R1*R2*C + L) R1] Note the * between the two t...

4 years ago | 0

Answered
How to calculate the norm of the transfer function in frequency domain?
Check out doc tf to learn how to create a transfer function (tf) object. Once you have G(s) defined as a tf object use bode() ...

4 years ago | 1

Answered
Spectra replica after sampling a continuous time signal
Here is an illustration using a different signal; maybe it will provide some insight into your specific problem. Define a conti...

4 years ago | 1

Answered
How to find the area under part of the histogram
Replace sum() with cumsum() and then subtract to get the area between two bins of interest? doc cumsum

4 years ago | 0

Answered
What is wrong with my Code? (Fast Fourier Transform)
The problem can be solved symbolically or numerically. First symbolically. % define duration and frequency Td = 0.002; fc = ...

4 years ago | 0

Answered
How to find IDTFT of an array in matlab?
As @Matt J noted, you can specify the frequency vector that freqz should use to cover whatever frequencies are desired. Or freq...

4 years ago | 0

| accepted

Load more