Answered
How to adjust and adapt General code of Metaheuristic algorithm to fit you problem?
Hi Yasser, To adapt the Grey Wolf Optimizer (GWO) for parameter estimation using experimental data instead of an explicit objec...

5 months ago | 0

Answered
Doing genetic algorithm with heat transfer, need help sorting input based on how close output value is to the target
Hi Shasha, Ensure that the LAMDA matrix is sorted correctly based on the indices obtained from sorting the PI values. Here's th...

5 months ago | 0

Answered
did anyone has the slip mode frequency shift model for hybrid islanding method
Hi Dastagiri, You can refer to the following example on "Islanded Operation of an Inverter-based Microgrid Using Droop Control ...

5 months ago | 0

Answered
I am finding issues in PDEPe which shows time integration failure again and again
Hi Aaditya, This error message indicates that the problem you are trying to solve is too stiff for the ODE solver you are tryin...

5 months ago | 0

Answered
Flexible Body Model Builder - Equations used inside the package
Hi, 1) Based on the provided information and your description, it seems you are correctly scaling the stiffness matrix with the...

5 months ago | 1

Answered
Contact angle measurements for droplets with a capillary
Hi Baraa, The error in your code is coming from the "findreflection" function, specifically from the indicated line. Unfortunat...

5 months ago | 0

Answered
I am solving non-linear fractional model using spectral method . So At last stage to find coefficient I have large number of nonlinear system equation how to solve using fsolv
Hi Sumit, You can refer to the following MATLAB example to understand writing a streamlined version of code for large system of...

5 months ago | 0

Answered
How do I solve a system using rkf45 method with shooing technique?
Hi Prakash, You can refer to the following File Exchange submission for implementing RKF45 in MATLAB: https://www.mathworks.co...

5 months ago | 0

Answered
Senstivity analysis in GA
Hi Gauri, From what I understand, you are not able to see any variation on varying GA parameters while performing sensitivity a...

5 months ago | 1

Answered
First order PDE system
Hi Ricardo, You can refer to the "pdepe" function in MATLAB to solve your system of PDEs. The following example from the docume...

7 months ago | 0

Answered
How can I calculate the accuracy from a reference and test 3D model?
Hi Iris, To compare two 3D meshes in MATLAB and calculate their accuracy in terms of angular and distance differences, you can ...

7 months ago | 0

Answered
I am trying to solve SBS equations but they are taking too much memory and hence the code is slow
Hi Yogesh, Given the partial nature of the code you've provided, pinpointing specific bottlenecks is challenging. I can see tha...

7 months ago | 0

Answered
Optimisation changes parameter values ever so slightly when iterating making it ineffective, they keep being very close to my initial guess rather than being whole numbers.
Hi Mikhail, From what I understand, you want integer solutions to your problem. As @Torsten pointed out, "ga" can solve probl...

7 months ago | 0

Answered
Integro-differential equation solutions
Hi Muhammad, You can refer to the answers of the following MATLAB answer to get started: https://www.mathworks.com/matlabcentr...

8 months ago | 0

| accepted

Answered
i cant seem to integrate the code
Hi Gihahn, To perform the integration, you need to use the int function from the Symbolic Math Toolbox and also ensure syms is ...

8 months ago | 0

Answered
Vibration of a Cantilever beam
Hi Bhanu, To apply the force only on the last node of the beam, like in a cantilever beam scenario, you need to adjust the way ...

8 months ago | 0

Answered
how can I plot a P-v and T-S diagrams in simulink
Hi Tomer, There are no existing blocks to fetch Pv and Ts diagrams directly, however, you can make use of the MATLAB Function ...

8 months ago | 1

Answered
how to use reshape when plotting s-parameters?
Hi Em, The error indicates a mismatch in the number of elements due to the incompatibility of dimensions while reshaping. Alth...

9 months ago | 0

Answered
Gridlines do not show in xregion/yregion when exporting to pdf
Hi, From what I understand, you are trying to export your plot having a 1-D filled region to a PDF with vector graphics, howev...

9 months ago | 0

| accepted

Answered
Pareto front assistance GAmultiobjective
Hi Samir, From what I understand, you are trying to figure out a third objective function and you also want to know how you ca...

10 months ago | 0

Answered
uieditfield defined in classdef won't update Value
Hi Alex, I understand that on clicking the button and selecting the directory, you intend to reflect the path to selected direc...

10 months ago | 0

Answered
Why do I receive Error 5001 - Unable to access services required to run MATLAB?
Hi, You can refer to the following MATLAB answer by the MathWorks Support Team to resolve this issue: https://www.mathworks.co...

10 months ago | 0

Answered
MATLAB code to solve coupled differential equation
Hi Mustafa, I understand that you are trying to solve a set of coupled differential equations using RK fourth order. You can r...

10 months ago | 0

Answered
Why are my pulldown menus in the editor and live editor in Chinese and how do i change that on a Mac?
Hi Robert, You can refer to the following MATLAB answer that addresses this issue: https://www.mathworks.com/matlabcentral/ans...

10 months ago | 1

| accepted

Answered
Open Source alternative to surrogateopt
Hi Nathan, From what I understand, you are using "Surrogate Optimization" for solving your objective function, but the problem...

10 months ago | 1

| accepted

Answered
Prediction of the expected improvement after getting the Bayesopt result output.
Hi, From what I understand, you want to obtain the acquisition function values while implementing "bayesopt". Refer to the fol...

10 months ago | 0

Answered
how do i change parameters for a timespan t when the total time span for ODE simulation is T?
Hi Hetavi, From what I understand you want to solve a time-dependent ODE where you need to alter the rate constants based on th...

10 months ago | 1

Answered
Error using Harmonic Analysis Function
Hi Hassan, The following MATLAB answer might be of help: https://www.mathworks.com/matlabcentral/answers/2051917-error-in-sims...

10 months ago | 0

| accepted

Answered
lenght of delay blocks changed
Hi Maarten, The "Delay" block determines delay time based on the value of the "Delay length" parameter. However, the output in ...

10 months ago | 0

Answered
Bayesopt library extracts data which violate the given deterministic constraints.
Hi, Bayesian optimization in MATLAB using the “bayesopt” function respects the deterministic constraints if they are correctly...

11 months ago | 0

Load more