Community Profile

photo

Paul


Last seen: Today Active since 2011

Statistics

All
  • Guiding Light
  • 24 Month Streak
  • Thankful Level 4
  • Knowledgeable Level 5
  • Revival Level 1
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
How do I obtain the transfer function of this model? Simulink Linearization
Hi Jacob, The Simulink linearization is coming up with the correct answer as far as I can tell: r3=0.0254; %R3 (meters) r2=0....

13 hours ago | 0

| accepted

Answered
How can I compute structured singular value with repeated full complex blocks as allowable structured uncertainty
I think the model can be refactored so that instead of having three, Ny x 3*Ny full block uncertainties you have 3*Ny^2 diagonal...

2 days ago | 0

Answered
Frequency input to Transform Function
Hi Nerma, Check freqresp. The second argument should be a real vector of frequencies (typically > 0). The multiplication by 1j ...

3 days ago | 0

Answered
How to solve a system of linear homogeneous equations in which the unknowns are column matrices?
Hi Celso Accroding to linsolve: "If the system does not have a solution, linsolve issues a warning and returns X with all eleme...

3 days ago | 0

Answered
Vertical line for Bode plots
Hi, Nerma, xline draws the line in the current axes, which appears to be the phase axes, which aren't visible. So we can do thi...

4 days ago | 1

| accepted

Answered
Plotting the distance between 2 time stamped sets of 100hz Navigation data (difference in Latitude & Longitude)
Hi John, As always, it's best to post some sample data and code and then explain what you think isn't working or what you'd lik...

4 days ago | 0

Answered
How to plot the movement of system roots(poles) with variations to a free system variable
Hi Sohail, Let's let a2 = 1; a1 = 1; We can still set up the problem for using root locus sys = tf(1,[a2 a1 0]); % D(s) = 0 ...

5 days ago | 0

Answered
Why does yulewalk produce an unexpected dip in the middle?
Hi Nathan, Here's the original code from the question. % Get data clc;clear;close;format compact; format short g; Fs = 48000...

5 days ago | 0

| accepted

Answered
Solving a system of equations
Hi Mitra Maybe this will extend to the larger problem. syms x1 y1 z1 x2 y2 z2 syms a [1 20] A=[x1,y1,z1,0,0,0,1].'; B=[a1,a...

5 days ago | 0

Answered
How to return function arguments as a struct?
Change the signature of the function to function out = designSpec(varargin) At the bottom of the function assign to the struct...

10 days ago | 0

| accepted

Answered
When simulating the response to a specific input signal, the input data U must be a matrix with as many rows as samples in the time vector T
Hi Federico, If sysansq_equi.B has five columns then INPUT_equi must also have five columns. Also, the number of rows of INPUT_...

11 days ago | 0

| accepted

Answered
How to concatenate elements in cell array to a vector?
Q= [23 34; 44 55; 56 71; 63 49; 71 30]; B= [12 13; 10 99]; C{1}=Q; C{2}=B; Output = reshape(vertcat(C{:}).',1,[])

13 days ago | 1

| accepted

Answered
FFT convolution and iFFT process
Hi Yassine, What does this mean: "df (can be variable),"? df should be a constant for all of FT. Is that not the case? Let's...

13 days ago | 0

Answered
Accelerance FRF with modal FRF?
The two blue curves look pretty close, perhaps just off by a scale factor (except for the dip at ~600 Hz?). Those curves are the...

14 days ago | 1

| accepted

Answered
How to plot imported data into matlab equations
One way that uses symbolic (which isn't really necessaray) syms omega mu epsilon sigma h k1 = omega .* sqrt((mu .* epsilon)/(2...

15 days ago | 0

Answered
The numerator returned from ord2 function is not directly compatible with tf2zpk function.
Hi James, I'm not sure this really is a problem; all functions are working as documented. A shorter way to get the z,p,k of the...

16 days ago | 0

| accepted

Answered
Symbolic solve with user-specified precision
Hi @Kylekk Perhaps I don't fully understand the Question, but I don't think there's a way to force the Symbolic Toolbox to find...

19 days ago | 0

Answered
Determining highest power frequency in noise signal
Hi Walter, The original code in the question subtracted the mean of the entire signal (T), not the mean of just the portion to ...

20 days ago | 0

Answered
Multivariable Zeros using Generalised Eigenvalue Problem
Is tzero what you're looking for?

21 days ago | 0

Answered
How do i delete the spaces that are in the middle of a string array?
replace seems to do the trick Single char: str=' 123 456 '; replace(str,whitespacePattern,'') Cell array of chars rep...

21 days ago | 0

Answered
diffrent plots if I add the command assume (0<=t) why ?
I suggest getting in the habit of using heaviside for problems like this syms t f_t3 = cos(12*t)*exp(-0.4*t)*heaviside(t); f_...

24 days ago | 1

Answered
44.1 kHz Sample Rate
The main question is: why is there a magnitude peak, even after the signal has been filtered? If the input to a stable, linear ...

25 days ago | 1

Answered
Introduce step signal after system response
Hi mikel, No need to use ode45 for this particular problem. The delayed step response with initial conditions can be obtained a...

27 days ago | 1

| accepted

Answered
What is the use case for ifft's trailing zero padding? Why is that the default?
Hi Kevin, I think the title question is misleading. The result of zero padding ifft is not incorrect. It does exactly what it c...

28 days ago | 1

| accepted

Answered
How to find empirical and estimated (Weibull) probability density
fitdist might do the trick for fitting the distribution

28 days ago | 0

| accepted

Answered
unexpected object of type 'RootOf'
I'm going to speculate that the denominator of Zges*rect in Aufheiz6Var is of too high of an order for the Symbolic Math Toolbox...

29 days ago | 1

| accepted

Answered
Changing delay length to solve algebraic loops
Refering to the block diagram at the top of the question .... Would it be correct to replace the IC block with a Constant block...

29 days ago | 0

| accepted

Answered
Calculate Impedance of circuit using laplace transform.
Assuming that the input voltage has a Laplace transform, you can multiply Zges with the Laplace transform of the input and take ...

1 month ago | 1

| accepted

Answered
I am trying to plot this piecewise function using for loop and if statements, yet I keep receiving error message: Array indices must be positive integers or logical values.
Hi Errol, The error message shows up because the code uses g as a subscript into C, and g takes on non-integer values. But g is...

1 month ago | 0

Answered
Using mscohere() on two Signals with different sampling frequencies each
resample might be useful to bring the sampling rates together. Lots of options involved, so probably want to experiment to make ...

1 month ago | 0

Load more