Risposto
solving a differential equation using ode45 but the problem is i didn't get what i expected.
@SAHIL SAHOO Nothing wrong with code. The ode45 produces the solution based your given equation and input parameters. However,...

quasi 4 anni fa | 1

| accettato

Risposto
Ordinary differential equation, transforming into a single ODE
Hi @greg I copied the code from https://www.mathworks.com/help/matlab/ref/ode45.html#bu3uj8b and pasted here. After some modi...

quasi 4 anni fa | 0

Risposto
How to plot a special plane x-y=5 with surf function
HI @Wei Wei, not exactly sure about the "special" thing. Do you expect something like this? [X, Y] = meshgrid(-1:2/40:1, -5:5/4...

quasi 4 anni fa | 0

Risposto
I need to know the order of solution vector i-e how solution is stored in solution vector of coupled 2nd order differential equations
@Haseeb Hashim, Aha, I see. You will have to remove the semicolon at the end of this line [VF,Subs] = odeToVectorField(Eq1, E...

quasi 4 anni fa | 2

| accettato

Risposto
How to find x values of specified y point on the graph ?
Hi Zack, You can use <https://www.mathworks.com/help/matlab/ref/interp1.html interp1> technique.

quasi 4 anni fa | 0

Risposto
solving a single differential equation by using ode45, but it can't solve should I write something else.
@SAHIL SAHOO, based on the ODE in this image the output probably becomes like this: ti = 0; % inital time tf = 1...

quasi 4 anni fa | 1

| accettato

Risposto
Using Euler method to solve second order ODE
Hi @Yuval Levy Some minor issues. If you use Euler's method and you want to simulate for a relatively long duration, then you n...

quasi 4 anni fa | 2

| accettato

Risposto
how to solve the program?
Hi @prajith samraj Try manipulating the parameters to get different results. % Solver tspan = [0 20]; x10 = 0.11; x2...

quasi 4 anni fa | 2

| accettato

Risposto
Please help me solve this differential equation
Hi @Armel Kapso Some basic code from the ode45 documentation. Probably looks like this, try manupulating the parameters yoursel...

quasi 4 anni fa | 1

| accettato

Risposto
Fuzzy controller warning solving
Hi @Andrea Tonelli Basically, it implies that your fuzzy system is not designed properly. Yes, it can run, but the defuzzified ...

quasi 4 anni fa | 0

Risposto
RMS of Piecewise Function
@Smitty Can you check if this is the expected RMS value over the interval ? t = linspace(0, 2, 2001); y = - sin(2*pi/8*t); v...

quasi 4 anni fa | 1

| accettato

Risposto
Produce a graph with the increase of the temperature in the compartment over the time, for 4 different types of fire.
Hi @hugo harel Try experementing the code. This should be simple enough for you to understand % Slow Fire T1 = 1493.97719; t...

quasi 4 anni fa | 0

Risposto
please give me the ansdwers
@ABHIJITH Try experimenting the code. n = 3; for i = 1:n N = rand(1,i); end N

quasi 4 anni fa | 0

| accettato

Risposto
Ploting Intersection point of three circles
Hi @Talha Sami Didn't change your code except for adding the minus signs and swapping the symbols in the two formulas. See @Joh...

quasi 4 anni fa | 1

Risposto
specify the number of iterations in genetic algorithm matlab (ga)
Hi @mohammed hussein Here is a simple example where you can vary MaxGene and check the accuracy of the result. fun = @objf...

quasi 4 anni fa | 1

| accettato

Risposto
how do i write planck's blackbody formula in matlab?
If your equation is mathematically correct as given, then it should be like this: E = (()./(L.^5)).*(1./exp(((h*c)./(L))*k*...

quasi 4 anni fa | 0

Risposto
How to create this matrix ?
@Akash Pal Despite the Matrix Law forbids the operation, we can nearly always perform miracles with MATLAB, so long as you give...

quasi 4 anni fa | 1

Risposto
How does the pressure change with time?
Hi @sanjeet mansoor I'm unfamiliar with your Hydraulic system. If the system is correctly described by the following equation ...

quasi 4 anni fa | 0

Risposto
I need the code to convert shown file extracted from LTSpice into a bode plot in Matlab, please. I have access to the Control Systems toolbox, if it helps.
@Muhammad Abdullah, Not an expert in LTSpice and I'm not familiar with the outputs of LTSpice shown in the Project.txt. Howev...

quasi 4 anni fa | 1

| accettato

Risposto
Gensurf / Axis Limitations
Hi @Fatih Yigit This should do the trick that you desire: fis = readfis('InventoryManagementv2'); [X, Y, Z] = gensurf(fis); ...

quasi 4 anni fa | 1

| accettato

Risposto
How to use ga multiobjective optimisation in new matlab optimize live editor?
@ARJUN GUPTA, it seems that the error message tries to tell you that it found the first undefined symbol omega in the constraint...

quasi 4 anni fa | 0

Risposto
How to convert this equation to code?
Hi Bruh, First, it's because you used the Python code. Second, bracket issue. Try this instead: x.*sqrt((16 - x.^2).^3)

quasi 4 anni fa | 0

Risposto
Find peaks in data without using signal processing tool
Hi @Harsimran Singh If the data is not too large, you can test features of the findpeaks() function in this forum. Else, you c...

quasi 4 anni fa | 1

Risposto
Simscape Onramp Project - Electronic Valve Section: fail to set the degree conversion
Hi @Federico Manfrin Can you find this Radians to Degrees block?

quasi 4 anni fa | 1

Risposto
How to plot frequency response, phase response from transfer function
Hi @shahril majid Thanks for link. I used the code and it works. Now, try yours. z = tf('z',-1); H = tf((0.0534*(1+z^-1)*(1-1...

quasi 4 anni fa | 0

Risposto
how to plot the function
Hi @Satyajit Kumar Follow me, type this out using this example. Then, you put your equation that you want to plot on the x–y p...

quasi 4 anni fa | 1

| accettato

Risposto
find an optimal value for t(time) on interval [t_min, t_max]
@Hashir Roshin Valiya Parambil I think I get what you mean. However, without understanding the nature of your problem, it is di...

quasi 4 anni fa | 1

| accettato

Risposto
Normal distance from one curve to another at specific points
@Biraj Khanal If the equations of the curves are unknown, then I guess you can find the Tangent lines to the curves using the g...

quasi 4 anni fa | 0

Risposto
Finding of arg max of a function using Gradient descent
Hi @Murali Krishna AG I usually plot the graph if possible before attempting to solve a particular problem. In your case, I'm ...

quasi 4 anni fa | 1

| accettato

Risposto
I have three coupled differential equation and need help to solve them
Hi @Captain Rituraj Singh After this line [t, Y] = ode45(@(t, Y) odefcn(t, Y), tspan, D); the ode45 solver will generate the ...

quasi 4 anni fa | 2

Carica altro