Respondida
Common part of 2D and 3D plot
HI @M If the points of the desired function h are projected to the y–z plane, then the curve should look like this: f = @(z) 0...

alrededor de 4 años hace | 1

Respondida
I am modelling an electric car and I'm getting velocity in negative.
Hi @Irfan Amin Gadai That probably implies one thing: the dynamics modeling for your Electric Vehicle is incorrect. Check your...

alrededor de 4 años hace | 0

| aceptada

Respondida
How to smoothen the disturbed curve?
Hi @ekagra gupta Adding a lowpass filter should filter the high-frequency input signal with normalized passband frequency. For...

alrededor de 4 años hace | 1

| aceptada

Respondida
How to write a function of rainfall seasonality Index (Walsh and Lawler, 1981)
Hi @Joseph Muhumure The computation of the Seasonality Index (SI) is rather direct using sum() and mean(). https://www.math...

alrededor de 4 años hace | 0

Respondida
How many dimensions do I need?
Find the *Sample Size N calculation* formula in Google and show it here. Then we maybe able to show how to compute that in MA...

alrededor de 4 años hace | 0

Respondida
Solving system of ODE with dependent variables
Sounds like a partial differential equations problem. Then you need the pde solver. Read the following article in the link: <...

alrededor de 4 años hace | 0

Respondida
How to obtain the coordinates in a MATLAB image as I move the cursor of the mouse on it?
Hi @Loren99 Perhaps you can check if datacursormode and datatip would help. https://www.mathworks.com/help/matlab/ref/matlab.g...

alrededor de 4 años hace | 2

Respondida
I want to create a following matrix using nested loops
@Shivani Galande I'm no good at nested math. Please write the math equations to describe the relationship between the elements ...

alrededor de 4 años hace | 1

Respondida
"Derivative of state '1' in block 'PD_Control/Integrator2' at time 0.34 in not finite. There are may be a singularity in the solution..."
Hi @Junu Lee Most likely caused by the division-by-zero from this block. Could be triggered when the robot arm rotates to a cer...

alrededor de 4 años hace | 1

| aceptada

Respondida
2nd order Differential Equation
Hi @Mustafa Almoghrabi With the limited info, this is a brief example you can explore ode45 (please Google this) and modify the...

alrededor de 4 años hace | 1

Respondida
How do I get to boldface the numbers that I input?
You can use the TeX markup option for the bold font. \bf text

alrededor de 4 años hace | 0

Respondida
My question is that How we Plot the pole placement region using MATLAB?
I'm sorry but I don't know what pole placement region is, because Google results do not show the region of the pole placement. I...

alrededor de 4 años hace | 0

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

alrededor de 4 años hace | 0

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

alrededor de 4 años hace | 0

Respondida
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 = ...

alrededor de 4 años hace | 1

| aceptada

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

alrededor de 4 años hace | 0

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

alrededor de 4 años hace | 0

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

alrededor de 4 años hace | 0

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

alrededor de 4 años hace | 1

Respondida
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')...

alrededor de 4 años hace | 1

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

alrededor de 4 años hace | 2

| aceptada

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

alrededor de 4 años hace | 0

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

alrededor de 4 años hace | 1

| aceptada

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

alrededor de 4 años hace | 0

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

alrededor de 4 años hace | 1

| aceptada

Respondida
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

alrededor de 4 años hace | 2

| aceptada

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

alrededor de 4 años hace | 1

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

alrededor de 4 años hace | 0

Respondida
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 = ...

alrededor de 4 años hace | 3

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

alrededor de 4 años hace | 1

| aceptada

Cargar más