回答済み
Problem facing in solving xdot=Ax system when A is unstable.
Hi @Hemanta Hazarika This is an educated guess. If the unstable state matrix is and the initial values are , then the error be...

2年以上 前 | 0

| 採用済み

回答済み
Need to fit a curve to some data points
Hi @ISh This Rational function model (Rat11) precisely fits the three data points. format long g %% Data xdat = [ 1 2 100...

2年以上 前 | 0

回答済み
Need to fit a curve to some data points
Here's another candidate. An exponential decay function model should align with the description you provided. Try learning how ...

2年以上 前 | 0

| 採用済み

回答済み
Can I trust this closed loop response and include it as a final result in my Thesis?
Hi @Ayesha, You can actually verify the result (from Check Bode Characteristics block) with the Bode plot of the Closed-loop Sy...

2年以上 前 | 0

| 採用済み

回答済み
providing our own Initial cluster centroids to fcm function
Hi @NALLARASU KRISH The ability to provide the initial cluster centers was introduced in R2023b through the fcmOptions() comman...

2年以上 前 | 1

| 採用済み

回答済み
how to find intersection data between 2 function
Hi @Arif The red line represents the extrapolation up to the vertical line . The main concept here is to determine the equation...

2年以上 前 | 1

| 採用済み

回答済み
Plotting sine functions using linspace command
It says to plot y as a function of t. You can follow this example to make the plot. You can learn more about linspace() and plo...

2年以上 前 | 1

回答済み
Centigrade to Fahrenheit Converter doesn't work properly
Hey @Laura, there doesn't seem to be any issue with the code when the input() command is placed outside of the C2F() function. ...

2年以上 前 | 0

回答済み
Why does this code give me an error?
Hi @Sadiq Akbar If nonlinear inequality constraints are not available, you can disable them in the code. It appears that the up...

2年以上 前 | 0

回答済み
Finding the peak of a sinusoidal voltage using only Simulink Blocks (No Matlab Function Block)
Hi @HASSAN ABDELGABIR Isn't the MATLAB Function block part of the Simulink block families that grants you the greater potential...

2年以上 前 | 0

回答済み
How to optimize a parameter, influencing the dynamic response of a control system
Hi @javier rivas I just wanted to point out that if you use the step() command instead of the lsim() command, the resulting out...

2年以上 前 | 1

回答済み
Simulink integrator error, please help
Hi @Federico Ennio, Considering the system dynamics, the controller can be designed as follows , where , , . Ho...

2年以上 前 | 0

回答済み
I need Pressurized Water Reactor (PWR) steam generator matlab code so if anyone has please help me. Thanks
Hi @JAWED AHMED While I'm not an expert in Pressurized Water Reactor (PWR) systems, I can point you towards a helpful resource....

2年以上 前 | 0

回答済み
How to get 2% and 5% settling time from simulink?
Hi @Daniel Below, you'll find the calculation for the settling time based on the 5% criterion: %% System zeta= 1/2; wn = 1;...

2年以上 前 | 0

回答済み
how to write sqrtroot power 7 ?
@Grégoire, If you mean this function: then you can use the function handle: g = @(x) (sqrt(14*x - 7)).^7; x = 0.5:0.01:...

2年以上 前 | 1

回答済み
Different results between Step and Stepinfo
Hi @Gerard Carroll The main reason behind the difference in the step-response characteristics between Approach 1 (from Transfer...

2年以上 前 | 0

回答済み
How do I deploy singleton membership function in fuzzy logic output
Hi @Evans Here's how you can create fuzzy singleton membership functions. In this code snippet, I'm using three singletons. % ...

2年以上 前 | 0

回答済み
Hello, please can you help me to solve the error in this code below!!!!
Hi @yousra yahia I'm not entirely certain about the purpose of your code since some lines appear to deviate from the strict rul...

2年以上 前 | 0

回答済み
The distance traveled by a ball falling in the air is given by the equation x = x_{0} + v_{0}*t + 1/2 * a * t ^ 2
Hi @Felix Jim It might be beneficial for you to explore how to utilize MATLAB for solving dynamical equations, particularly whe...

2年以上 前 | 0

回答済み
What would be the equation of the following surface?
You can probably try this quadratic function , where is a constant, and , . Update 1: Another candidate function for the surfa...

2年以上 前 | 0

| 採用済み

回答済み
how to write a complex transfer function
Ensure no space in . numerator = [-10.45 -10.53 -.2246 0]; denominator = [0 1 1.2116 -.1087-.0909j]; sys = tf(num...

2年以上 前 | 0

| 採用済み

回答済み
I am having trouble to define in matlab the transfer function of the following block diagram.
Hi @Jake In order to obtain the transfer function of the plant, you can likely perform the algebraic manipulations in the manne...

2年以上 前 | 1

| 採用済み

回答済み
LQR for nonlinear system is running but not tracking
Hi @Kamal I wanted to bring to your attention that the controllability matrix does not meet the requirement of full row rank. I...

2年以上 前 | 0

| 採用済み

回答済み
Index exceeds the number of array elements. Index must not exceed 1.
Hi @Deepti t I would recommend calculating the ITAE (Integral of Time-weighted Absolute Error) within the Simulink model and co...

2年以上 前 | 0

回答済み
Learn Optimization Techniques with MATLAB
Hi @Donne If this is indeed a static optimization problem, the minimization of the volume of the cone clutch can be achieved by...

2年以上 前 | 0

回答済み
How to solve 'out of memory' problem while solving coupled differential equation ?
Hi @Golam I have a suspicion that the main issue lies in the state equation of , possibly due to the excessively large values o...

2年以上 前 | 0

| 採用済み

回答済み
How to chnage the coefficent for transfer function?
Hi @Shambaven Srimurugathas I believe that the following result is probably what you are seeking. Update 2: As per what you w...

2年以上 前 | 1

回答済み
Finding range of variable for which eigenvalue of matrix is negative.
Hi @Manas I'm not sure how you mathematically derived the matrix in the question. However, based on your comment, the 3-by-3 st...

2年以上 前 | 1

回答済み
Hi, I am new to Matlab. When typing in a line of code, nested in it is a helper function, can someone assist me with the correct placement of the helper function.unction
Hi @Augustine In the past, the convention was to save the helper function as a standalone m-file, typically placed in the same ...

2年以上 前 | 0

| 採用済み

回答済み
I am having trouble with PID controller design Non minimum phase system
The pidtune() command from the Control System Toolbox can be applied to this problem. %% Plant s = tf('s'); Gp = (3e-09*s^...

2年以上 前 | 0

さらに読み込む