Answered
About comparision results mismatch in System Identification Toolbox
Most likely the issue is due to not using the proper initial conditions as explained in the previous <http://www.mathworks.com/m...

13 years ago | 0

Answered
How can I determine the gain that is needed to get a second order closed loop system to oscillate indefinitely?
Can you paste your code. Seems like you are doing the right thing. Here is the code that does what you want. s=tf('s') ...

13 years ago | 0

| accepted

Answered
not getting how to plot output sensitivity using bode diagram in simulink
Yes, that should give you 1/(1+P*C), where C is the transfer function corresponding to your inner loop.

13 years ago | 0

| accepted

Answered
pid controller block parameter
Hello Nitin, PID Tuner works by linearizing the model. It then uses the linearized model to come up with the gains. It is v...

13 years ago | 0

| accepted

Answered
I am trying to find if Matlab has a data-based auto tuning of PID function?
There is no single function that does data-based PID autotuning. You need to do this in 2 steps. First identify a transfer funct...

13 years ago | 1

| accepted

Answered
Problem while generating C-Code from a fuzzy controller in Simulink
answered <http://www.mathworks.com/matlabcentral/answers/51288-error-parameter-cannot-be-evaluated here>.

13 years ago | 0

| accepted

Answered
How do i simulate a solar PV module in Simulink
You might start by watching this <https://www.mathworks.com/company/events/webinars/wbnr57525.html?id=57525&p1=869881767&p2=8698...

13 years ago | 0

| accepted

Answered
How to implement fuzzy inferrence rule by using matlab?????
You can use <http://www.mathworks.com/products/fuzzy-logic/ Fuzzy Logic Toolbox> for that. Product page has links to example, an...

13 years ago | 0

| accepted

Answered
How to represent Simulink block diagrams to transfer functions?
There is a function <http://www.mathworks.com/help/slcontrol/ug/linearize.html _linearize_> in Simulink Control Design add-on th...

13 years ago | 2

| accepted

Answered
How to export a Fuzzy-controller to C-Code
Please take as look at <http://www.mathworks.com/help/fuzzy/simulation-and-deployment.html this section> of the doc. If you n...

13 years ago | 0

| accepted

Answered
how to plot frequency domain response in simulink ?
You can also use the tool called Simulink Control Design. It lets you linearize your model analytically, so you can compute and ...

13 years ago | 0

Answered
how to use lsim command in matlab ?
Is the code you provided giving you an error? Once you build your transfer function from n to y, you should be able to simulate...

13 years ago | 0

| accepted

Answered
Creating a transfer function from a frequency sweep FFT
You can do that using <http://www.mathworks.com/products/sysid/ System Identification Toolbox>, or using <http://www.mathworks.c...

13 years ago | 0

| accepted

Answered
Change bode frequency units with idfrd data
G = chgunits(G,'Hz') does it for me in R2013a. You can also right click on the bode plot, Properties, Units, and set unit...

13 years ago | 0

| accepted

Answered
bode plot for a equation containing signum function ?
Bode plot only "works" for linear time-invariant systems. Yours is not. Maybe if you explain why you are trying to create a bode...

13 years ago | 0

Answered
How does the Simulink PID-Autotuner work?
PID Tuner uses a proprietary algorithm that we developed and patented. So it is bit of black box. This <http://www.mathworks.co...

13 years ago | 0

| accepted

Answered
PID Controller- not for simulation
Based on your clarification, it seems you want to do real-time control of the actual process. A typical workflow for that: model...

13 years ago | 0

Answered
simulink pid tuning error
PID Tuner works only with Single Input Single Output loops. Is the error signal feeding into PID Controller block a scalar or a ...

13 years ago | 0

| accepted

Answered
how can i imploy pid on a mass spring damper showing a car model in m file using oe45
It would be easier to do with state space or a transfer function, like you saw in the tutorials. If you want to use ode45, you w...

13 years ago | 0

Answered
problem with PID tuning / Estimating frequency response of simulink model
It is hard to troubleshoot without seeing the model. The fact that you are using SimPowerSystems makes it possible that you have...

13 years ago | 1

| accepted

Answered
How to do discrete fuzzy logic in simulink
One way to do it is to add a <http://www.mathworks.com/help/simulink/slref/zeroorderhold.html Zero-Order Hold block> to the inpu...

13 years ago | 0

Answered
Filter coefficient (N) in PID block?
The code would look like that. FilterCoefficient = (Kd * u - Filter_DSTATE) * N; y = (Kp * u + Integrator_DSTATE) + ...

13 years ago | 0

| accepted

Answered
want help about controller design
Maybe these links will help: - <http://www.mathworks.com/help/control/ref/lqg.html lqg> - <http://www.mathworks.com/help/r...

13 years ago | 0

| accepted

Answered
How to call fuzzy controller in matlab mfile
I think you are looking for <http://www.mathworks.com/help/fuzzy/readfis.html this> and <http://www.mathworks.com/help/fuzzy/ev...

13 years ago | 0

| accepted

Answered
Trimming a subsystem in simulink
Yes, you can do what you are trying to accomplish. As you said, you can linearize the subsystem, but what you cannot do yet is ...

13 years ago | 0

| accepted

Answered
Control Design: Linearization at multiple operating points simultaneously
Hi Stephan, We released new Linear Analysis Tool in R2011b. It brings some new capabilities (interactive frequency response e...

13 years ago | 1

Answered
how can i properly use evalfis function for evaluating fis structure????
Hard to troubleshoot with the limited information you provided. Please go ahead and submit a <http://www.mathworks.com/support/c...

13 years ago | 0

Answered
Bode plot of simulink model with resetting integrator
Frequency sweep is probably the best way to do it. Just to let you know, this functionality is already part of Simulink Contro...

13 years ago | 1

| accepted

Answered
How to use frest.Sinestream to create a sine wave sound
_frest_ is part of Simulink Control Design. You need to have a license of this product to use _frest_. I ran your code and was a...

13 years ago | 0

| accepted

Answered
Problems with idnlgrey object simulation
This issue was addressed several times previously, here is a link to the <http://www.mathworks.com/matlabcentral/answers/46474-s...

13 years ago | 0

| accepted

Load more