# Paul

**Statistics**

RANK**57**

of 279.933

REPUTATION**2.955**

CONTRIBUTIONS

**72** Questions

**1.107** Answers

ANSWER ACCEPTANCE **
40.28%
**

VOTES RECEIVED**357**

RANK

of 18.776

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Numerical problems when plotting with fplot

Hi FRANCESCO, I can't explain the inner workings of fplot, but I too have had occasion where it comes up with odd results. Her...

ongeveer 7 uur ago | 0

Reloading handle objects from .mat files

Hi Matt, It looks like two of the properties are changed, either on the save or on the load. h=plot(1:5); save tst h h2=lo...

4 dagen ago | 0

| accepted

Is there a distinction between the D term and the derivative component of the PID controller?

If P = I = 0, and D = 1, we're left with: PID(s) = N/(1 + N/s) = N*s/(s + N) With the block parameter value of N = 100 PID(s)...

4 dagen ago | 0

| accepted

Question

What are Your Thoughts on TMW Using Answers as Source of Documentation?

This Question has an answer that links to this doc page. That doc page, in turn, has a direct link to another Question/Answer (...

6 dagen ago | 1 answer | 0

### 1

answerneed help in understanding with feedback command

Hi shipra, In accordance with the the doc page feedback, the first argument is the forward path gain and the second argument is...

7 dagen ago | 0

| accepted

Is it possible to change the unit of reluctance block of MATLAB from m.file?

It appears this can be done via typical set_param commands. For example, I have a Reluctance block selected in my model: set_pa...

8 dagen ago | 0

Average columns together that share a common value

D = [1, 25 3, 33 3. 45 2, 22 4, 54 4, 56 5, 23 5, 65 1, 27 2, 29]; [G,ID] = findgroups(D(:,1)); [ID splitapply(@mea...

9 dagen ago | 1

How do i plot poles of three matrices using different marker for each matrix on same plot using either pzmap or pzplot?

Hi Kamilu, The code calls pzmap twice in the D==70 case. The code checks for a case with D == 7, but the second element throug...

9 dagen ago | 0

How to include a model (created by me at Simulink) in Matlab script?

Hi jana, Can you clarify this statement: "I couldn't use the state space representation because I have a disturbance acting on ...

10 dagen ago | 0

| accepted

State-space input response

Hi Yasin, You can create a model using ss. Wtih that model you can simulate the repsonse to the initial condition and the input...

12 dagen ago | 0

| accepted

How to access only the first element of the variables in a structure array as a vector?

One option S(1).Location = [1 4]; S(2).Location = [4 15]; S(3).Location = [3 7]; L = arrayfun(@(S) S.Location(1),S)

13 dagen ago | 0

| accepted

Algebraic loop error - Simulink

Hi John, The model equations as implemented are: (1) actual_height = new_height (2) new_height = displacement + actual_heigh...

14 dagen ago | 0

Zero pole with 2 poles change s value

I guess you'd first rewrite it in zpk form as K1*Tm/(T1*T2) * (s+1/Tm) / ( (s + 1/T1) * (s + 1/T2) ) so the gain is K1*Tm/T1/T...

14 dagen ago | 1

I don't understand this command : F=find(B>4)

B is a 2D matrix. B=[1 2 3 4; 5 6 7 8] This command finds the "linear indices" of the elements of B that satisfy the criteria ...

14 dagen ago | 2

Filter coefficients from frequency response with invfreqs/invfreqz

Assuming that f_APSD is in Hz, the filter, h, below gives a reasonable match to APSD. df = 0.1; f_a = 20; f_b = 100; f_c = 30...

14 dagen ago | 1

| accepted

Use Simulink PreSimFcn to set metadata in a Simulink.SimulationOutput object

Hi Afzal, You can store data into the Simulink.SimulationOutput object via the SimPostFcn. Here is an example.

14 dagen ago | 0

Confusing error when choosing the appropriate loop opening location for TuningGoal.Sensitivity()

Hi Dhilen, The error message shows up because CL0 does not include those analysis points R_f = 0.1; L_f = 8*10^-3; R_li = 20...

15 dagen ago | 2

| accepted

Simulink: how to define variable that will remain constant during duration of simulation and use in MATLAB function blocks

For part a), a Tapped Delay block seems like it meets the need. For part b), in the absence of any other information, feed the ...

15 dagen ago | 0

| accepted

Huge scaling factor on amplitude in NUFFT vs FFT

In the fft section, the variable dft_trajectory is defined as % dft_trajectory = abs(fft(raw_trajectory(:,i))/m); but t...

15 dagen ago | 1

How to modify H-infinity controller set up to scale controller output?

Hi Jiten, I believe there are some issue with the code, which I've modified as follows. Define the plant b1 = -356.3851; b2 ...

16 dagen ago | 1

| accepted

Working with cell arrays

example = [ 5 2.3 1.7 5 0.2 9.1 99 3.3 3.6 99 4.1 3.2 99 5.1 2.2 103 1.1 6.8 ]; G = findgroups(example(:,1)); A = spl...

25 dagen ago | 0

| accepted

Commenting out Simulink block changes in unrelated system

Hi John, Do you have reason to believe that either pair of responses is correct? Just asking because having some idea what the ...

27 dagen ago | 1

| accepted

Extract contents of cell array based on rows

Without having example data to try .... result = cellfun(@(A) A(:,3)>3,A,'UniformOutput',false);

29 dagen ago | 0

| accepted

More accurate alternative to rlocfind to analyze root locus in control systems engineering

Link to answer to a similar question

29 dagen ago | 0

How to convert a transfer function into state space representation?

The state space realization of a transfer function is not unique. In fact, there are infinitely many state space realizations t...

29 dagen ago | 0

Storing Arrays in a Matrix

Hi Edoardo, The ; concatenates the elements vertically. Use a , to concatenate horizontally x = (1:3).'; y = (4:6).'; % examp...

ongeveer een maand ago | 1

| accepted

How can we reduce block diagrams in MATLAB using codes?

Hi Hind, Start with this doc page to see options on how to represent each of the Gi and Hi in the diagram. Then see this doc p...

ongeveer een maand ago | 0

How would I plot signal energy of a .wav file making sure that time is the value of the x-axis?

Hi Andrew, The energy in a signal is a single number, so it's not clear how one would plot that. The instantaneous power is a ...

ongeveer een maand ago | 0

How to find total Steady-State Error due to reference and disturbance

Hi Vivianne, If this problem is to be attacked using the Final Value Theorem, we can proceed either numerically or symbolically...

ongeveer een maand ago | 0

| accepted

How to change globaly "Sample Time" to milliseconds?

In the Simulink model, you can make the stop time whatever is desired. The simplest way is to just replace the 20.0 with whatev...

ongeveer een maand ago | 0