已回答
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 前 | 1

| 已接受

已回答
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 前 | 2

| 已接受

已回答
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 前 | 1

| 已接受

已回答
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 前 | 0

已回答
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 前 | 2

| 已接受

已回答
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 前 | 1

| 已接受

已回答
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 前 | 0

已回答
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 前 | 1

已回答
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 前 | 1

| 已接受

已回答
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 ...

4 years 前 | 0

已回答
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...

4 years 前 | 1

| 已接受

已回答
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...

4 years 前 | 0

已回答
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...

4 years 前 | 0

已回答
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...

4 years 前 | 2

| 已接受

已回答
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 ...

4 years 前 | 0

已回答
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)

4 years 前 | 0

已回答
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...

4 years 前 | 0

已回答
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...

4 years 前 | 1

已回答
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...

4 years 前 | 2

| 已接受

已回答
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'....

4 years 前 | 0

已回答
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(...

4 years 前 | 1

| 已接受

已回答
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) ...

4 years 前 | 1

| 已接受

已回答
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...

4 years 前 | 2

| 已接受

已回答
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...

4 years 前 | 1

| 已接受

已回答
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 ...

4 years 前 | 0

已回答
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...

4 years 前 | 1

| 已接受

已回答
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...

4 years 前 | 1

已回答
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 = ...

4 years 前 | 0

已回答
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/...

4 years 前 | 0

已回答
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...

4 years 前 | 1

加载更多