답변 있음
Step response and Impulse response of IIR filter
Hi Alex, It would be helpful to know the value of temp. Absent that, it seem like [hstep,tstep] = stepz(sos); hstep = hstep*...

27일 전 | 0

| 수락됨

답변 있음
It looks like the input sine wave is sin(2*pi/2*t) = sin(pi*t) The output of the integrator should be -1/pi*cos(pi*t) + C B...

29일 전 | 1

| 수락됨

답변 있음
Double click the ToWorkspace block and increase the Decimation parameter. If you really need all of the data, maybe something m...

약 1달 전 | 0

답변 있음
Designing an Observer - Control System
I don't think you're going wrong anywhere (though you might want use size(Aa,1) instead of length(Ca) in a few places). I think ...

약 1달 전 | 0

답변 있음
Plot a 2D Gaussian prior
Something like this? mu = [1 1]; Sigma = [1 .7*1*sqrt(2); .7*1*sqrt(2) 2]; [X,Y] = meshgrid(-2:.1:4); p = mvnpdf([X(:) Y(:)]...

약 1달 전 | 0

| 수락됨

질문

Is exp() a Documented Function in the Symbolic Math Toolbox?
I can't find it.

약 1달 전 | 답변 수: 3 | 0

### 3

답변

답변 있음
Try using the LTI System block.

약 1달 전 | 0

| 수락됨

답변 있음
Calculate convolution of two given continuous signals in matlab
Assuming a closed form solution is desired this problem can be solved with the Symbolic Math Toolbox syms rectangularPulse in...

약 1달 전 | 1

답변 있음
Why do the eul2quat and quaternion functions differ on the calculated results?
Hi cui, I think that both eul2quat and quaternion('frame') are using, right-handed, intrinsic rotations and the sequence of rot...

약 1달 전 | 0

답변 있음
roots(x) vs root= interp1(y,x,0)
The query points in x are spaced too far apart for the linear interpolation used by interp1 to be accurate relative to the actua...

약 1달 전 | 0

답변 있음
Fourier transform of a rectangular pulse
Hi Luke, Your original code was o.k. except for plotting against t. It is typically plotted against an array of frequencies. Al...

약 1달 전 | 1

답변 있음
Calculation of Phase margin
Hi T, it's a tricky problem becase of the shape of the gain curve around the phase cross over frequency. w=1.4910; k=sqrt((w^4...

약 1달 전 | 0

| 수락됨

답변 있음
Find the impulse response
Hi Marina, Sometimes the Symbolic Math Toolbox works in mysterious ways and it is difficult to manipulate expressions into simp...

약 1달 전 | 1

| 수락됨

답변 있음
Function 'odeToVectorField' introduces undesired 'free' variable
By default, the Symbolic Toolbos assumes all variables are complex. So using the ' operator, which is the complex transpose oper...

약 1달 전 | 2

| 수락됨

답변 있음
Within a script, can I close or redirect a Windows File Explorer window opened with 'winopen'?
Maybe using an actxserver is a viable approach. I've used it for interacting with Power Point. It's not so bad once you get the...

약 1달 전 | 0

답변 있음
How can I remove this error?
Either: a) double click on the Audio Device Writer block and uncheck the box for Inherit Sample Rate from Input and set the des...

약 1달 전 | 0

| 수락됨

답변 있음
I'm not sure if a user defined MATLAB function is executing or not in Simulink.
Consider replacing the threshold crossing detection functionality in spike_checker with a self resetting integrator. Feed the s...

약 1달 전 | 0

답변 있음
Different results when compearing DFT from fft to the "real" fourier transformation
Hi Lillebror, Referring only to the code in the original question, it looks like there is a mix up between the variables used t...

약 1달 전 | 1

답변 있음
What frustrates you about MATLAB? #2
It would be nice if I could open a file in the editor as read-only, click somewhere to set the editor for read only after a file...

약 1달 전 | 0

답변 있음
Most effective way to solve nonhomogeneous linear ODE problem
Hello Michal, Following up on this comment, I'd be concerned about the solution of the "reference" method if that's what's bein...

약 1달 전 | 1

답변 있음
Discrete Transfer Function Truncating Signal?
If the sample time of the DTF block is 0.3, and the simulation runs for 20.1 - 20.39999999 seconds, there should be 20.1/0.3 = 6...

약 2달 전 | 0

답변 있음
Simplify Transfer Function Matrix from State Space Form
Hi Diego, It looks like the code used the Symbolic Math Toolbox? If so, there's no need to go that route unless you really nee...

약 2달 전 | 0

| 수락됨

답변 있음
nufft wrong result ?
Hello Kraka, Have you tried setting up your query points to exactly include f = 0.025? Also, it wasn't clear why the plot comma...

약 2달 전 | 0

| 수락됨

답변 있음
How to find the eigenvectors for multiple degree of system?
Hello KG, Divide each mode shape by its first element so that the first element of each mode shape is unity. M=[3 2 1;2 2 1;1 ...

약 2달 전 | 1

질문

Does ArrayValued Affect the Efficiency of Integral()
Suppose I want to numerically integrate a function of a scalar that returns a vector f = @(x) [1 ; sin(1000*x)]; To integrate ...

약 2달 전 | 답변 수: 1 | 1

### 1

답변

답변 있음
mirroring a magnitude response of a filter from -1 to 1
freqz() takes a third input that allows you to specify the frequency vector. n1= 15; %order Fs= 100; %sampling frequency fc= ...

약 2달 전 | 0

답변 있음
How to reformat the display output precision of e.g. the TF() function?
The function poly2str in the CST may be of interest, I think that the numerical formatting is governed by a single line, so I g...

약 2달 전 | 0

| 수락됨

답변 있음
partial sum of a series
Hi SSBGH, To plot the function, we need a set of x-values to plot over. As you've done, define the function and the CFS coeffi...

약 2달 전 | 0

답변 있음
Fourier coefficients of a function
Hi SSBGH If you want a closed form solution, use the symbolic toolbox to define f(x) syms x f(x) = .... Once you have that y...

약 2달 전 | 0

| 수락됨

답변 있음
Fast Fourier Transform function
The code in the question is plotting R vs index, but it sounds like the goal is to plot R vs frequency (Hz). So we need to comp...

약 2달 전 | 1

| 수락됨