Answered
Calculating the eigen vectors without using eig function but using a data set, the transpose of the data set and a unit vector
Hi @Zachary David Can consider an alternative approach by finding the characteristic polynomial of a matrix using poly() http...

4 years ago | 0

Answered
to find the state space representation of an underwater AUV
Hi @BISWAJIT NAIK You can try learning how to use the System Identification Toolbox to create the dynamical system model from m...

4 years ago | 1

| accepted

Answered
Plotting of solutions using Newton Raphson method for a nonlinear function
Hi @Supriya Khatoniar Check if this script is helpful. You can adjust plot properties to suit your preferences. function Demo_...

4 years ago | 0

Answered
State space model with disturbance
Hi @Mohammed Yakoob I refer to the state-space system from another post that you opened in the link: https://www.mathworks.com...

4 years ago | 1

Answered
solve a fuzzy logic problem
Hi @Elysi Cochin Take this slowly. First, specify what those 4 inputs to the fuzzy system are, and the outputs of the fuzzy sy...

4 years ago | 0

Answered
How to you plot these graphs
Hi @JOY OMULAMA Appreciation is insufficient. You have to do your due diligence, by clearly knowing what you want to do through...

4 years ago | 0

Answered
How to distribute data as Gaussian?
Hi @Nadatimuj This is just one of many possibilities to distribute the number of colors to 10 people according to the Gaussian ...

4 years ago | 0

Answered
Hello I've been trying to find a way to make the value of 'a' a non-zero number
Hi @Reginald Ayirebi Aboagye If and are non-zeros, the exact solution is given by , where is the initial value of at time ...

4 years ago | 0

Answered
What is the role of [] in ode?
Hi @채원 이 If the system is , then you can solve the ODEs as follows: kp = 1; kd = 2; F = @(t, x) [x(2); ... ...

4 years ago | 0

Answered
Solving a System of 2nd Order Nonlinear ODEs
Hey @mpz It doesn't work that way because you have created an algebraic loop error where depends y5 that is your , which depen...

4 years ago | 2

| accepted

Answered
how i can evaluate LTI system on matlab
Hi @Hamza Daud If the Ordinary Differential Equation (ODE) of Linear Time-Invariant system (LTI system) is in state-space repre...

4 years ago | 0

Answered
Why is it that when I try to open "rltool" from the command window, the "control system designer" window opens but remains blank?
Hi @Gabriele Curcio Can you try if sisotool works? sys = tf(1, [1 1]); sisotool(sys) Can also enter controlSystemDesigner(sy...

4 years ago | 2

| accepted

Answered
why this equation is not ploting
Hi @shiv gaur Simulating the Hindmarsh–Rose model requires solving the differential equations using some numerical ode solvers....

4 years ago | 0

Answered
What is the best way to plot many curves as a parameter changes?
Hi @Riccardo Scorretti I think @Giuseppe is trying to plot the potential energy around one of the 5 Lagrangian Points in the Ea...

4 years ago | 0

Answered
Help with newton-raphson
Hi @Ethan Cole The method presented by @Torsten satisfies your requirements in your assignment. Here is an alternative. The mai...

4 years ago | 1

Answered
Solving Freedom System using Runge Kutta and Adams Bashford method
Hi @Lucy Martin This is the script for the mass-spring-damper system using the Runge–Kutta 4th order Solver. You can compare th...

4 years ago | 2

| accepted

Answered
I want to make 4 clusters using k mean clustering and for each of the 4 clusters i want to set centroid initially and then accordingly make the cluster. how can I.
@Maimoona Asad Have you successfully estimated the centroids and closed this issue?

4 years ago | 0

Answered
Help with the below question
Hi @Amy Topaz I think you can use the max() function. max(B(1,:)) max(B(2,:)) max(B(3,:)) max(B(4,:)) max(B(5,:))

4 years ago | 0

Answered
How to plot a step response of symbolic laplace and inverse laplace function
Hi @Ralph Sparrow Here is the MATLAB script: clear all; clc % Define symbolic variables syms s t y(t) Y(s) D1y = diff(...

4 years ago | 0

Answered
How can I use the array of data into a formula to calculate and get the data.
Hi @Aung Moe Zaw Please check if the following results are expected. function [] = call_spring() t = 0:0.001:5; y0 = [0, 0...

4 years ago | 1

| accepted

Answered
Calculate mean value between 2 years
@Anh Duong I think the M = mean(A) function will do the job. Give it a try. https://www.mathworks.com/help/matlab/ref/mean.htm...

4 years ago | 0

Answered
How to input 3^2x . Sqrt(9) =729 the answer is 3
Hi @Muhammad syafikh Mohd umar Unsure of what the 'x' mean in the line. If x means multiplication, then enter this: (3^2)*sqrt...

4 years ago | 0

Answered
I want to make 4 clusters using k mean clustering and for each of the 4 clusters i want to set centroid initially and then accordingly make the cluster. how can I.
Hi @Maimoona Asad Perhaps you can try the pdist2 method outlined in this link to find the centroids. Hope it helps. https://ww...

4 years ago | 0

Answered
How to plot two exponential functions on Matlab?
Hi @Amna Habib Try this: x = -10:0.01:12; f = exp(-(((x-2)/3).^2)/2); g = 1-exp(-(((x-2)/3).^2)); plot(x, f, x, g) xlabel(...

4 years ago | 1

Answered
How to calculate velocity from X and Y positions and time?
Hi @Daniela Pereira First, you need to obtain the distances between each point specified by the coordinates. Then, I think ...

4 years ago | 0

Answered
Is it possible to plot this graph by applying the laplace function in MATLAB to the equation?
Hi @Harry Louise Plasabas You can plot Fig. 12.8.5 with this: r = 0:0.01:2; I2 = 1./sqrt((r.^2 - 1).^2 + 0.01); plot(r, I2) ...

4 years ago | 1

Answered
Learning matlab for study purpose and new to MATLAB.
Hi @Shams Ur Rehman These articles may be helpful. csvread reads comma-separated value (CSV) file. https://www.mathworks.com/...

4 years ago | 0

Answered
Why my ODE is not solving?
Hi @Aung Moe Zaw Because of the sign in this line. (minus) (minus) = plus. It means that energy is continuously injected into t...

4 years ago | 1

| accepted

Answered
solve tan(x)+2*x=0
Hi @rakesh kumar I think you are not wrong, but it has infinitely many solutions. The solution v is in radian, but you checked ...

4 years ago | 1

| accepted

Answered
Numerical solution for 2nd order ODE using Euler Method
Hi @KG If you show us the Euler method formula, then we don't have to search in Google or Wikipedia. This also ensures that the...

4 years ago | 0

Load more