Answered
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

3 years ago | 1

Answered
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 ...

3 years ago | 0

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

3 years ago | 0

Answered
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...

3 years ago | 1

| accepted

Answered
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); ...

3 years ago | 1

| accepted

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
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 ...

3 years ago | 0

Answered
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...

3 years ago | 1

| accepted

Answered
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...

3 years ago | 0

Answered
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 ...

3 years ago | 0

Answered
Finding the relative orientation to a robot
Hi @Pawel Grum Generally, you can the transformation matrix to obtain the relative orientation. For simplicity, you can try stu...

3 years ago | 2

| accepted

Answered
how to reduce fuzzy rules generated by mamdani fis
With almost a thousand rules for 8 inputs, I guess there are 6 inputs with 2 fuzzy sets, 1 input with 3 fuzzy sets, and another ...

3 years ago | 1

Answered
how to code transfer function
@Cesar Cardenas, Try something like this: tau0 = 2; tau1 = 3; Gp = tf(1, [tau1 1],'InputDelay', tau0) For more info, plea...

3 years ago | 1

Answered
help with smooth curve
@Felix Obite, Have you looked into interp1() function? Check out the first example: https://www.mathworks.com/help/matlab/ref/...

3 years ago | 0

Answered
Velocity vs Time graph in matlab
Hi @Sandun, I'm also new as to this kind of problem, with , strictly from the mathematical notation perspective. I think item ...

3 years ago | 0

Answered
I am looking to plot the following set of equations. Can someone please help me out with this
Let me try helping. I don't know about your functions and their parameters. But here is a basic example: Say we want to plot ...

3 years ago | 1

Answered
How to get the fuzzy value of an input when the crisp value is given
The evalmf() function can used in this situation. help evalmf x = -10:0.1:10; mf = fismf("pimf", [-9 -7 2 7]); y = evalmf(...

3 years ago | 0

Answered
How do I solve this simultaneous equation below
Hi @Adam Verify with MATLAB: x = roots([1 1 -6]) Can I leave you to find as a simple exercise?

3 years ago | 0

Answered
Fuzzy controller giving constant output of z = 0.5 (z range [0,1])
There is nothing wrong. The reason the Crisp Output starts from is because the linear MF is chosen and the range of the Output ...

3 years ago | 0

Answered
help me in degree of membership function correction in fuzzy logic tool with new membership function creation
That's because the amplitude of your custom function depends on the value of . If it is not designed as , then the upper bound o...

3 years ago | 0

Answered
Plot fuzzy membership function for specified parameters (x, u(x))
One proper way to plot the membership functions (MFs) is to create custom MFs based on the given fuzzy sets. https://www.mathwo...

3 years ago | 1

Answered
i need to solve the ecuation: f(x)=sqrt(x)-cos(x) but im given the following interval [0,1]
Hi @Eva f = @(x) sqrt(x) - cos(x) fplot(f, [0 1]) x0 = 0.6; % guess the solution is relatively close to x = 0.6 xs...

3 years ago | 0

Answered
How to get the output of a controller from MATLAB codes not simulink
Hi @ojonugwa adukwu Since a sample plant is not provided, we will use a 1st-order plant as an example: Gp = tf(1, [1 2]) ste...

3 years ago | 2

| accepted

Answered
How to change constant block automatically and run automatically
Write a mathematical function for the MATLAB Function block that describes behavior of the firing angle: https://www.mathwork...

3 years ago | 0

Answered
to get output from fuzzy logic toolbox
The graph or output values from the surface viewer on the Fuzzy Logic App are actually defuzzified output values. To view the d...

3 years ago | 1

Answered
The value of membership functions for x
@Gadelhag M Omar Mohmed To obtain the fuzzy set values, the evalmf() function can be used. In this example, the fuzzy sets are ...

3 years ago | 0

Answered
how to plot this equation
@shiv gaur, This only shows the propagation of the complex-valued roots of the 6th-order polynomial equation for the integer . ...

3 years ago | 0

Answered
Conversion of linear equations to form Ax=b
Hi @aliza mustafa You have only 4 equations, but there are 6 unknowns. So, the linear system is clearly rank-deficient. syms t...

3 years ago | 1

| accepted

Answered
De-augment a controller transfer funtion
Possibly through partial fraction decomposition. help residue

3 years ago | 0

Load more