回答済み
the mass matrix and Jacobian matrix in ode15s
Hi @Tony Cheng is the state-dependent mass matrix. Therefore, you can specify the mass matrix using the 'Mass' option of odese...

3年弱 前 | 2

| 採用済み

回答済み
Expand a certain range on x axis
Hi @VICTOR COELLO ELOI Not sure if this is what you want. Perhaps you can try using xlim() to set the x-axis limits to range fr...

3年弱 前 | 0

回答済み
Plotting trapezoids in one graph
Hi @davut In the future, if the trapezoids are used for performing mathematical analysis later, then the formulated trapezoid f...

3年弱 前 | 1

回答済み
Plotting trapezoids in one graph
Hi @davut I'm revisiting your plotting problem. If you simply want to display the trapezoids and their flipped counterparts, yo...

3年弱 前 | 1

回答済み
Solve non linear equation with vector
Hi @Guilherme Lopes de Campos I have fixed the function f in the code. Now it should be working correctly. The dados.mass and d...

3年弱 前 | 0

回答済み
Plotting trapezoids in one graph
Hi @davut Mathematically, these plots represent piecewise linear functions. The easiest way is probably to use the trapezoidal ...

3年弱 前 | 2

| 採用済み

回答済み
One of the systems I want to control with PID is the state space equation with disturbances. Can someone help me to design matlab function of the system? Please
Hi @veysel burçak I have fixed the code in the MATLAB Function block. The initial condition is assigned in the Integrator block...

3年弱 前 | 1

| 採用済み

回答済み
Lumped mass model of underwater tethered ROV
Hi @Dhruvit Without providing the governing physical laws, it is relatively difficult to show you how to model it in Simulink. ...

3年弱 前 | 0

回答済み
how to assign initial values to scalar quantities in simulink function. please help
Hi @John You can insert the initial values in the Integrator block as shown in the example below:

3年弱 前 | 1

| 採用済み

回答済み
Heat transfer modelling of motor
Hi @Kranz, Before modeling, I recommend creating a sketch of the heat transfer process in the form of a Piping & Instrumentatio...

3年弱 前 | 0

回答済み
why function giving error?
Hi @ANDREW Your incomplete Artificial Bee Colony (ABC) algorithm is largely unmodified. I just added Phase #6 (to find the best...

3年弱 前 | 2

| 採用済み

回答済み
How to solve the error "Gaussian membership function must have positive sigma value"
Hi @Avijit Paul and @林朝 潘 The error indicates that either you or your algorithm made a mistake by assigning a negative value to...

3年弱 前 | 0

回答済み
I want to plot Basin of attraction. I have written a few line of code given below.Please help some one
Hi @MD KAUSAR SK I'm unsure if the basin of attraction exists or not because a random sampling of the initial conditions in the...

3年弱 前 | 0

回答済み
I want to implement a switch which will open or close based on some conditions. Kindly suggest how can I achieve this?
Hi @Optimus I think the switch action can be mathematically described by , with the state '0' means disconnect, and '1' means...

3年弱 前 | 0

回答済み
Please suggest the online free course of modelling and simulation using matlab
Hi @Ali Asghar If you are referring to dyanmic systems, then you can find a lot of system modeling examples here: https://ctms...

3年弱 前 | 0

回答済み
Voltage control for buck converter
Hi @Usman I'm unfamiliar with the buck converter model. But I can show you a simple example below to demonstrate the basic mode...

3年弱 前 | 0

回答済み
Plotting an Spring Damper system, with an MR damper.
Hi @Gidel To log the data signals to workspace from the Simulink model, use the To Workspace block, as shown below. Double-c...

3年弱 前 | 1

回答済み
Gain block problem?
Hi @Rushi Patel If you have the Aerospace Blockset installed, then you can find and use this Angular Velocity Conversion block ...

3年弱 前 | 0

回答済み
RC Circuit in Simulink and Simscape
It's an Example that comes with Simscape toolbox. From the error message, most likely Simscape is not installed. help ssc_rc_ci...

3年弱 前 | 0

回答済み
Understanding the following line of code regarding Gaussian distribution.
Hi @charu shree This variable samples_gaussian is unused in plotting the pdf and cdf. The code runs without error. % Number of...

3年弱 前 | 2

| 採用済み

回答済み
Simulink state space observer output issue
Hi @Kenny See my analysis below: A = [0 1; 0 -32]; % state matrix B = [0; 8]; % input matrix C = [1 0]; ...

3年弱 前 | 2

| 採用済み

回答済み
How can i scale the action of DDPG agent in Reinforcement Learning?
Hi @awcii Sound like a constraint to me. This example shows how to train the RL agent for Lane Keeping Assist, where the front ...

3年弱 前 | 0

回答済み
Error with Fuzzy Tree Model
HI @Layla Mohammad Please check this out and see if these MFs, Surfaces, and the FIS Tree are what you are expecting. % Fuzzy ...

3年弱 前 | 2

| 採用済み

回答済み
How to integrate varying-size signals in simulink?
Hi @Dhruvit The error seems to indicate that there is a problem with the dimensions of your acceleration term (3xn matrix) when...

3年弱 前 | 1

| 採用済み

回答済み
I want to isocline induced step function
Hi @MD KAUSAR SK The above code seems to be generated by ChatGPT and it has flaws. You shouldn't directly use or blindly trust ...

3年弱 前 | 0

回答済み
One of the systems I want to control includes disturbances in the input matrix. How can I convert this state space equation into a transfer function?
Hi @veysel burçak Sounds interesting. I wonder how you will design the controller for the system subject to the mismatched dist...

3年弱 前 | 2

回答済み
plot w=exp(-x/0.3042) (when 0<w<1)
Hi @haeri The plotting is merely a basic skill that you can learn in MATLAB Onramp. More importantly, you need to know some pro...

3年弱 前 | 0

回答済み
Hello: i want to give a step input to my simulink function which starts at 1 second and ends at 1.1 seconds and having an amplitude of 0.1. Step block not working
Hi @John, Mathematically, the functions looks like this: where is the amplitude. So, you just need to construct the blocks ...

3年弱 前 | 1

回答済み
How do I curve fit the data set
Hi @Prajwal Magadi Not sure if this is what your want. But you can try finding the best math function to fit. data = load('cur...

3年弱 前 | 1

| 採用済み

回答済み
I am not finding directional control valve in MATLAB R2022a, how to proceed? Have MATLAB deleted control valves?
Hi @KANGKAN If you are looking for directional valve blocks in Simulink, they can be found in the Simscape Fluids library. htt...

3年弱 前 | 0

さらに読み込む