**Statistics**

RANK**784**

of 295,211

REPUTATION**94**

CONTRIBUTIONS

**3** Questions

**40** Answers

ANSWER ACCEPTANCE **
33.33%
**

VOTES RECEIVED**13**

RANK**2,143** of 20,193

REPUTATION**821**

AVERAGE RATING**5.00**

CONTRIBUTIONS**1** File

DOWNLOADS **232**

ALL TIME DOWNLOADS**5959**

RANK

of 153,380

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

I have trouble getting MATLAB to increase altitude or plot tail height upward when I use a positive number. I have to use a negative number. Why is this???

The NED (North East Down) coordinate system is positive in the plane crashing direction. That's why it is good to use a negative...

5 months ago | 0

| accepted

Error/Mismatch in determing impedance using fft in simulink imported data.

@Md. Golam Zakaria You can use the variable step solver and force it to output at fixed intervals by putting a "Sample time" val...

6 months ago | 1

FFT of a frequency sweep using logarithmic spacing.

Here is some code to perform the logarithmic chirp normalization. % Define parameters clear norm N = 1; % Ch...

6 months ago | 1

| accepted

FFT of a frequency sweep using logarithmic spacing.

The correction factor for a linear chirp is sqrt(beta) / df, where beta is the chirp rate in Hz/sec and df is the FFT bin size i...

6 months ago | 1

Simulink to see Fourier

I put it in a Matlab Fcn block and it seems to work. See the attached file for details.

7 months ago | 0

Submitted

Frequency Response Analyzer

Perform frequency analysis of your Simulink model without linearization

10 months ago | 233 downloads |

PV MPPT Tracking Failing PV Array Current or Volatge Goes negative

Hi Ishaan. I found that a perturbation of 1% (Constant2 with value of 1) was too large in the controller. If you reduce the Cons...

2 years ago | 0

| accepted

Model error in Simulink

It is having problems simulating an ideal op amp with infinite gain. If you intend on configuring the LM386 op amp as an invert...

2 years ago | 0

create a variable that changes its value(polynomial equation) for different time periods

Maybe something like this.

2 years ago | 1

Adding noise to a PID signal

Hi Nathan, You can use the lsim command to get a general response of your controller. I think you want to see the response when...

2 years ago | 0

Question

Why the different response of two Simulink models?

Here is a follow-on question to this original question: How can I remove the few peaks before the overshoot, so I only have the...

2 years ago | 1 answer | 0

### 1

answerHow can I remove the few peaks before the overshoot, so I only have the overshoot peak and then it directly transition into steady state?

My bad. Change I to 300.

2 years ago | 0

How can I remove the few peaks before the overshoot, so I only have the overshoot peak and then it directly transition into steady state?

Hi Samuel. I found tuning the derivative to be difficult too. Eventually I settled in on P=3.5, I=850, D=0.01 and N=850. The def...

2 years ago | 0

| accepted

Can you let me know how to solve my errors? there are 4 errors in my simulink.

You had two issues. One was the integrators in Current_Controller were implimented using the Memory in the feedback path causing...

3 years ago | 1

| accepted

Data type mismatch error in Simulink

I saw a number of other issues in this model. 1) I think the inverter needs a ground reference added on the emitters of the low...

3 years ago | 0

| accepted

I need more explanations for the described hydraulic simulation

The pump in this model acts in a fixed displacement mode that produces a given flow rate regardless of its output pressure. When...

3 years ago | 0

Filter background from audio file

Check out this previous answer. A different type of owl, but the same concept. Using Spectrogram to Design a Filter - (mathwork...

3 years ago | 0

Simulation of the step response of a time delay system with a PID controller is contorted.

Those sharp transients in the closed loop response are the echoes of the step input as filtered by the transfer function that ar...

3 years ago | 0

3rd Order ODE on Simulink

I approximated the required doublet input into an update to my comment with a summation of two very short pulse generators.

3 years ago | 0

Why is my step response going down instead of up?

I would focus on your equation for zeta on line 60. It is resulting in a negative value (negative damping=bad!) which gives unst...

3 years ago | 1

| accepted

An electric circuit that includes a voltage source E with an internal resistance r, and a load resistance R is shown in the figure.

Probably late for your homework assignment. Can you write the equation for the power dissipated in R leaving R as a variable? Do...

3 years ago | 0

Unexpected noise in output voltage for buck converter

The Puse Generator has a period of 1/100000 seconds, which is injecting 100 KHz pulses into your system. The ripple is simply th...

3 years ago | 0

Reproduce electric motor maps as images in Matlab Simulink

A similar question was answered suggesting importing the image into Matlab and then using ginput to extract coordinates of the a...

3 years ago | 0

Determining time elapsed in between two successive pulses of a signal

I updated your code a bit and fed in an artificial signal. It works but has a slight error due to loop delays running on my comp...

3 years ago | 1

| accepted

How best to gather signals from all over a SIMULINK model to one subsystem

I moved your root model into a subsystem and used Bus Element Out(s), which was then connected to a new input on "get data" subs...

3 years ago | 0

A question about FOC current control for PMSM

The decoupling control is not quite correct for the PMSM motor you are using. You need to insert a multiplier by the number of p...

3 years ago | 1

| accepted

How to measure the steady state amplitude of a control system output

Try using this app. It injects a sine wave and measures the gain and phase after a number of cycles that you specify. https://w...

3 years ago | 0

How to programmatically know if a block is a sink block?

I had to add some complexity to your code to make it work on my sample file. modelfile = 'SinkXY';% Or whatever your model file...

3 years ago | 0

Need help with simple Simulink

This seems to do the trick. It produces the following result.

3 years ago | 1

| accepted

Simulation of a missile valve with Simscape

Hi Tom, A flip-flop will latch the valve shut once the flow reaches the threshold and keep it shut until you manually reset it....

3 years ago | 1

| accepted