Statistics
0 Questions
1,805 Answers
RANK
43
of 295,913
REPUTATION
4,484
CONTRIBUTIONS
0 Questions
1,805 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
965
RANK
of 20,299
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154,824
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Have successfully used ode45 once in this code, but with the same size parameters am getting an error about initial conditions vector being longer than the return vector.
Hi @Raoul There is no error in organizing the code structure clearly with constants and states (variables that change over time...
9 hours ago | 0
Controllable Companion form for a MIMO system
Hi @naiva saeedia The following is the result returned by compreal: %% Original state-space Plant A = [-0.978707531551846 ...
6 days ago | 0
Initial Oscillations in Closed Loop Control Model
Hi @Mariangela Plot the vector field, and you should be able to understand the instantaneous dynamics at each point in the phas...
9 days ago | 0
PID tuning to meet conditions for settling time and overshoot while a stable system with minimum peak time and zero velocity error.
Hi @Ashaya KC Here is the solution using pidtune(). There is no direct way to input the desired settling time and overshoot per...
9 days ago | 0
| accepted
PID tuning to meet conditions for settling time and overshoot while a stable system with minimum peak time and zero velocity error.
Hi @Ashaya KC Let's first use the ideal mathematical solution and then compare it to your solution obtained using the pidtune()...
9 days ago | 0
having problem plotting ramp function
Hi @Tien Yin The signal in the image is a piecewise function that consists of three sub-functions defined over different interv...
9 days ago | 1
How to add an s+1 block on simulink?
Hi @Julian Since you are unable to clearly define the control objective and performance requirements, I can only advise you to ...
19 days ago | 0
Optimization Eigenvalue problem Stiffness matrix
Hi @Marina The problem has two parts. I have solved only the first part for you, which is to determine the characteristic polyn...
2 months ago | 0
Turning powers of hyperbolic functions to multiple arguments
Hi @Andrew At first, I thought you were describing the sum of arguments. This is certainly not a silly question. However, it re...
2 months ago | 1
how can I calculate euler constant
Hi @hajer Three days ago, @John D'Errico and I discussed the Gamma function in this thread. I’m not sure how to perform the num...
2 months ago | 2
make the execution faster
Hi @prabal datta You might as well use the built-in ODE solver, such as ode45, to solve the chaotic Lorenz system for compariso...
2 months ago | 1
The Newton Raphson method for p(x) = 100 .* sqrt(x) .* 0.99.^(sqrt(x)) - 0.5 .* x, problem with derivative and reasonable x value
Hi @Elina You likely want to find the value of where the maximum value of occurs, but you may have inadvertently used the New...
2 months ago | 0
finding altitude using matlab atmosisa given pressure
Hi @Irfan You can use this minimization approach. altitude = ga(@costfun, 1, [], [], [], [], 3.9e3, 4e3) %% Check result [~,...
2 months ago | 0
| accepted
PID controller behaves strangely for larger Ts values
Hi @Wynand There are a few things for which you can find detailed explanations in control theory books. In short, the ideal ITA...
2 months ago | 1
How do I solve this differential equation?
Put the constants inside the function. tspan = [0, 1e-3]; y0 = [0.139626; 0]; [t, y] = ode45(@(t,y) odefcn(t,y), tspa...
2 months ago | 1
| accepted
How to do this block diagram in simulink?
Hi @Tahsin If you are referring to this block diagram, there is a slight mistake in the architecture, as the Velocity Loop and ...
2 months ago | 0
How to properly fit the data to lorentzian curve as I am getting a few errors...
Hi @Yogesh Here is the fitting with a Gaussian model. RMS=[]; R=[]; P_threshold=[]; L=5; %[m] Fiber length V1=[1]; P0=4.7...
2 months ago | 0
PI controller does not have the effect I would expect from the calculations
Hi @Wynand Please see my explanations below. %% Plant K = 11041666; B = 100; M = 1019; num ...
2 months ago | 0
| accepted
What calculation is done to find the gains (k) of the zpk function?
Hi @Rafaella Barrêto Campos Short Answer: Due to your specific state-space configuration, k(1) is derived from the first elem...
2 months ago | 0
Model and control state space with perturbation
Hi @CN. The discussion in the provided link does not address control design for disturbance rejection. Regarding your inquiry,...
2 months ago | 0
Trying to create a polynomial using data from a table
Hi @Andrei I believe the correct syntax should be [X, Y] = meshgrid(dP, PressureInlet), and the remainder of your code appears ...
2 months ago | 0
What optimization algorithm would work best for my network problem?
Hi @Robert Gray It may be difficult to determine which optimization algorithm would work best for your network problem. Some op...
2 months ago | 0
How to properly fit the data to lorentzian curve as I am getting a few errors...
Hi @Yogesh Here is how I fit the Lorentzian model: RMS=[]; R=[]; P_threshold=[]; L=5; %[m] Fiber length V1=[1]; P0=4.7960...
2 months ago | 0
| accepted
Controlling the actuator with 5,10 mm displacement input.
Hi @Fatih The mathematical function for the reference signal (red curve) is necessary so that we can instruct the PID controlle...
2 months ago | 0
function zpk and linmod
Hi @Rafaella Barrêto Campos Once you have the state-space, you can apply the zpk() function to obtain the TF in zpk mode. A ...
2 months ago | 0
I am using the MATLAB exchange file called "A MATLAB Script for Earth-to-Mars Mission Design", getting error sunscreen is not defined
Hi @Chintan Most of the simulation projects by David Eagle require SNOPT, which stands for Sparse Nonlinear OPTimizer. If you a...
2 months ago | 1
| accepted
How to define the output membership function in Sugeno method while using Fuzzy Logics Design app in Matlab?
Hi @Tharun Balaji Rangaswamy Selvakumar If you have a set of data, you can train the ANFIS, which produces the Sugeno Fuzzy Sys...
2 months ago | 0
Dimensionless variables of the differential equation
Hi @Yu The aim is to render the entire dynamical system dimensionless (by finding the dimensionless time derivative), rather th...
2 months ago | 0
| accepted
Is there a way to determine an equivalent circuit for Nyquist diagrams (I have the data set) using Matlab (or Simulink)?
Hi @Arthur FdA I'm unfamiliar with your circuit system. However, if you have the data in the form of frequency-response, then y...
2 months ago | 2
for the parameter space in fuzzy logic , how can i choose the value of the numbers ?
Each selected membership function type requires the parameters to be specified as a vector. The length of the parameter vector d...
2 months ago | 0