Risposto
Learning matlab for study purpose and new to MATLAB.
Hi @Shams Ur Rehman These articles may be helpful. csvread reads comma-separated value (CSV) file. https://www.mathworks.com/...

oltre 4 anni fa | 0

Risposto
Why my ODE is not solving?
Hi @Aung Moe Zaw Because of the sign in this line. (minus) (minus) = plus. It means that energy is continuously injected into t...

oltre 4 anni fa | 1

| accettato

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

oltre 4 anni fa | 1

| accettato

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 1

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

oltre 4 anni fa | 1

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 1

| accettato

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

oltre 4 anni fa | 2

| accettato

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 3

| accettato

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

oltre 4 anni fa | 1

| accettato

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 1

| accettato

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 1

| accettato

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 0

Risposto
𝑦(𝑡) = 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 ...

oltre 4 anni fa | 0

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 2

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

oltre 4 anni fa | 1

| accettato

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 0

Carica altro