回答済み
Interpretation of diskmargin()
The essence of a robust control system is that all points on the Nyquist plot of the loop transfer function be at a "far" distan...

4年以上 前 | 0

| 採用済み

回答済み
Construct i.i.d. Bernoulli variables with MATLAB
Following code illustrates the expected result with p = 0.4. I wasn't sure why the Question was using 3-dimensional matrices, s...

4年以上 前 | 1

| 採用済み

回答済み
Simulink transfer function matrix
If by delay transfer function you mean z^-1, the Delay block can accept an input of any dimension.

4年以上 前 | 0

回答済み
why my deconvolution want fit my analytique form?
For a real and b complex, the theoretical equations should be (illusrated with short sequences) a = rand(1,5); b = rand(1,5) +...

4年以上 前 | 0

| 採用済み

回答済み
how to substitute symbolic equation into symbolic equation, and to reorganize symbolic equations
syms epsilon_33 delta_0 d_33 s_33 f f_bl u k_s k_l n V A L_s t % known constants d_33 = 3400e-12; s_33 = 169e-12; f = 60; u...

4年以上 前 | 0

回答済み
How can I check if a cell array contains multiple strings without loops ?
Assuming that numerical indices are desired (as apposed to logical) % example data FileNames={'20-MAG-C-Z1-S0A','20-MAG-C-Z2-S...

4年以上 前 | 0

| 採用済み

回答済み
How to find constants of integral knowing initial conditions
Use solve() Raz=26.67*10^3; qo=20; L=3000; M=10*10^6; E=2.1*10^5; d=100; Izz=(pi*d^4)/64; syms x C1 C2 My_x=-Raz*x+(qo*...

4年以上 前 | 1

| 採用済み

回答済み
DSP Format Discrete Transfer Function Matlab
You can use freqz() if you want, Because filt() returns a tf object from the Control System Toolbox, bode() or bodeplot() functi...

4年以上 前 | 0

| 採用済み

回答済み
Find Bode Phase of Uncertainty models
I don't know if there is much control over what bode() does with a uss input, but you can get at the data in the plot after the ...

4年以上 前 | 0

| 採用済み

回答済み
Using rlocus() in MATLAB
Hello @Tb, The basic idea of the root locus is that is shows the location of the closed loop poles as a function of a gain, let...

4年以上 前 | 1

| 採用済み

回答済み
How to get Fourier transform of rectangular window as shown by wvtool function?. Why frequency domain of rectwin(M) using fft and wvtool are different?
It looks like wvtool is plotting the DTFT of rectwin(M) [h,w] = freqz(rectwin(64),1); figure plot(w,db(abs(h))) The DFT (as ...

4年以上 前 | 0

| 採用済み

回答済み
lsim and transfer fcn block in simulink output different results
Simulink uses a continuous-time differential equation solver. The specific solver and solver parameters, like step size informa...

4年以上 前 | 0

| 採用済み

回答済み
High-precision IFFT
Given that x is an array of high precision numbers, not symbolic expressions, it should be straightforward to implement the ifft...

4年以上 前 | 1

回答済み
How to plot Gauss sums ?
There are at least two problems with the code. Assuming you want to compute numerical values of s, the code can't reference s i...

4年以上 前 | 0

| 採用済み

回答済み
why margin() give positive phase & gain margin for unstable plant
I don't think margin() first verifies that the closed loop system is stable. It just applies the gain and phase criteria to the...

4年以上 前 | 0

| 採用済み

回答済み
Matlab recommends me to apply 'subs' command but I have already used it to convert a symbolic matrix into a numerical one. What fails?
It looks like there is still one or sym objects left in A_num after the command A_num = subs(A_simb, P_simb, P_num); What is t...

4年以上 前 | 0

| 採用済み

回答済み
Implementation of filter bank using fir1
Take advantage of the frequency shift property of the DTFT. For example Fs = 1000; f = (-0.5:.001:0.5)*Fs; L = 50; lpf = fi...

4年以上 前 | 1

| 採用済み

回答済み
dbode results in phase shift that is wrong (I believe)
dbode() callse bode(), which in turn has an algorithm that tries to "unwrap" the phase by adding multiples of 360 deg across the...

4年以上 前 | 0

| 採用済み

回答済み
How do I print a Simulink block's mask dialog?
Here is a way to get the mask parameters for a masked block, stored in a struct with field names the parameter names and field v...

4年以上 前 | 0

回答済み
Is applying a binary operator (+,-,*,/) to char arrays supported by MATLAB or just a "trick"
Not directly on point to the Question, but a related "feature" is that char vectors can be used to directly into index into arra...

4年以上 前 | 0

回答済み
Finding x for y = f(x) in simulink
According to the Symbolic Math Toolbox, the solution can be expressed as %iel = wrightOmega(uel/3 - log(3) - 2/3) - 1/3 assumi...

4年以上 前 | 0

回答済み
Unique workspace for each instance of Interpreted MATLAB Function block?
I think the way that you can do this with minimal changes to your overall approach would be as follows. If you're willing to cha...

4年以上 前 | 0

| 採用済み

回答済み
How do I implement this in discrete form
If the transfer fucntion of the controller, C(z), is improper (more zeros than poles), then its partial fraction expansion will ...

4年以上 前 | 0

回答済み
Array variable as parameter value in simulink
Use a Selector block. Choose the 'Index option' as 'Index vector - port'. Then connect A to the U port and feed the Indx1 port ...

4年以上 前 | 1

| 採用済み

回答済み
Create diagonal matrix from vector in Simulink without DSP toolbox and without knowing the dimension of the vector
The easiest way, perhaps not without drawbacks, is to use an Interpreted Matlab Function block. In the dialog box make the 'Matl...

4年以上 前 | 0

回答済み
Trying to demonstrate group delay but not seeing any in dsp.BiquadFilter.
I thought group delay shifts the low frequency envelope of the signal and phase delay (phase / frequency) shifts the high freque...

4年以上 前 | 0

| 採用済み

回答済み
check for new line in a string
These functions might help doc newline doc contains

4年以上 前 | 0

回答済み
I need help plotting this inverse Laplace Transform
Replace all instances of pi with Pi, defined as Pi = sym(pi); which is a good habit to get into regardless. Then you can stay...

4年以上 前 | 0

| 採用済み

回答済み
If z is a vector , what is the difference between angle(z) and atan2(z)
atan2() returns the answer in radians. So multiply it by 180/pi as for P2 and P3 (or use atan2d(), though atan2d() might result ...

4年以上 前 | 0

回答済み
How to integrate for each row of parameters in a matrix, rather than using a loop
integral() can integrate a vector function of a scalar. It sounds like this is what you're looking for. link to doc Whether or...

4年以上 前 | 0

| 採用済み

さらに読み込む