MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by amir
on 6 Jan 2013

Hello everybody, I'm studying the part Takagi-Sugeno.I found a example on internet but when I want to use its in Matlab, I do not succeed.I have trouble entering values in the functions Z, can you help me? http://www.bindichen.co.uk/post/AI/takagi-sugeno-fuzzy-model.html

*No products are associated with this question.*

## 3 Comments

## the cyclist (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/58076#comment_121034

People will generally be happy to help you here, if you

post your codeshowing what you have tried, and the specific error messages or problem you are having. Beconciseandspecificin your questions.## amir (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/58076#comment_121101

I tried with Fuzzy Logic Toolbox for this exercies.I defined Two-input single and output Sugeno fuzzy for this exercies ,for example :how I have to enter thess equations in fuzzy logic toolbox in following picture? z=-x+y+1, z=x+y+2, z=-y+3,z=-x+3 http://i46.tinypic.com/2rejyw4.png

## Ahmad Sheikh (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/58076#comment_258509

I saw your question regarding takagi sugeno fuzzy model...

i have used the same technique to find the state space model of inverted pendulum from non linear differtial equations...

the state space model is like this 2 dx/dt= Σ a(i) [Ai + Bi] i=1

where i=2, and a(i) are the two member ship functions,

i don't under stand how to plot the states of this takagi sugeno state space model...?

I shall be thankful if you can provide any help in this context.

I saw your question regarding takagi sugeno fuzzy model...

i have used the same technique to find the state space model of inverted pendulum from non linear differtial equations...

the state space model is like this 2 dx/dt= Σ a(i) [Ai + Bi] i=1

where i=2, and a(i) are the two member ship functions,

i don't under stand how to plot the states of this takagi-sugeno state space model...?

I shall be thankful if you can provide any help in this context.

Regards.