Skip to main content

Questions tagged [matlab]

Use of Matlab to solve engineering problems.

0 votes
1 answer
51 views

Why use python over MATLAB? [closed]

So in my bachelors and throughout my engineering degree, we did everything in MATLAB. But I've heard that many companies use python over matlab. Trying Python out for myself, it seems harder to use in ...
J Doe's user avatar
  • 3
0 votes
1 answer
56 views

What meaning does the following sine wave have when it comes to amplitude?

So I am getting into engineering and was curious what it means when a sine wave isn't even in a sense, at 0, from my understanding, the waveform has peak to peak amplitude of 4, while having a ...
Jack burns's user avatar
0 votes
1 answer
48 views

Is more requested MATLAB or Python in companies (for engineers)? [closed]

My question is not exactly on MATLAB vs Python in terms of features (about which there are plenty of topics yet). It's a specific question for engineers who have a certain experience with some ...
Kinka-Byo's user avatar
  • 111
0 votes
0 answers
97 views

How to model a double transfer function in Simulink?

I'm trying to model an actuator in Simulink based transfer functions previously derived. One of functions is $$\omega_p=G_2(K_cG_1V_c-c)$$ where $$G_1=\frac{K_e}{\tau_es+1}$$ $$G_2=\frac{1}{c+...
square potato's user avatar
1 vote
2 answers
96 views

How do I interpret states in the MATLAB System Identification Toolbox?

I am using the MATLAB System Identification Toolbox to estimate a 3rd order state space plant model. More precisely, the plant is a car with an Arduino mounted on it. The car takes in a PWM duty cycle ...
mhdadk's user avatar
  • 176
0 votes
2 answers
780 views

How can I find deflection in a member that doesn't have a constant area moment of inertia?

I'm trying to calculate the maximum deflection in a simply supported member with a uniformly distributed load. The trouble is this member does not have a constant area moment of inertia. I've drawn a ...
Hi-Polymer Eraser's user avatar
-1 votes
1 answer
28 views

Regressor-passivity robot control. Help with simulation (Simulink/Matlab)

I'm trying to simulate a 2DOF planar pendulum with a regresor-passivity control, the thing is I've been having some issues with my simulation, I'm using Simulink, but in theory I know my control law ...
Daniel Arevalo's user avatar
-1 votes
1 answer
825 views

sinking speed of particle in water

For a Newtonian fluid the sinking final speed of a metal particle is given by this equation : while g is Gravitational acceleration , $\rho_P$ = is particle density , $\rho_F $ = is fluid density ,...
Mahajna's user avatar
1 vote
1 answer
574 views

Root Locus and Routh–Hurwitz stability criterion

A satellite launcher has a unit feedback system, whose TF global open loop is given by: $$G_c(s)G(s) = \frac{K(s^2-4s+18)(s+2)}{(s^2-2)(s+12)} $$ a) Draw the root locus for this function b) ...
Alessandro Melo's user avatar
3 votes
1 answer
152 views

Mathematical transformation of a heading angle to a roll angle

I'm trying to understand a function in a SIMULINK example of a path following UAV simulation. The gist is that, the UAV Waypoint Follower block provides a required heading from a list of waypoints and ...
Chryron's user avatar
  • 141
0 votes
1 answer
1k views

How to find closed loop transfer function and use it to identify τ and k?

I have to answer a few questions on transfer functions using Matlab. The first question, which I solved without Matlab, gives a time response graph for an LR circuit, and asks me to find the first ...
Sam's user avatar
  • 11
1 vote
0 answers
30 views

Slow integration of system ODE under specific conditions in adsorption problem

I am trying to solve the system of ODEs below. I am applying the finite differences to z, so I get a system of ODE that I can solve with a solver like ode45. The problem is that under the conditions ...
Synergix's user avatar
3 votes
0 answers
111 views

LQR Implementation in MATLAB

I am trying to implement a simple LQR controller in MATLAB for a purely deterministic system. The code is shown below: ...
Josh Pilipovsky's user avatar
4 votes
2 answers
897 views

Finding coefficients for a PID controller that minimize the integral of the squared error (ISE)

The problem The problem is to find the coefficients for the P, I and D terms of a PID controller used to regulate the object that minimize the the integral of the squared error (ISE): $$Q = \int_0^\...
user24139's user avatar
-2 votes
1 answer
215 views

Limiting PID controller's output making the plant unstable and untunable

I am using the PID block in Simulink and limiting the output to (+/-)5. The plant becomes unstable and untunable after putting these limits. The plant is stable and tuneable otherwise if no limits are ...
Munish kumar's user avatar

15 30 50 per page
1 2 3
4
5
8