回答済み
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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 1

さらに読み込む