Answered
fuzzy logic designer expert is required.
Wa-Alaikum-Salaam @mansoor khan. If this is about Multi-Criteria Decision-Making (MCDM), then you can try applying the TOPSIS ...

4 years ago | 0

Answered
Plot distance difference between two orbits
Hi @Jes Found the Haversine formula which I think you can apply to calculate the distance between them. Both asssi.mat and gff...

4 years ago | 1

| accepted

Answered
How to solve a second order nonlinear differential equations with two other function in it
Hi @Sudipta Mukherjee 3rd Edit: The simulation. I re-scaled and so that you can see the inputs and options = odeset('Event...

4 years ago | 0

Answered
How to draw a 3D circle that is tangent to two lines
Hi @hadis ensafi This problem needs a little mathematics if there is no built-in function to find that. If the two tangential p...

4 years ago | 0

Answered
Please my Simulink result graph fluctuates but it always ends up constant at 1 with or without an actuator force or even when I change some parameters. What can I do?
Hi @Tobechukwu The response is most likely caused by the two factors: the Unit Step function, generated by the Step block. th...

4 years ago | 2

| accepted

Answered
Asking about help in Fuzzy inference system?
@Abdelrahman Samy Most likely that the input trnX that you passed into the evalfis function is of some other class (not double ...

4 years ago | 0

Answered
Using normrnd for generating natural values (without decimal values)
@Sahar khalili How about this data set {25, 26, 27, 27, 28, 29}? A = [25, 26, 27, 27, 28, 29] M = mean(A) S = std(A)

4 years ago | 0

Answered
How to plot a vector map for a differential system(in ode45) with a switch condition ?
Hi @Vignesh Ramakrishnan Since you didn't provide the code, the following involves some guesswork in an attempt to reproduce/du...

4 years ago | 0

Answered
How would you make a rectangle input?
@Matthew Pollard Ah... That is not strictly a rectangular signal, but is more like a staircase signal, which can be a little tr...

4 years ago | 1

Answered
How to solve a second order nonlinear differential equations with a step function
Hi @Sudipta Mukherjee Edit: The is not signum-based, and the constraint for the velocity is defined in an Event function call...

4 years ago | 2

| accepted

Answered
Problem with Nonlinear Least Squares fitting
@Jason Yee I don't see anything technically wrong with code. Probably the choices of the lower and upper bounds are 'too vast'....

4 years ago | 0

Answered
Nonlinear Differential Equation Solving
Hi @Nuri Efe TATLI The analytical solution probably does not exist. syms y(t) A B C D eqn = A*diff(y,t,2) - B*y + C == D*cos(...

4 years ago | 1

| accepted

Answered
The following example solves the fourth order equation f(x)=x4 − 7x3 + 3x2 − 5x + 9 = 0 a) Find the roots of f(x) b) The value at f(2)
Maybe like this? p = [1 -7 3 -5 9] roots(p) I think you take this approach: f = @(x) x.^4 - 7*x.^3 + 3*x.^2 - 5*x + 9 f(2) ...

4 years ago | 1

| accepted

Answered
How can I graph a nonlinear system of differential equations?
@Josh Ciesar I don't know how your graphs are supposed to look like because I'm not an adiabatic pistonist. But first things fi...

4 years ago | 2

| accepted

Answered
Create two sinusoids, plot them and verify their orthogonality. Please give three different sets of sinusoids and and repeat above procedures.
Hi @MD ALAMIN If you are new to MATLAB, please don't stress/force yourself to plot the two sinusoids. Take your time to learn M...

4 years ago | 1

| accepted

Answered
Why my graph not same as research paper?
Hi @Nur Sorry for the misidentity because the name, the title, and the topic look exactly the same. Anyway, I have fixed some ...

4 years ago | 0

Answered
Trying to calculate the temperature from the equilibrium heat equation
Hi @tom shneor Edit: This is a little difficult for me to imagine since the values of the parameters are not provided. assuming...

4 years ago | 1

| accepted

Answered
How to add a horizontal line in a plot that corresponds to a maximum?
Hi @Irfanudin Nor Anwar No worries, I take your samples. Generally, you need to guess the function of a curve that might fit in...

4 years ago | 1

Answered
Solving System of ODEs using MATLAB
Hi Teo, Do something like this: odefcn = @(t, y) [y(2);... 0.1*sin(t) - 10*y(1) - 2*sqrt(10)*y(2)]; tspan = ...

4 years ago | 0

Answered
HVAC FOR HOUSE USING PID CONTROLLERS
@nikhil murali sathyavathi You can follow a very detailed example of modeling and control here https://www.mathworks.com/help/...

4 years ago | 0

Answered
solve 2nd order non linear equation of motion
Hi @Martin Lindner As far as the technical issue is concerned, the MATLAB code is fixed and able to produce the Equations of Mo...

4 years ago | 1

Answered
Transfer function of current block in 2RC ECM model
@Vishnubharathi thirupathi Since it is a RC circuit, can you write up some equations using Kirchhoff's circuit laws? The equat...

4 years ago | 0

Answered
Plotting unusually Shape in Matlab
Hi @Bunyod Samandarov This should give you a good start. worldmap 'europe' axis off getm(gca, 'MapProjection') geoshow('lan...

4 years ago | 1

| accepted

Answered
How to plot the following surface
Hi @Matt J, Sometimes I have troubles visualizing the geometry. Can I plot like this? It should look like an inverted cone. x ...

4 years ago | 2

Answered
calculate the Γ matrix in MATLAB from Φ Matrix - State space equation
@Rajesh Kanesan Thanks for showing your calculation of the Gamma or , I see now... Given the matrices and , you want to go fro...

4 years ago | 1

Answered
2 inputs data training for ANN
@Krishna Saboo For a shallow neural net, you can try something like this: X = [1.0000 0.9019 0.6952 0.4712 0.2781 ...

4 years ago | 1

| accepted

Answered
Matlab and chemical enngineering
Hi @Abdul Hanan Wali Search this book in your university library because I think this book might be for you if you want to solv...

4 years ago | 0

Answered
How Do I Fix This Fuzzy Gain Scheduling System?
Hi @Isyraf Izuddin The error occurs because the Plant Transfer Function block can ony accept 1 INPUT, instead 3 SEPARATE Inputs...

4 years ago | 1

| accepted

Answered
my code doesn't work as it should,need help
Hi @Lovre Not sure if this is what you want. but I just modified a little to simulate the heat pump in accordance to your requi...

4 years ago | 1

| accepted

Answered
How to find x value for certain y value of a lineplot in matlab
Hi @佳丽 周 No joke, but this is the graphical approach.

4 years ago | 2

Load more