Respondida
What is the problem with my code because i would like to get the same result as in the picture. Can you help me?
Hi @Luc RABE From the image you provided, the sampling time is definitely much shorter. I picked Ts = 0.02. Check the book. I b...

casi 3 años hace | 2

| aceptada

Respondida
Obtain natural frequencies of a structural model.
Hi @Jorge Garcia Garcia Since the natural frequencies are related to the eigenvalues of the structural system, I believe you ca...

casi 3 años hace | 0

| aceptada

Respondida
iam trying to solve a system of differential equations of car model using ode45 but I am always get an error
Hi @Mostafa Salah, The code is quite messy, with numerous unformatted local functions scattered throughout, making it visually ...

casi 3 años hace | 0

| aceptada

Respondida
How do I simulate mini solar panels in series on MATLAB?
Hi @Aleena For beginners, it is usually recommended to derive the mathematical model of a typical system from some governing la...

casi 3 años hace | 1

Respondida
Hey there, I need some help with this error. Would anyone be willing to provide guidance?
HI @Danikha Shyken For a fixed-step solver, you can modify the settings in the Solver tab of the Configuration Parameters dialo...

casi 3 años hace | 0

| aceptada

Respondida
Need Help Understanding the 'oceanwave()' Function
HI @Vaishnavi P I regret to inform you that I am not an oceanographer. From the context, it appears that you are most likely a ...

casi 3 años hace | 1

| aceptada

Respondida
I need to put this block diagram in MATLAB (not in Simulink) and I do not know how to do it
Hi @Carlos Puente When utilizing the syntax s = tf('s') to establish a special variable 's', you gain the ability to directly f...

casi 3 años hace | 0

Respondida
un modelo de control de robot scara no compila en simulink, se queda parado en 1%, ¿como puedo solucionarlo?
Hola @Marcel Lolita Hoyos Muñoz Sospecho que ha ocurrido una singularidad en el robot SCARA al 1% del tiempo de simulación. La ...

casi 3 años hace | 0

Respondida
How do I alter the curve of my plot
g = 9.81; v = 85; i_h = 0:0.25:95; h_f = 0; % Equations: t being time and d being distance t = sqrt(2*i_h\g); d = (85*sqr...

casi 3 años hace | 0

Respondida
How To solve this equation?
Hi @Alif Here is the numerical approach. format long g x = 1:1000; y = (nthroot(5*x + 2, 5))./x; S = sum(y)

casi 3 años hace | 1

Respondida
How to plot the following function?
Hi @Reema Noor You can find some good examples related to plotting some functions in these links: https://www.mathworks.com/he...

casi 3 años hace | 0

Respondida
Tuning MISO PI Controller for SIMO System
Hi @Hannes I've examined the Simulink model depicting the unicycle dynamics that is somewhat vaguely displayed under the block ...

casi 3 años hace | 0

Respondida
Matlab cannot find solution
Hi @Xinjie Qian If the solve() function is used, then it says "Unable to find explicit soluion." syms r m n eqn = ((2*r^4-8...

casi 3 años hace | 0

Respondida
Solve for y in function z = f(x, y)
Hi @Tim Fulcher If the values for x and z are known, then you can numerically solve for y. syms y x = 1; z = 0; p00 = 1...

casi 3 años hace | 1

| aceptada

Respondida
HOW TO: Using each step result in subsequent step during integration via ODE
Hi @Presley From your provided formula, both and can be directly computed from the ode45 solution vector x. Could you please ...

casi 3 años hace | 0

Respondida
Error occurs when creating Pole-Zero Map using pzmap()
Hi @Muhammad Aboawah I wanted to bring to your attention that, based on the documentation, it appears that the pidTuner() funct...

casi 3 años hace | 1

Respondida
Please answer all. it is related to Numerical linear Algebra
Hi @Kashk In reference to your posted exercise concerning the definition of MATLAB functions, I'd like to provide a straightfor...

casi 3 años hace | 1

Respondida
How can constraint varaibles in my fcn simulink block?
Hi @Dario Di Francesco, The analysis shows that the constraint on control action is unnecessary. In Case 1, the control-free sy...

casi 3 años hace | 1

| aceptada

Respondida
Error in cumtrapz. Input arguments to function include colon operator. To input the colon character, use ':' instead.
Hi @Ivan Perhaps you can learn from this example to compute the cumulative integral of univariate function, . x = linspace(-4,...

casi 3 años hace | 1

Respondida
How to call an ode solver within another function?
Hi @L'O.G. I'm uncertain if I've correctly deduced the mathematical problem from your code. However, a singularity will occur i...

casi 3 años hace | 1

| aceptada

Respondida
Eigenvalues and Eigenvector computation on extremely bad conditioned matrices
Hi @Andrea You may consider employing the balance() function to execute diagonal scaling on the ill-conditioned matrix, thereby...

casi 3 años hace | 1

Respondida
Seeking Help to Find Kalman Decomposition Matrices
Hi @Edoardo Moroni A Kalman decomposition of the system can be obtained by using the minreal() function as follows: % Paramete...

casi 3 años hace | 0

Respondida
I need to use tf() function to create multiple step responses
Hi @Kez I assume you want to create plots of multiple step responses while varying the damping term . m = 1; c = 0:20; k = 2...

casi 3 años hace | 1

| aceptada

Respondida
Using a for loop to count the digits of pi
Hi @Martin Please try comparing the histogram with yours. num2str(pi, 1000); digits(100); % show 100 digits of π numPi = ...

casi 3 años hace | 0

Respondida
Error occurs when creating Pole-Zero Map using pzmap()
Hi @Muhammad Aboawah The input argument of the pzmap() function from the Control System Toolbox must be specified as a dynamic ...

casi 3 años hace | 2

| aceptada

Respondida
I dont understand this, can someone explain how to do it?
Hi @Dunya Jadallah This is not a solution, but plotting the function helps you understand its behavior. From the graph, you ca...

casi 3 años hace | 0

Respondida
Curve fitting with more than 3 variables
Hi @Adriana Mar de Jesus It has been quite some time since I've done surface fitting. Are you looking for an illustration like ...

casi 3 años hace | 1

| aceptada

Respondida
Error using ^ for control systems related functions
Hi Aliuddin, If you want to get the transfer function directly, then use this syntax: tfsys = tf(ss(A,B,C,D))

casi 3 años hace | 1

Respondida
Control Systems & Transfer Functions
Hi @Richard Update: A diagram illustrating the successive reductions of the multi-loop system has been added for clarity. Belo...

casi 3 años hace | 1

| aceptada

Respondida
I have 3rd order non-linear ODE and 2nd order ODE one depends on the other (free convection from vertical flat plate) with 5 B.C's how can i solve it numerically using MATLAB
Hi @Ali Al-Jaberi It appears that the origin [0, 0, 0, 0, 0] is the only equilibrium point of the system, albeit an unstable on...

casi 3 años hace | 0

Cargar más