Respondida
How does genetic algorithm derive the best fitness and average fitness values for each generation?
Hi @Time N The output here in the "Output Argument", only gives basic information about the optimization process returned as a ...

alrededor de 4 años hace | 1

| aceptada

Respondida
How can simulate The system with Transfer function in ODE45?
Hi @Kaito Sato-kun Most likely the culprits come from this part up_num = [alpha 0]; and this part u_dash = C*integral(@(tau)...

alrededor de 4 años hace | 2

| aceptada

Respondida
How to tune this model with this PSO coding? Is there any mistake in this coding or do I need to add something?
Your code is quite long. By the way, you are using Rosenbrock function as your fitness function, not your NARX model. for i = 1...

alrededor de 4 años hace | 0

Respondida
block diagram cooperative adaptive cruise control
Hi @massimiliano frasca Actually, I have trouble reading that conference article. If authors set to prevent jerk, why did they...

alrededor de 4 años hace | 2

| aceptada

Respondida
Experimental Design in Matlab
Hi @Valeria Gallo You can find some examples in the following links: Response Surface Designs Central composite design (CCD) ...

alrededor de 4 años hace | 1

| aceptada

Respondida
How can I do SOH estimation?
Hi @ekagra gupta Yes, it can done in MATLAB. Refer to these articles for more info: Leveraging MATLAB-Simulink in Building Bat...

alrededor de 4 años hace | 0

Respondida
Can someone please help me modify this ABC algorithm into matlab code?
Hi @Kohani Mohan Instead of modifying your code, why not consider the available codes in File Exchange? https://www.mathworks....

alrededor de 4 años hace | 0

Respondida
Truss Systems Nornal Equation
Hi @Doga Ersuz From the MATLAB point of view, the lines in section marked by the single red right square bracket are all "COMME...

alrededor de 4 años hace | 0

Respondida
What is difference between fit and fitlm function in MATLAB?
@Meghraj Kc You read about the differences between fit and fitlm here: https://www.mathworks.com/help/stats/lime.fit.html htt...

alrededor de 4 años hace | 0

Respondida
Designing a solar wind hybrid power system and control it with ANFIS
Hi @Tanvir Ibn Touhid Technically answering this question probably requires writing a few chapters of a typical 200-page book. ...

alrededor de 4 años hace | 0

Respondida
¿Qué librería puedo instalar para trabajar con atmosfera estándar?
Hi @Mauro Gonzalez There are various standards like the following: U.S. Standard Atmosphere, atmoscoesa International Standar...

alrededor de 4 años hace | 0

Respondida
How to run exp in bisection method
Hi @Nadiah This fzero algorithm uses a combination of bisection and secant methods. Very efficient! 👍 fcn = @(x) exp(x) - x....

alrededor de 4 años hace | 0

Respondida
2x2 matrix calculation
Hi @dhlee Maybe you can solve the problem like this? syms x y Ta = sym('Ta', [2 2]); Tb = sym('Tb', [2 2]); Tc = sym('Tc'...

alrededor de 4 años hace | 1

| aceptada

Respondida
Hello everyone. How can I apply fuzzy decision making to my multi-objective optimization problem using matlab codes??
Hi @Amir Hosseini Can and start learning from the examples in the Fuzzy Logic Toolbox™ Intro.

alrededor de 4 años hace | 0

Respondida
solve a forced vibration equation for x and w
Hi @Fatemeh Salar I guess you want solve the forced response vibration problem using the Modal Analysis approach. I'll skip the...

alrededor de 4 años hace | 1

| aceptada

Respondida
Help me to plot a graph
Maybe like this? x = linspace(0, 100, 501); y = 3000 + x*250; yyaxis left plot(x, y) ylim([0 4e4]) yyaxis right plot(x, 4...

alrededor de 4 años hace | 2

| aceptada

Respondida
How can I use fminsearch() to apply a sinc function (sin(x)/x) fit on my data?
@Asser Abdelgawad How about considering the nonlinear least-squares curve fitting lsqnonlin? fun = @(p) p(1)*sinc(p(2)*(xdata ...

alrededor de 4 años hace | 0

Respondida
Simulink automatically compute torque
Hi @Roye Vadana Then try using the Saturation block. https://www.mathworks.com/help/simulink/slref/saturation.html

alrededor de 4 años hace | 0

Respondida
solve a forced vibration equation for x and w
Hi @Fatemeh Salar Maybe like this? function v = dxdt(t, x) m = 1; k = 5; f = 10; M = [3*m 0; 0 m]; %...

alrededor de 4 años hace | 1

Respondida
How can I design a lag compensator with a specific phase margin and velocity static error constant?
Hi @Bilal Antaki More info about the open-loop transfer function of the uncompensated system should be provided. From one of G...

alrededor de 4 años hace | 2

| aceptada

Respondida
how can i plot this function?
Hi @FRANCESCA CANALE Because that is not an ordinary plot, but a plot using base-10 logarithmic scale on the x-axis and the y-a...

alrededor de 4 años hace | 2

| aceptada

Respondida
Solving a System of Trig Equations
Hi @Michael Boyte Back to the basics when solving the inverse kinematics problem. The kinematics of a 2-link robot arm (where t...

alrededor de 4 años hace | 1

Respondida
Optimization of Logistic Function Variable K for multiple Inputs Simultaneously
Hi @Ezra Sutter Is it allowed to fit using other type of function? promAngles = [146.7589 115.7733 98.1666 66.8909 41.9...

alrededor de 4 años hace | 1

Respondida
How to generate following signal using MATLAB script file? signal s(t) is changing its value in every 20 seconds
Hi @Pritesh Patel, This puzzle needs a little mental calculation to think. Not sure what happens after 80 s. syms t u00 = hea...

alrededor de 4 años hace | 0

Respondida
ode45 for Higher Order Differential Equations
Hi @d A little fix on the system of 1st-order ODEs. f = @(t, x) [x(2); x(3); x(4); 1 - x(1)^2 - 6*x(3)]; tspan = 0:0....

alrededor de 4 años hace | 2

| aceptada

Respondida
Lyapunov exponent function submitted by community
Hi @Don If your experimental data is not large, then you can test lyapunovExponent() here to see if it works for your case. ht...

alrededor de 4 años hace | 1

| aceptada

Respondida
I wonder what is difference between SISO and MIMO.
Hi @Junu Lee SISO is the acronym for Single-Input and Single-Output. MIMO is the acronym for Multiple-Input and Multiple-Outpu...

alrededor de 4 años hace | 0

Respondida
How can I force Gaussian profile to fit peaks completely?
Hi @Naif Alsalem You can try specifying the bounds in fit options to help the algorithm to fit better... options = fitoptions(...

alrededor de 4 años hace | 1

Respondida
Can you help me with this task?
@Saba Bukhnikashvili As a beginner, maybe you can do something like this in just 3 simple steps: Write a system of first-order...

alrededor de 4 años hace | 0

Respondida
how to solve this
The Area computed by MATLAB is as correct as the radius given by you. r = pi^1/3-1 A = pi*r^2

alrededor de 4 años hace | 0

Cargar más