回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 1

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 1

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 1

| 採用済み

回答済み
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年以上 前 | 1

| 採用済み

回答済み
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年以上 前 | 0

回答済み
How do I solve this differential system by using ode45?
Hi @Gan Huang Since is known, you can make direct substitutions into and . Here is the demo: function Demo_ode45 close all ...

4年以上 前 | 0

回答済み
How to plot elliptic function (x,y,z) in MATLAB
Hi @Jong Hyun Lee Please check if it looks like this: meshpoints = 41; Lb = 0; % lower bound Ub = 2; % upper bound ...

4年以上 前 | 0

回答済み
A sinusoid has just been fed into a system.
Hi @Jonathan George This is sort of the "control theorist's way", if you are interested to learn. s = tf('s'); sys = 1/(1 + 0...

4年以上 前 | 1

回答済み
Ask questions for Matlab PID()
Hi @Chris Yang It is actually not "demon", but "denom", a shortened form of the word "Denominator". A Demon generally means an...

4年以上 前 | 1

回答済み
Euler method for 2nd and 1st order differential equation. Im not sure what im doing wrong
Hi @Destiny Barley Setting a very coarse increment of 0.2 sec for the Euler Solver to simulate from 0 to 106 sec seems a little...

4年以上 前 | 0

回答済み
How to do a hydraulic valve model (valve of mud pump)?
Hi @aleena n a I'm unfamiliar with the triplex mud pump. However, there are various types of valves for fliud flow control in t...

4年以上 前 | 1

| 採用済み

回答済み
2 equations one unknown
Hi @Daniel Bucknavich This is not a direct solution, but it should help you to visualize the physics of skydiving and terminal ...

4年以上 前 | 2

| 採用済み

回答済み
Roots of the determinant of a 12x12 matrix with single nonlinear variable
Hi @Rohan Lalchandani Since the determinant of a 12x12 matrix generates a twelfth-degree polynomial, I remember my math teacher...

4年以上 前 | 0

回答済み
Change model parameters during simualtion
Hi @Vladislav Glok This looks like a block in Simulink. If the parameters are preset in the model, it maybe difficult. If MATLA...

4年以上 前 | 0

回答済み
Gain scheduling of a twin-rotor system
Hi @Nir Kotecha I guess the Gain-Scheduling Control will work on Quanser AERO.

4年以上 前 | 0

回答済み
How to model a servo motor transfer function
Hi @Mario Malizia If your lab has the System Identification Toolbox, it can be used for constructing or estimating the transfer...

4年以上 前 | 3

| 採用済み

回答済み
Modelling state space equation from simulink file
Hi @Abdul Hamid Vorajee The following script allows you to convert the system transfer function into the state-space model in c...

4年以上 前 | 1

| 採用済み

回答済み
Gaussian fiiting of a truncated data
Hi @Arjun Upadhyay With @Bruno Luong's advice, is not good enough? General model Gauss1: f(x) = a1*exp(-((x-b1)/c1)^2)...

4年以上 前 | 0

回答済み
Help with the following error with quiver
Hi @Amy Topaz If g is assumed as the gravity, then the "Region of Repulsion" is found here. Solving the simultaneous equations ...

4年以上 前 | 1

| 採用済み

回答済み
3D plot surface
Hi @GibonCZ The best is the provide a small sample of the spatial data for testing. Otherwise, the function surf can be used to...

4年以上 前 | 0

回答済み
Please how to Matrix Lyapunov equation?
Hi @Abdelkader Hd You can use the function lyap to compute the solution to the Lyapunov equation. See the following example: A...

4年以上 前 | 1

| 採用済み

回答済み
How to create membership functions matlab in triangular form?
Hi @mindo akami You probably have already learned the manual way to plot these. Since this is unanswered and if you are still i...

4年以上 前 | 0

回答済み
I want to generate a sine wave with decreasing amplitude after a fixed interval
Hi @Mariam Ali Because the frequency of the wave is not specified and the decreasing amplitude is mentioned on the title, here ...

4年以上 前 | 0

回答済み
𝑦(𝑡) = 1 + 𝑒 ^((𝑡^ 2) /2) how to put in matlab
Hi @Ethan Kirkpatrick t = linspace(-2, 2, 401)'; y = 1 + exp((t.^2)/2); plot(t, y) Try picking some basics in MATLAB Onramp ...

4年以上 前 | 0

回答済み
What is the meaning of this code line? th1(2:NB)=inv(BM(2:NB,2:NB))*P1.';
Hi @shravya boggulapally I think the code means , which solves a system of linear equations, . For more info, please check mld...

4年以上 前 | 0

回答済み
How to I find x in sin(x) = 0.65
Hi @Eric Seinen Not trying to confuse you, but here is the 3rd approach, the Numerical Approach. fun = @(x) sin(x) - 0.65; ...

4年以上 前 | 0

さらに読み込む