Réponse apportée
Find indices of multiple strings within another string
It looks like using string variables with an inner loop is much faster than a cell array with cellfun, at least here on Answers ...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to do Pade approximation with different order of numerator and denominator in Matlab
The Sybolic Math Toolbox has a function pade() where the order of the numerator and denominator can be specified separately. The...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Root Locus system description at given point not showing up
Is there any chance that you have some local version of rlocus() that is shadowing the Control System Toolbox? What is the outpu...

environ 4 ans il y a | 1

Réponse apportée
Analog Bessel filter output problem (nan)
The num and den inputs to filtfilt() are for a discrete-time filter. But besself() returns the numerator/denominator for a cont...

environ 4 ans il y a | 0

Réponse apportée
Fourier expansion of dirac delta function
Increasing n to better approximate the infinte sum yields L=10; F0=10000; v0=1; t=4; x=-10:0.1:10; n=400; f=0; for i=1:n...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
squeeze function returning "NaN"
squeeze() can't ignore anything. If the input to squeez() is 1 x 1 x 33 matrix of NaN, the ouptut will be 33 x 1 of NaN. What ...

plus de 4 ans il y a | 0

Réponse apportée
Sum in two variables for response of NON-LTI discrete time system
Hi @ALESSIO MANIÀ 1. The loop should be over n, beause each time through the loop it should be computing y(ni), i.e., a single ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How can I normalize my filter?
Hi @Amy Lg Why is fs defined and then multiplied by 1e9 in the call to bilinear? Which I guess might be o.k. but perhaps isn't...

plus de 4 ans il y a | 0

| A accepté

Question


Is There a Way to disp a sym Double Subscript?
dips() works fine with a single subscript disp(str2sym("E_omega")) Double subscript looks odd disp(str2sym("E_omega_n")) Any...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
What does my Root Locus response mean? Why is it different?
Hello @Joel Okanta The root locus is much more general than as suggested in the Question. Given a system described by an open l...

plus de 4 ans il y a | 0

Réponse apportée
Solving a nonlinear system differential equation using symbols
When using ReturnConditions, the outputs need to include Parameters and Conditions, or use only a single output syms a b c d e ...

plus de 4 ans il y a | 0

Réponse apportée
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 ...

plus de 4 ans il y a | 0

Réponse apportée
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.

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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.

plus de 4 ans il y a | 0

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

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
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 ...

plus de 4 ans il y a | 1

Réponse apportée
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...

plus de 4 ans il y a | 1

Réponse apportée
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...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 1

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 1

Réponse apportée
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 ...

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 1

| A accepté

Charger plus