photo

Sam Chak


Last seen: Today Con actividad desde 2020

Followers: 13   Following: 0

Estadística

  • 36 Month Streak
  • Thankful Level 3
  • Guiding Light
  • Knowledgeable Level 5
  • Revival Level 1
  • First Answer

Ver insignias

Feeds

Ver por

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 1

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

alrededor de 1 mes hace | 2

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

alrededor de 1 mes hace | 1

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

alrededor de 1 mes hace | 0

Respondida
finding altitude using matlab atmosisa given pressure
Hi @Irfan You can use this minimization approach. altitude = ga(@costfun, 1, [], [], [], [], 3.9e3, 4e3) %% Check result [~,...

alrededor de 1 mes hace | 0

| aceptada

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

alrededor de 1 mes hace | 1

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

alrededor de 1 mes hace | 1

| aceptada

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

| aceptada

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

| aceptada

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 1

| aceptada

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

alrededor de 1 mes hace | 0

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

alrededor de 2 meses hace | 0

| aceptada

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

alrededor de 2 meses hace | 2

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

alrededor de 2 meses hace | 0

Respondida
Asking about fuzzy mamdani rule
Please refer to the example in the link for constructing a fuzzy inference system at the MATLAB command line. https://www.mathw...

alrededor de 2 meses hace | 0

Respondida
No rules fired for Output 1. Defuzzified output value set to its mean range value 2.3873.
Hi @Eliane Fernández I replicated the Warning message in the example below. It is easier to understand why the warning occurs b...

alrededor de 2 meses hace | 0

Respondida
Error in Simulink - Derivative of state '1' in block at time 301.02267725 is not finite. The simulation will be stopped. There may be a singularity in the solution.
Hi @federica terlizzi % Derivative of state '1' in block 'gam_control1/PID Controller2/Integrator/Continuous/Integrator' % at...

alrededor de 2 meses hace | 0

Respondida
changes the parameters of a fuzzy Inference system in run time
Hi @gaurav kumawat If you enter fixed numeric values in the block parameters of the membership function blocks or in the fuzzy ...

alrededor de 2 meses hace | 0

Respondida
why is the Transfer fcn like this instead of showing in variable s?
Hi @Saeid It's because the block is not big enough to display . Click at the corner of the block and drag it horizontally unti...

alrededor de 2 meses hace | 0

Respondida
fuzzy logic controller failed design problem
Hi @KAO CHUN YU The singleton (constant) output membership functions in Fig. 5 indicate that this is a Sugeno fuzzy system; how...

alrededor de 2 meses hace | 0

Respondida
Possibility of Custom Denominator of Transfer Function within Simulink
Hi @Alexander Gaudreau For a variable gain in a dynamic model, you can try describing the system using MATLAB Function block. ...

alrededor de 2 meses hace | 0

| aceptada

Cargar más