Respondida
A nd B are defined, but i can't get past this line: Csum = fuzarith(x,A,B,'sum'); WHy?
Hi @Michael Check if this is what you want. The Gaussian functions on your original legend were incorrect. The fuzarith() funct...

casi 4 años hace | 0

Respondida
3x-y+4=0 how to solve this equation in matlab
Hi @Adam The given equation can be rewritten in this familiar line equation form You can substitute any real value into ...

casi 4 años hace | 0

Respondida
Why a manually made PID controller in Simulink will show a different value when compared to the default PID controller Simulink black with both having the same Kp,Ki and Kd?
Hi @Ian It's because the PID block in Simulink implements a PID controller in this form: where a first-order transfer functi...

casi 4 años hace | 2

| aceptada

Respondida
How to plot a polynomial?
Hi @Sarah Elena Aiko Johnson Should try like this: xi = linspace(-2, 8, 101); fend = - 2 + (6*xi) - 4*(xi.^2) + (0.5*(xi.^3))...

casi 4 años hace | 1

| aceptada

Respondida
Piece-wise Functions
Let's try something very basic. t1 = -5:0.1:0; t2 = 0:0.1:10; t3 = 10:0.1:20; t4 = 20:0.1:30; t5 = 30:0.1:50; % Segment...

casi 4 años hace | 0

Respondida
How to solve ODE on array variables
Hi @Telema Harry Perhaps you can do this way: tspan = [0 0.1]; x0 = [2 1.5 1 0.5]; [t, x] = ode45(@odefcn, tspan, x0); ...

casi 4 años hace | 1

| aceptada

Respondida
help create a positive sin wave
Sounds intriguing. Are you looking for the half-wave rectified sine wave? x = -2:0.01:2; y1 = sin(pi*x); ...

casi 4 años hace | 0

Respondida
Problem in creating stimulink for a tranfer function
Hi @Sukumar Kishanthan You can try this trick, using the Descriptor State-Space block to create the "equivalent" improper (non-...

casi 4 años hace | 0

Respondida
How to get fuzzy output values instead of crisp output values?
Hi @Hung The crisp out does not have an equivalent scalar fuzzy value. So, I think you probably mean finding the Aggregated out...

casi 4 años hace | 2

| aceptada

Respondida
can not use PID tuner in simulink
Hi @Cheng an Ku, @Foo Yun Hong, @Jhayo Since the Control System Toolbox is available, I think the workaround is to first work o...

casi 4 años hace | 2

Respondida
PI Controller Tuning for totem pole Pfc
Hi @Barath Narayanan I forgot to ask the PI values you obtained from sisotool. Please check if the performance requirements are...

casi 4 años hace | 1

| aceptada

Respondida
Calculate the area of geometry
Hi @Minh If you know the point coordinates of the geometry, perhaps you can explore the area() function. x = [0 2 1.5]; y = [...

casi 4 años hace | 0

Respondida
Finding the function of the supremum
Hi @Aysel Alimirzayeva I'm not sure if the following is what you want. But this 1st-order transfer function (taking the Laplace...

casi 4 años hace | 1

Respondida
Simple PID Controller with Simulink
Hi @Jeff Dillon Not a VTOL person, but from the free-body diagram, Newton's 2nd Law can be applied with the basic assumptions o...

casi 4 años hace | 1

| aceptada

Respondida
How to plot this function?
@Juan Vicente Probably the plot looks like this: syms x y fimplicit(log(abs(y/(y + 1))) == -1/x, [-5 5 -10 10])

casi 4 años hace | 1

| aceptada

Respondida
Rounding towards zero or from zero
Hi @Nick Austinos Does this work for you? x = 3.6; y = floor(x)

casi 4 años hace | 1

Respondida
Throttle Command to Torque Command
Hi @Tamas Can you possibly find out the formula or relationship between the Throttle_position and the Torque_command? If you d...

casi 4 años hace | 0

Respondida
Matlab code for solving nonlinear equations
Since you generally asked for any three nonlinear equations, I guess you just need to constrain the solver/algorithm to take onl...

casi 4 años hace | 1

Respondida
Find the minimum of a function
Hi @Melika Eft The constrained optimization problem probably can be formulated like this: fun = @(x) x(1)^2 + x(2)^2; x0 = [...

casi 4 años hace | 2

| aceptada

Respondida
How can I compute envelope for three phase current?
You can try if the envelope function works for you. https://www.mathworks.com/help/signal/ref/envelope.html

casi 4 años hace | 1

Respondida
Plot of magnetic field
@Prem, Not exactly sure what you asked. If you are asking about plotting in MATLAB, then use this function: help plot If you ...

casi 4 años hace | 0

Respondida
Vehicle speed calculation script
Hi @Prabaharan A Here is a basic script to calculate the average vehicle speed: Distance = 200; % km Duration...

casi 4 años hace | 0

Respondida
Add 2 trigonometric functions, with conditions
Are you trying to plot the addition of two sinusoidal functions, even when there are discontinuities? x = linspace(-1, 1, 200...

casi 4 años hace | 1

| aceptada

Respondida
hi every one i need series for erfc(x) match with it in plot
Hi @sura Are you looking for something like this? syms x sympref('PolynomialDisplayStyle', 'ascend'); f = erfc(x); ...

casi 4 años hace | 1

| aceptada

Respondida
how to change the fall time of step input in simulink
Hi @Swasthik Baje Shankarakrishna Bhat, You reuse the same syntax. I created a general one so that you can enter the desired pa...

casi 4 años hace | 0

Respondida
Finding peak in the Gaussian like function which Value is unknown.
Hi @Jae-Hee Park Can you try if the findpeaks function works for your application? You can also find some examples here: http...

casi 4 años hace | 0

Respondida
Fuzzy Logic display results
Hi @strat For this requirement, we can try the dictionary Object (newly introduced in R2022b) to map the FIS output (Fan Speed ...

casi 4 años hace | 0

Respondida
how to change the rise time of step input in simulink
Hi @Swasthik Baje Shankarakrishna Bhat Edit: I created a general one so that you can enter the desired ramp up parameters: % u...

casi 4 años hace | 1

| aceptada

Respondida
How to use output of one fuzzy logic system as input for another?
Here is a simple example, where the output from the first FIS is fed into the second FIS. If the dual system is designed correc...

casi 4 años hace | 0

Respondida
find the value/s of the membership function when a crisp value is given???
Hi @Gadelhag M Omar Mohmed, It might be a little late answering this. But a data-driven Mamdani Fuzzy System can be generated ...

casi 4 años hace | 0

Cargar más