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

circa 4 anni fa | 0

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

circa 4 anni fa | 2

| accettato

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

circa 4 anni fa | 1

| accettato

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

circa 4 anni fa | 0

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

circa 4 anni fa | 1

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

circa 4 anni fa | 1

| accettato

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

circa 4 anni fa | 0

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

circa 4 anni fa | 1

| accettato

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

circa 4 anni fa | 0

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

circa 4 anni fa | 0

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

circa 4 anni fa | 2

| accettato

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

circa 4 anni fa | 0

Risposto
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)

circa 4 anni fa | 0

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

circa 4 anni fa | 0

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

circa 4 anni fa | 1

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

circa 4 anni fa | 2

| accettato

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

circa 4 anni fa | 0

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

circa 4 anni fa | 1

| accettato

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

circa 4 anni fa | 1

| accettato

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

circa 4 anni fa | 2

| accettato

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

circa 4 anni fa | 1

| accettato

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

circa 4 anni fa | 0

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

circa 4 anni fa | 1

| accettato

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

circa 4 anni fa | 1

Risposto
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 = ...

circa 4 anni fa | 0

Risposto
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/...

circa 4 anni fa | 0

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

circa 4 anni fa | 1

Risposto
Transfer function of current block in 2RC ECM model
@Vishnubharathi thirupathi Since it is a RC circuit, can you write up some equations using Kirchhoff's circuit laws? The equat...

circa 4 anni fa | 0

Risposto
Plotting unusually Shape in Matlab
Hi @Bunyod Samandarov This should give you a good start. worldmap 'europe' axis off getm(gca, 'MapProjection') geoshow('lan...

circa 4 anni fa | 1

| accettato

Risposto
How to plot the following surface
Hi @Matt J, Sometimes I have troubles visualizing the geometry. Can I plot like this? It should look like an inverted cone. x ...

circa 4 anni fa | 2

Carica altro