Risposto
How i plot the main grid in pole placement region
Have you tried coding this? y = (-1:0.01:1)'; x = - sqrt(1 - y.^2); plot(x, y, 'b--', 'linewidth', 1.5) axis([-2 ...

circa 4 anni fa | 0

Risposto
Design a Fuzzy Control FLC that uses the indirect field-oriented control IFOC approach to regulate the velocity of an IM motor
Hi @Emadaddin Abdo Mohammed Alazzani Found this example on tuning the Field-Oriented Controllers for a PMSM. https://www.mat...

circa 4 anni fa | 0

Risposto
NEED HELP FAST !! Find the solution of the following ordinary differential equation by first bringing it to a first-order system
@Vlad After getting the first-order equations from odeToVectorField, then you need only four lines of code to solve them. f = ...

circa 4 anni fa | 1

| accettato

Risposto
system of linear differential equation with Runge Kutta Method 4 order
Hi @Diksha Gautam I have updated the code for running a few iterations to generate the results for different values of s. Plea...

circa 4 anni fa | 0

Risposto
I wanna ask if anyone can help , I have a non linear graph , which I want to make it linear can I do it using Matlab
Since you didn't provide the data for the random-looking graph, this maybe not what you are looking for, but it is a very simple...

circa 4 anni fa | 0

Risposto
Plotting magnetic field intensity generated by a specified wire geometry
Hi @MRR quiver and contour came into my mind when you mentioned about field intensity and current loops. https://www.mathworks...

circa 4 anni fa | 0

Risposto
I want to optimize two variables
@MEKDES KASSA Since u and p are the variables, geometrically, this equation is a plane (flat surface) By varying B, the plan...

circa 4 anni fa | 1

Risposto
Is it my equation wrong? Cause I get a weird graph for this equation.
Hi @Muhammad Harriz Bin Zamri Missing dot. t = 0:0.01:5; x = exp(-2*t).*tanh(4*t); plot(t, x, 'linewidth', 1.5) xlabel('t')...

circa 4 anni fa | 1

Risposto
How to plot 3 membership function and find the µ of each one for a specific X ?
Hi @redha wassim brahimi You can refer to doc trapmf, and plot the membership functions. Edit: To include the firing of fuzzy ...

circa 4 anni fa | 2

| accettato

Risposto
Hi! I am trying to code the Eq.8 in the picture attached. I am copying my MATLAB code for the Eq. 8.I am facing issue in for loop. Loop runs but dont gets the required resuls.
Well @ABU BAKAR, I didn't change the equations. Do the two results look the same to you? % Parameters alpha = 3/4; abc ...

circa 4 anni fa | 0

Risposto
Parametrical solving a nonlinear equation. Warning: Explicit solution could not be found. > In solve at 179
Hi @Jaber Then, it implies that your equation is a transcendental equation. Here is an example: syms x y eq = x - sin(x) == y...

circa 4 anni fa | 1

| accettato

Risposto
How to find the roots of a polynomial?
@Mohamed Illafe If the values for the parameters w, x, y are known, then it simplifies the matter. syms f(t, w, x, y) f(t,w,x...

circa 4 anni fa | 0

Risposto
Why is error integrated in Simulink Environment Water Tank Model observations?
Hi @Timothy Thacker If my educated guess is correct, adding the integral of the error has something to do with the Watertank Mo...

circa 4 anni fa | 1

| accettato

Risposto
How to find Coefficient R
Corrected. Please check. R = (sum((x-meanx).*(y-meany)))./(sqrt((sum((x-meanx).^2)).*(sum((y-meany).^2)))) r2 = R^2

circa 4 anni fa | 2

| accettato

Risposto
I need an explanation of the functions in this code
Hi @Aktham Naeem Maybe the situation is less ideal than you have imagined, but I found only 7 functions that you need to unders...

circa 4 anni fa | 1

Risposto
bode plot of boost converter on simulink
Hi @MURAT YILMAZ This good example shows you how to get the Bode Response of Simulink Model: https://www.mathworks.com/help/sl...

circa 4 anni fa | 0

Risposto
How can I plot a three-species Lotka-Volterra model?
Hi @Hagen Gersie Read doc ode45. You can also follow the example and do something like this: sigma = 10; beta = 8/3; rho = ...

circa 4 anni fa | 3

Risposto
Do my fuzzy logic correct and how to tune my PID properly using this system?
Hi @Isyraf Izuddin Plant #2 Since you didn't specify the performance criteria, the fuzzy system is designed with some impromen...

circa 4 anni fa | 1

| accettato

Risposto
i want to find the solution of this second order differential equation
Possibly does not have a closed-form solution. f = @(x, y) [y(2); ... y(1)*2.869*(3.06693 - (3.125*x^0.1))]; tspan = linsp...

circa 4 anni fa | 0

Risposto
How do I solve a symbolic system for a certain vector?
Hi @Vítor Narciso It's an interesting problem as mentioned by @Paul. The following does not solve your problem symbolically in ...

circa 4 anni fa | 2

Risposto
how can i see a points(x,y) value from a matlab plot
Also try this: datacursormode x = linspace(-10, 10, 201); y = x.^2; plot(x, y, '.') dcm = datacursormode; dcm.Enable = 'on'...

circa 4 anni fa | 0

Risposto
Please help to get answer of this particular problem, which I won't understood, If A=[1 12 15;3 16 20;5 24 25] what will be the value of 'a' if [a b]=size(A)?
@kapil Jadhav Since the matrix A is [3-by-3] matrix, then [a b] = size(A) returns a = 3 % number of rows b = 3 % numbe...

circa 4 anni fa | 1

Risposto
Sine wave with variable frequency
Like this? x = linspace(0, 6*pi, 6001); y = cos(0)*sin(0.3*x.^2); plot(x, y, 'linewidth', 1.5) Use the Interpreted MATLAB ...

circa 4 anni fa | 0

Risposto
set parametre fractional Transfer Function block
@bilel kanzari, try if this works: set_param('FOPID_Model3eme_critq/LOW', 'polePoly', 's^3.3 + 11s^1.7 + 32s + 25');

circa 4 anni fa | 1

| accettato

Risposto
CC CV control with Frequency modulation
Hi @SALAH alatai Try following the examples on using these functions to extract the mathematical model. https://www.mathworks...

circa 4 anni fa | 0

Risposto
field-oriented control for induction motor
Hi @ayoub reffai Don't give up! If you can extract the mathematical model (differential equations / state-space model) from t...

circa 4 anni fa | 1

| accettato

Risposto
How to make the following shape in Matlab
Hi @Med Future Edit: Make good use from @Walter Roberson's polynomial regression model of the second pulse from the OP's second...

circa 4 anni fa | 0

Risposto
my plot is not showing up
Now it should work EG = (1 + n2*Vf)./(1 - n2*Vf); %Es/Gm plot(Vf, EG);

circa 4 anni fa | 1

Risposto
How to solve coupled odes with two time dependent variables with ode45?
Hi @Ari Dillep Sai Not sure what went wrong and why it is unstable. If you are absolutely sure that the absorption dynamics is ...

circa 4 anni fa | 1

Risposto
Want to Plot a multi line graph in Matlab
Like this? x = 2:0.01:16; y1 = 15*x + 270; y2 = (6.6964e-04)*x.^4 - (2.6786e-02)*x.^3 + (9.0625e-01)*x.^2 - (1.2768e+01)*x + ...

circa 4 anni fa | 1

| accettato

Carica altro