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

alrededor de 4 años hace | 1

| aceptada

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

alrededor de 4 años hace | 2

| aceptada

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

alrededor de 4 años hace | 1

| aceptada

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

alrededor de 4 años hace | 0

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

alrededor de 4 años hace | 2

| aceptada

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

alrededor de 4 años hace | 1

| aceptada

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

alrededor de 4 años hace | 0

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

alrededor de 4 años hace | 1

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

alrededor de 4 años hace | 1

| aceptada

Respondida
fuzzy logic designer expert is required.
Wa-Alaikum-Salaam @mansoor khan. If this is about Multi-Criteria Decision-Making (MCDM), then you can try applying the TOPSIS ...

alrededor de 4 años hace | 0

Respondida
Plot distance difference between two orbits
Hi @Jes Found the Haversine formula which I think you can apply to calculate the distance between them. Both asssi.mat and gff...

alrededor de 4 años hace | 1

| aceptada

Respondida
How to solve a second order nonlinear differential equations with two other function in it
Hi @Sudipta Mukherjee 3rd Edit: The simulation. I re-scaled and so that you can see the inputs and options = odeset('Event...

alrededor de 4 años hace | 0

Respondida
How to draw a 3D circle that is tangent to two lines
Hi @hadis ensafi This problem needs a little mathematics if there is no built-in function to find that. If the two tangential p...

alrededor de 4 años hace | 0

Respondida
Please my Simulink result graph fluctuates but it always ends up constant at 1 with or without an actuator force or even when I change some parameters. What can I do?
Hi @Tobechukwu The response is most likely caused by the two factors: the Unit Step function, generated by the Step block. th...

alrededor de 4 años hace | 2

| aceptada

Respondida
Asking about help in Fuzzy inference system?
@Abdelrahman Samy Most likely that the input trnX that you passed into the evalfis function is of some other class (not double ...

alrededor de 4 años hace | 0

Respondida
Using normrnd for generating natural values (without decimal values)
@Sahar khalili How about this data set {25, 26, 27, 27, 28, 29}? A = [25, 26, 27, 27, 28, 29] M = mean(A) S = std(A)

alrededor de 4 años hace | 0

Respondida
How to plot a vector map for a differential system(in ode45) with a switch condition ?
Hi @Vignesh Ramakrishnan Since you didn't provide the code, the following involves some guesswork in an attempt to reproduce/du...

alrededor de 4 años hace | 0

Respondida
How would you make a rectangle input?
@Matthew Pollard Ah... That is not strictly a rectangular signal, but is more like a staircase signal, which can be a little tr...

alrededor de 4 años hace | 1

Respondida
How to solve a second order nonlinear differential equations with a step function
Hi @Sudipta Mukherjee Edit: The is not signum-based, and the constraint for the velocity is defined in an Event function call...

alrededor de 4 años hace | 2

| aceptada

Respondida
Problem with Nonlinear Least Squares fitting
@Jason Yee I don't see anything technically wrong with code. Probably the choices of the lower and upper bounds are 'too vast'....

alrededor de 4 años hace | 0

Respondida
Nonlinear Differential Equation Solving
Hi @Nuri Efe TATLI The analytical solution probably does not exist. syms y(t) A B C D eqn = A*diff(y,t,2) - B*y + C == D*cos(...

alrededor de 4 años hace | 1

| aceptada

Respondida
The following example solves the fourth order equation f(x)=x4 − 7x3 + 3x2 − 5x + 9 = 0 a) Find the roots of f(x) b) The value at f(2)
Maybe like this? p = [1 -7 3 -5 9] roots(p) I think you take this approach: f = @(x) x.^4 - 7*x.^3 + 3*x.^2 - 5*x + 9 f(2) ...

alrededor de 4 años hace | 1

| aceptada

Respondida
How can I graph a nonlinear system of differential equations?
@Josh Ciesar I don't know how your graphs are supposed to look like because I'm not an adiabatic pistonist. But first things fi...

alrededor de 4 años hace | 2

| aceptada

Respondida
Create two sinusoids, plot them and verify their orthogonality. Please give three different sets of sinusoids and and repeat above procedures.
Hi @MD ALAMIN If you are new to MATLAB, please don't stress/force yourself to plot the two sinusoids. Take your time to learn M...

alrededor de 4 años hace | 1

| aceptada

Respondida
Why my graph not same as research paper?
Hi @Nur Sorry for the misidentity because the name, the title, and the topic look exactly the same. Anyway, I have fixed some ...

alrededor de 4 años hace | 0

Respondida
Trying to calculate the temperature from the equilibrium heat equation
Hi @tom shneor Edit: This is a little difficult for me to imagine since the values of the parameters are not provided. assuming...

alrededor de 4 años hace | 1

| aceptada

Respondida
How to add a horizontal line in a plot that corresponds to a maximum?
Hi @Irfanudin Nor Anwar No worries, I take your samples. Generally, you need to guess the function of a curve that might fit in...

alrededor de 4 años hace | 1

Respondida
Solving System of ODEs using MATLAB
Hi Teo, Do something like this: odefcn = @(t, y) [y(2);... 0.1*sin(t) - 10*y(1) - 2*sqrt(10)*y(2)]; tspan = ...

alrededor de 4 años hace | 0

Respondida
HVAC FOR HOUSE USING PID CONTROLLERS
@nikhil murali sathyavathi You can follow a very detailed example of modeling and control here https://www.mathworks.com/help/...

alrededor de 4 años hace | 0

Respondida
solve 2nd order non linear equation of motion
Hi @Martin Lindner As far as the technical issue is concerned, the MATLAB code is fixed and able to produce the Equations of Mo...

alrededor de 4 años hace | 1

Cargar más