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

oltre 2 anni fa | 1

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 1

| accettato

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 1

| accettato

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 2

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

| accettato

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 1

| accettato

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

oltre 2 anni fa | 0

Risposto
How can I plot an ellipsoid using the ellipsoid function with a given equation in the form of ax^2+by^2+cz^2 = 1.
If you want to use the function ellipsoid(), here is an example: % center coordinates cc = [0 0 0]; xc = cc(1); yc = cc(2...

oltre 2 anni fa | 0

Risposto
Error in ode arguments (line 92), error in ode45 (line 107)
Hi @Thomas There is a typo in the function odefcn(). % System parameters: A1 = 1; % (m^2) Cross-sectional area of the...

oltre 2 anni fa | 1

| accettato

Risposto
I can't open any scripts.
Hi @Rebekah, Can you click on the Editor tab over here?

oltre 2 anni fa | 3

| accettato

Risposto
How to get a specific shape of a contour plot in MATLAB
Hi @Bibigul, Check if this is what you want. x = linspace(0,1,11); y = linspace(0,1,11); Z = [0 0 0 ...

oltre 2 anni fa | 3

| accettato

Risposto
Guidance needed to generate Pseudo-Random Binary Sequence (PRBS) and ternary-sequence signals
@MUHAMMAD AJMAL Please refer to the information and examples in these links: https://www.mathworks.com/help/slcontrol/ug/prbs-...

oltre 2 anni fa | 0

Carica altro