回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 2

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

| 採用済み

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 0

回答済み
adding output disturbance to simulink model
Hi @Abdul Hamid Vorajee If the input to the Output Disturbance Transfer Function (ODTF) block is not connected, it will be cons...

4年以上 前 | 1

| 採用済み

回答済み
Solving Differential Equations With
Hi @Igor Braz Gonzaga I add a new answer because the pieces of new info were scattered here and there. You should have edited t...

4年以上 前 | 1

| 採用済み

回答済み
how to solve a 4 DOF problem with data input force
Hi @LUCA PATRIARCHI Since the earthquake force is externally time-dependent (different step size from the solver), I have creat...

4年以上 前 | 1

| 採用済み

回答済み
How to draw square plot in matlab?
Hi @Nilanshu Mahant Here is the basic to draw a square or any rectangular object. The rectangle function will pick a corner at ...

4年以上 前 | 2

| 採用済み

回答済み
Calculation of Electric Field for the given two point charges.
Hi @ajskfd Better ask a physics teacher or a physicist to check. The electric field at for the first positive Charge ...

4年以上 前 | 0

回答済み
question related to direction field
Hi @SSBGH The solutions for the initial conditions, , , and are given by , , , respectively. The direction field for ca...

4年以上 前 | 1

| 採用済み

回答済み
ode45 code runs indefinitely
Hi @Thomas Laverick The pressure drops rapidly. So, by the time sec. If you look at the 6th equation (dPdw), you will notice...

4年以上 前 | 0

回答済み
Solving Differential Equations With
Hi @Igor Braz Gonzaga If this is an exercise in the Mechanics class, usually will be given. Anyhow, there are generally 3 case...

4年以上 前 | 1

回答済み
How do I get distance between two curves that cannot be described with a polynomial?
Hi @Jacinth Gudetti Here is an example. Say, there are two paths: one is an onion-shaped path and the other is a circular path....

4年以上 前 | 1

回答済み
Help with solving an equation
Hi @Amy Topaz Make a direct substitution of vgs into the equation. upCOX = 125; vtp = -0.15; lambda = -0.01; l = 1; we = 1...

4年以上 前 | 1

| 採用済み

回答済み
How to get a close loop transfer function from an open loop one?
Hi @Maaz Madha Assuming that the sensor measures perfectly (), then this is one of the ways: s = tf('s'); G = (13.11*s^3 + 30...

4年以上 前 | 1

| 採用済み

回答済み
State Space observer Result
Hi @Hamidou Youness Thanks for adding more info. However, if you are looking for assistance, it is preferred that you share you...

4年以上 前 | 0

回答済み
Solve the system of homogeneous differential equations x1 (t) = 2x1 (t) — 2x2 (t) + x3(t) x2(t)= —x1(t) + 3x2(t) — x3(t) , x3(t) = —2x1(t) — 4x2(t) + 3x3(t) with initial con
Hi @Sandipan Jena Since you didn't copy equations properly (special formatted characters cannot be copied/pasted directly), I...

4年以上 前 | 0

回答済み
my program is not working properly
Hi @shiv gaur It appears that the system is highly unstable and all states blow up at around 0.35 sec except for . Please check...

4年以上 前 | 1

回答済み
Tool to optimize the exact poles for poles replacement method to get a specific state curve of the MIMO system
Hi @WijdanMTAk Maani Takrouri Have you tried tuning the gains (or poles) manually? Doing so may allow you to narrow down the ra...

4年以上 前 | 0

回答済み
How can I solve this: (x-2)*(x+1)^3?
Hi @LUCA GIROTTI It's good to hear that you tried working out something by yourself. You need to create a symbolic variable for...

4年以上 前 | 0

回答済み
how do I write expression for this equation??
Hi @manar zuhair I understand the frustration of a beginner. However, since you didn't provide much info, I can only guess and ...

4年以上 前 | 1

回答済み
I need help in MATLAB code for general tan function with taylor series
Hi @Haseeb Hashim If we are looking at the same source, then you should be able to view this: https://en.wikipedia.org/wiki/...

4年以上 前 | 0

回答済み
how to plot v-t graph for v=v0(e^-kt)?
Hi @현규 강 The method posted by @Davide Masiello is proper. Alternatively, if you want a quick plot to view, then you can do this...

4年以上 前 | 0

回答済み
How do I code this to my transfer function ?
Hi @Jay To represent time delays in linear systems, you can write something like G = tf(1,[1 10],'InputDelay', 4) or G = tf(...

4年以上 前 | 0

回答済み
Can MATLAB solve a Lyapunov equation symbolically?
Hi @Matt Woolf Let's try a new one by reducing the non-dependant variables. I have simplified the computation by letting , , , ...

4年以上 前 | 0

回答済み
Can MATLAB solve a Lyapunov equation symbolically?
Hi @Matt Woolf Try this script: syms k Q pe D B Ur Up Sr Sp p11 p12 p13 p22 p23 p33 A = sym('A', [3 3]); % state matrix P ...

4年以上 前 | 1

| 採用済み

回答済み
Use symbolic variable for lyapunov function
Hi @Kashish Pilyal If you are writing for a journal paper or a thesis, the following explanation might be helpful. Let , , and...

4年以上 前 | 2

| 採用済み

さらに読み込む