Risposto
clc command window restore
Hi @Rana You can press the Up Arrow key (↑) to navigate the Command History. https://www.mathworks.com/help/matlab/ref/command...

oltre 2 anni fa | 0

Risposto
matlab invalid expression error
Hi @Kathleen Fixed "invalid expression errors" are marked by these arrows ''<--". However, the variable m_true is not provided ...

oltre 2 anni fa | 1

Risposto
I want to plot (x vs t ) of a differential equation containing signum function.please help ASAP
Hi @RAJAT You can find examples of solving ordinary differential equations in this link: https://www.mathworks.com/help/matlab...

oltre 2 anni fa | 1

| accettato

Risposto
How to code algebric loop in MATLAB script file?
Hi @Faezeh Yousefpour I've got the code to run correctly from a mathematical perspective. However, it's essential to examine ho...

quasi 3 anni fa | 0

Risposto
Emulate the fullstate feedback gains using ZOH ?
Hi @eleorigin, It appears that there is a need to convert the designed full-state feedback controller from a continuous-time re...

quasi 3 anni fa | 0

Risposto
Motor Controller for a Internal Permanent Magnet Synchronous Motor (IPMSM)
Hi @Raphael Baumeler A nominal mathematical model is required by the PID Tuner to design a PID controller for IPMSM. If the pla...

quasi 3 anni fa | 0

Risposto
how can optimize the width of member function of fuzzy in MATLAB using Ant Colony
Hi @wissam alansari I can't find the Ant Colony Optimization algorithm in MATLAB, and I don't understand the limit that you are...

quasi 3 anni fa | 0

Risposto
How to define initial conditions without getting an array error
Hi @Gabriela, The initial values can be specified as scalar values, without using array indexing method. tspan = [0 30]; %...

quasi 3 anni fa | 0

Risposto
How do I plot the infinite norm of a matrix on a graph?. I should have a square but I end up having a circle
Hi @Muhideen Ogunlowo Perhaps you want to plot something like this: p = [1, 2^1, 2^2, 2^3, 2^4]; for j = 1:length(p) f...

quasi 3 anni fa | 0

Risposto
How to run a simulink model from a matlab file with different inputs each step?
Hi @Sebastian Thank you for your clarifications. Now that we understand your controller has internal state dynamics, it's impor...

quasi 3 anni fa | 0

Risposto
How to find the Transfer function of a Simulink output plot?
Hi @Atefeh Think you want to apply the curve-fitting method to fit the sinusoidal model to the time-series data. load('V_I.mat...

quasi 3 anni fa | 1

| accettato

Risposto
Why I am getting "Matrix is singular to working precision"?
Hi @Shakil I attempted to replicate the results that displayed the warning message 'Matrix is singular to working precision.' F...

quasi 3 anni fa | 0

Risposto
Can anyone please Explain this model to me in text format
Hi @Mohamed Althaf Considering the level of sophistication evident in the Simulink model you have developed, I presume that you...

quasi 3 anni fa | 1

| accettato

Risposto
Task space control of a robot through dynamics
Hi @Szymon Blazejewicz This Simulink example shows you how to generate the trajectories for the end effector of the robot manip...

quasi 3 anni fa | 0

Risposto
Help me plot the solution in graph
Hi @Hung, I'll show you another two ways of plotting the line equations. syms x y % specify the two line equations eqn1 ...

quasi 3 anni fa | 0

Risposto
How can I train ANFIS using Particle Swarm Optimization algorithm ?
Hi @Ahmad To achieve a lower prescribed error measure, you can manually increase the number of Membership Functions until the d...

quasi 3 anni fa | 2

Risposto
How to put the fis I designed in Fuzzy Logic Designer App to Simulink?
Hi @JingChong Ning Follow these steps, and it should work. Suppose you have designed a fuzzy logic system and named it "myFuzzy...

quasi 3 anni fa | 0

Risposto
Element Wise Matrix multiplication issue (.*)
Hi @Yuvraaj Pasumarthy If you want to examine the effects of varying the beta values while keeping zeta and mu fixed, the struc...

quasi 3 anni fa | 1

Risposto
Writing a system of ODEs for ode45
Hi @Noob, Your code is unfinished, and when you run it, MATLAB will throw an error message. You can also try solving the ODE by...

quasi 3 anni fa | 0

Risposto
MATLAB code for fuzzy logic based battery scheduling for 24 hours in microgrid to minimize cost and grid dependency
Hi @REENA I can fix the warning message in the fuzzy system. Could you please interpret the meaning of the output values for me...

quasi 3 anni fa | 1

Risposto
How to solve this equation?
Hi @Ali Almakhmari, It seems that there are no real solutions for . From the graph, we can see that we need to lower the quadra...

quasi 3 anni fa | 1

| accettato

Risposto
Linear Driving Force Model for Gas Adsorption in Fixed Bed
Hi @JUBAIR AHMED SHAMIM Editted to run your supplied code. The state responses (Tbed, Twater, Tgas) converge to the same value ...

quasi 3 anni fa | 2

| accettato

Risposto
How to solve 2nd order coupled differential equations?
Hi @Gloria, If there are time-dependent elements in the mass matrix, the idea is to define the generalized 'Mass' matrix in ode...

quasi 3 anni fa | 1

Risposto
How to use harmonic fitting method
Hi @TTA, I'm interpreting your 'Harmonic' model as the 'Sum of Sine' model. If this is not the case, then you will need to crea...

quasi 3 anni fa | 1

| accettato

Risposto
Simulation step size in simulink is very small and takes really long to run. Unable to solve it
Hi @Suhas Raghavendra Kulkarni, It's not bad for a beginner in Simulink to create a rather sophisticated model using mostly use...

quasi 3 anni fa | 0

Risposto
MATLAB code for fuzzy logic based battery scheduling for 24 hours in microgrid to minimize cost and grid dependency
Hi @REENA There are many syntax errors because the name and behavior of some functions in Fuzzy Logic Toolbox have changed sinc...

quasi 3 anni fa | 2

| accettato

Risposto
Solving system of odes with a power using ode45
Hi @Thomas TJOCK-MBAGA I presume that Xinit is not equal to , and . I tested this with the ode45 solver, and it also works with...

quasi 3 anni fa | 2

| accettato

Risposto
Need Help with MATLAB Fuzzy Clustering - Trouble Implementing Example
Hi @Baptiste Please take a look at this example. The data set is specified as a matrix with 9 rows, each representing a data po...

quasi 3 anni fa | 0

Risposto
How to open simulink example in matlab?
Hi @Jagadish Babu If you cannot find the example file in the MATLAB examples directory, then it is most likely that this exampl...

quasi 3 anni fa | 0

Risposto
I don't know why my code makes odeToVectorField error
Hi @Student, The highest-order derivative is embedded in or D2s. Notably, one of the terms in this context is nonlinear, as d...

quasi 3 anni fa | 1

Carica altro