Answered
solve tan(x)+2*x=0
Hi @rakesh kumar I think you are not wrong, but it has infinitely many solutions. The solution v is in radian, but you checked ...

4 years ago | 1

| accepted

Answered
Numerical solution for 2nd order ODE using Euler Method
Hi @KG If you show us the Euler method formula, then we don't have to search in Google or Wikipedia. This also ensures that the...

4 years ago | 0

Answered
How do I solve this differential system by using ode45?
Hi @Gan Huang Since is known, you can make direct substitutions into and . Here is the demo: function Demo_ode45 close all ...

4 years ago | 0

Answered
How to plot elliptic function (x,y,z) in MATLAB
Hi @Jong Hyun Lee Please check if it looks like this: meshpoints = 41; Lb = 0; % lower bound Ub = 2; % upper bound ...

4 years ago | 0

Answered
A sinusoid has just been fed into a system.
Hi @Jonathan George This is sort of the "control theorist's way", if you are interested to learn. s = tf('s'); sys = 1/(1 + 0...

4 years ago | 1

Answered
Ask questions for Matlab PID()
Hi @Chris Yang It is actually not "demon", but "denom", a shortened form of the word "Denominator". A Demon generally means an...

4 years ago | 1

Answered
Euler method for 2nd and 1st order differential equation. Im not sure what im doing wrong
Hi @Destiny Barley Setting a very coarse increment of 0.2 sec for the Euler Solver to simulate from 0 to 106 sec seems a little...

4 years ago | 0

Answered
How to do a hydraulic valve model (valve of mud pump)?
Hi @aleena n a I'm unfamiliar with the triplex mud pump. However, there are various types of valves for fliud flow control in t...

4 years ago | 1

| accepted

Answered
2 equations one unknown
Hi @Daniel Bucknavich This is not a direct solution, but it should help you to visualize the physics of skydiving and terminal ...

4 years ago | 2

| accepted

Answered
Roots of the determinant of a 12x12 matrix with single nonlinear variable
Hi @Rohan Lalchandani Since the determinant of a 12x12 matrix generates a twelfth-degree polynomial, I remember my math teacher...

4 years ago | 0

Answered
Change model parameters during simualtion
Hi @Vladislav Glok This looks like a block in Simulink. If the parameters are preset in the model, it maybe difficult. If MATLA...

4 years ago | 0

Answered
Gain scheduling of a twin-rotor system
Hi @Nir Kotecha I guess the Gain-Scheduling Control will work on Quanser AERO.

4 years ago | 0

Answered
How to model a servo motor transfer function
Hi @Mario Malizia If your lab has the System Identification Toolbox, it can be used for constructing or estimating the transfer...

4 years ago | 3

| accepted

Answered
Modelling state space equation from simulink file
Hi @Abdul Hamid Vorajee The following script allows you to convert the system transfer function into the state-space model in c...

4 years ago | 1

| accepted

Answered
Gaussian fiiting of a truncated data
Hi @Arjun Upadhyay With @Bruno Luong's advice, is not good enough? General model Gauss1: f(x) = a1*exp(-((x-b1)/c1)^2)...

4 years ago | 0

Answered
Help with the following error with quiver
Hi @Amy Topaz If g is assumed as the gravity, then the "Region of Repulsion" is found here. Solving the simultaneous equations ...

4 years ago | 1

| accepted

Answered
3D plot surface
Hi @GibonCZ The best is the provide a small sample of the spatial data for testing. Otherwise, the function surf can be used to...

4 years ago | 0

Answered
Please how to Matrix Lyapunov equation?
Hi @Abdelkader Hd You can use the function lyap to compute the solution to the Lyapunov equation. See the following example: A...

4 years ago | 1

| accepted

Answered
How to create membership functions matlab in triangular form?
Hi @mindo akami You probably have already learned the manual way to plot these. Since this is unanswered and if you are still i...

4 years ago | 0

Answered
I want to generate a sine wave with decreasing amplitude after a fixed interval
Hi @Mariam Ali Because the frequency of the wave is not specified and the decreasing amplitude is mentioned on the title, here ...

4 years ago | 0

Answered
𝑦(𝑡) = 1 + 𝑒 ^((𝑡^ 2) /2) how to put in matlab
Hi @Ethan Kirkpatrick t = linspace(-2, 2, 401)'; y = 1 + exp((t.^2)/2); plot(t, y) Try picking some basics in MATLAB Onramp ...

4 years ago | 0

Answered
What is the meaning of this code line? th1(2:NB)=inv(BM(2:NB,2:NB))*P1.';
Hi @shravya boggulapally I think the code means , which solves a system of linear equations, . For more info, please check mld...

4 years ago | 0

Answered
How to I find x in sin(x) = 0.65
Hi @Eric Seinen Not trying to confuse you, but here is the 3rd approach, the Numerical Approach. fun = @(x) sin(x) - 0.65; ...

4 years ago | 0

Answered
How to plot a road along its height.
Hi @Muhammad Qaisar Fahim I guess you want to show something like this. Because the data is dense, it is not recommended to sho...

4 years ago | 0

Answered
Questions about elements in function ode45(@(t,x) x.*(4-x), [0,5], -2:4:6)
Hi @Anna The kind of error message usually implies that the singularity has occured somewhere around s. The analytical solutio...

4 years ago | 2

Answered
Drawing phase plane diagram of a system of 3 coupled odes - MATLAB
Hi @UserCJ I think you should be able to plot the trajectory solution using plot3 after retaining the 3D diagram (quiver3): ho...

4 years ago | 1

| accepted

Answered
Cover earth surface with square tiles
Hi @I-J Your question is actually unclear. What do you mean by "the efficient method to cover the surface"? Are you looking for...

4 years ago | 0

Answered
I am trying to plot a non- linear equation and everything I try don't seem to work
-- Edited to correct a mistake. Thanks @Torsten. -- Hi @Henson Sooklal The nonlinear equation above is the Colebrook–White equ...

4 years ago | 0

Answered
How to optimize a trigonometric function having 1 or more variables? And find it's graphical representation?
Hi @ashim BANERJEE The surface has singularities at and . So, you can only find the local minumum and maximum points. Here is ...

4 years ago | 0

Answered
I have a gas tank with a hole in it. How do I model the gas pressure in the tank with respect to time.
Hi @Amartya Munot This sounds more like an engineering physics question dealing with Presdure Vessels according to the ASME Cod...

4 years ago | 0

Load more