# Questions tagged [matlab]

Use of Matlab to solve engineering problems.

110 questions
Filter by
Sorted by
Tagged with
15 views

### 81 Level Inverter Problem when using a Motor as a Load (Simulink)

i made a VFD based on (See reference 1). The problem is that, when connecting a Motor (Asyncrhonous Machine SI) as the load... the Noise just goes crazy. First, using an RLC Series Load (Default) i ...
14 views

### Signal processing and modulation in Simulink

I want to add input to my Simulink model from PC / Laptop keyboard. I found a few similar s-functions in which this opportunity is implemented but the problem is that it only shows a discrete "...
12 views

### How to add wireless capability to DC Electric Charging Vehicle Diagram?

I am using this DC EV Charger model as a base for research provided by Mathworks: https://www.mathworks.com/help/sps/ug/dc-fast-charger.html I want to add some wireless receiver/transciever to the ...
1 vote
59 views

### Optimizing Launch to LEO

I recently decided I would try to develop my own launch to LEO optimizer, as I have always been fascinated with the complexity of that problem. I have been using matlab, as I am very comfortable with ...
49 views

### How to implement H-infinity controller in STM32 platform?

I used matlab to simulate some H infinity controllers, and I have some understanding of the related theory. But I don't know how to implement H-infinite controller on STM32 platform using C/C++ code. ...
123 views

### What is the Z transform of the Discreate PI control model？

I have a discreate PI controller implemented in stm32 MCU, it has the following form: $$PI=K_p\cdot[r(t_i)-y(t_i)] + (K_I)\cdot\sum_{n=0}^{i}[r(t_n)-y(t_n)]\cdot\Delta t$$ where $r(t_i)$ is the ...
26 views

### Is a vibrating Euler beam supposed to behave in this way?

I am a student of mathematics and for my modelling seminar, I need to dip a little bit into engineering in order to model the movements of a suspension bridge under influence of wind. This will be ...
34 views

### steering wheel angle control

I am working on an autonomous vehicle's control, specifically the steering wheel angle control. Knowing that I used kinematic bicycle model, my questions are: How do I choose the actuator for my ...
22 views

101 views

1 vote
87 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 ...
536 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 ...
27 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 ...
680 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 ,...
1 vote
461 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) ...
109 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 ...
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 ...
1 vote
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 ...
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^\...