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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 1

| accepted

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

4 years ago | 0

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

4 years ago | 1

| accepted

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

4 years ago | 2

| accepted

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

4 years ago | 0

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

4 years ago | 0

Answered
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]; %...

4 years ago | 1

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

4 years ago | 2

| accepted

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

4 years ago | 2

| accepted

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

4 years ago | 1

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

4 years ago | 1

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

4 years ago | 0

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

4 years ago | 2

| accepted

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

4 years ago | 1

| accepted

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

4 years ago | 0

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

4 years ago | 1

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

4 years ago | 0

Answered
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

4 years ago | 0

Answered
Solve analytically an system of coupled diffrential équation with Matlab
@Thomas TJOCK-MBAGA, not sure why you want to look for the analytical solution, especially with the given initial condition. Sin...

4 years ago | 1

| accepted

Answered
genetic algorithm code with more than three variables
Hi @huda nawaf Maybe this example would give you the basics of using the genetic algorithm (GA) to minimize a multivariate func...

4 years ago | 2

| accepted

Answered
How to determine the start time and the end time of the signal
Hi @Yew Jen Chong Alternatively, try this. The findchangepts function actually works. T = readtable('https://www.mathworks.com...

4 years ago | 1

| accepted

Answered
how can i write the RLC equations? (image)
Hi @Lizeth Armida García Valle You can get the required RLC equations using odeToVectorField function. However, for education p...

4 years ago | 0

Answered
How do I design a close-loop controller on my simulink of piezo bender of energy harvester
Hi @Fajwa Noor Generally, the optimization should come later once you have successfully designed the basic structure of the mat...

4 years ago | 2

| accepted

Answered
Minimize problem using PSO
Hi @Reji G It seems that the function does not have any global minima. [X, L] = meshgrid(1:3/40:4, 0.1:0.3/40:0.4); Y = (20...

4 years ago | 1

| accepted

Answered
I couldn't do the 2nd question in my project homework
You should at least provide the model of the harmonic drive in order to work on Q2. If you do it properly, then it is possibl...

4 years ago | 0

Answered
DGL of a centrifugal governor
Hi @Alexander Reiff Equilibrium positions Phase portrait: [X, Y] = meshgrid(-3*pi/2:3*pi/14:3*pi/2, -2*pi:4*pi/14:2*pi)...

4 years ago | 1

Answered
Luapunov exponent for days
Hi @Don Have you tried the built-in lyapunovExponent(X,fs) function on your experimental data? One example is provided in the ...

4 years ago | 1

| accepted

Load more