Community Profile

photo

Paul


Last seen: Today 2011 以来アクティブ

Statistics

All
  • Thankful Level 3
  • Knowledgeable Level 4
  • Pro
  • 12 Month Streak
  • Revival Level 1
  • First Answer
  • Solver

バッジを表示

Content Feed

表示方法

回答済み
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...

1日 前 | 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...

2日 前 | 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...

2日 前 | 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 ...

5日 前 | 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 ...

6日 前 | 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...

7日 前 | 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...

9日 前 | 0

| 採用済み

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

9日 前 | 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...

10日 前 | 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 ...

10日 前 | 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...

11日 前 | 0

| 採用済み

回答済み
Problem with amplitude and smoothness of FFT
The time domain signal, Signal, is not a sum of pure cosines because of how Digit is calculated, so we shouldn't expect its fft ...

11日 前 | 1

| 採用済み

回答済み
how can i use mvnrnd function?
I'm not exactly sure what the question is. If the question is: how to draw hundres of samples from the multi-variate normal dis...

11日 前 | 0

回答済み
problem in summation of two transfer function
sys1 = tf(1,[2 1]); sys2 = tf(2,[2 1]); sys3 = sys2 + sys1 minreal(sys3) minreal(parallel(sys1,sys2)) minreal() normalizes ...

12日 前 | 0

| 採用済み

回答済み
Error in using eval statement
There's almost certainly a better way to organize the data and store the results, but if you must use eval: ['Energy_H_A',num2s...

12日 前 | 0

| 採用済み

回答済み
How can I fix this Error?
Let's look at what we have so far with a sight change in notation that might make it clearer to read and a path to a general sol...

14日 前 | 0

回答済み
Find poles and zeros of transfer function
That error shows up because minreal() and ss(), etc. are functions in the Control System Toolbox. Those functions cannot accept...

15日 前 | 0

| 採用済み

回答済み
Define and Use Structure Parameters in Simulink
Do you actually have a variable in the base (or model, I suppose) workspace named 'struct'? That would be odd because struct is...

16日 前 | 0

| 採用済み

回答済み
Use an array as input and output in Simulink
The unit delay block can handle arrays. Did you try it and run into an error?

17日 前 | 0

| 採用済み

回答済み
Force zeros to be be symbolic
I'm not familiar with this? un',0 Can you show that in a cellfun command? In any case, diff() always returns a symbolic expre...

18日 前 | 0

回答済み
Simulink accelerometer flipping y axis?
I think the reason is .... The CG and ACC location vectors are resolved in "Flight Gear Coordinates (FGC)" (or a frame parallel...

18日 前 | 1

| 採用済み

回答済み
Generating a matrix with specific sums
Another solution: X = randi([0 400], 6, 6) kron(eye(3),[1 1])*X

20日 前 | 1

回答済み
Why is ySol(t) = Dsolve(ode,cond) wrong? What should it be instead?
I think the ode needs to be solved first, and then sub in the values of y(0) to get the family of solutions (if I understand the...

21日 前 | 0

回答済み
Fourier series and transform of Sinc Function
Hello @cikalekli, The second and third graph are both plots of the magnitude of the sinc() function, so it would appear that th...

21日 前 | 1

| 採用済み

回答済み
How can i plot frequency contect of the signal with TF code?
The bode() command is one way to compute and visualize the frequency response of the transfer function. doc bode

23日 前 | 0

| 採用済み

回答済み
im trying to plot this function, y= (exp(1i.*k.*pi./10).*(1-exp(-1i.*k.*2.*pi)))./(20.*(-1+(exp(1i.*k.*pi./10))));
syms y k y= (exp(1i.*k.*pi./10).*(1-exp(-1i.*k.*2.*pi)))./(20.*(-1+(exp(1i.*k.*pi./10)))); y is complex valued, e.g. subs(y,...

24日 前 | 0

回答済み
Error using subs function of Symbolic Math toolbox
Use Torsten's suggestion, or syms a b S f(a,b,S) = a+a*b + b*S; Data =[ ]; for i = 1:10 Data =[Data ; [i, f(1,2,i)] ]; ...

24日 前 | 0

| 採用済み

回答済み
How does the division operator work with transfer function objects?
Let's solve a simpler problem "by-hand" using the zpk format to see what's happening. Define the plant model: G = zpk([-1],[-2...

25日 前 | 1

| 採用済み

もっと読み込む