Risposto
Plot the line Tangent at a given point
Hi @ILoveMath As a self-proclaimed math lover, I presume that you already know mathematically how to find the tangent line by h...

circa 4 anni fa | 1

| accettato

Risposto
generate a sine wave that ends at 0
Hi @Ali Albaidhani Are you trying to make the Sine wave to hit 0 at the end of the simulation? f = 159.2; % frequency Fs...

circa 4 anni fa | 1

| accettato

Risposto
How to read The value shown for R in 10^n
Hi @Gabriel Foloni The residue(num, den) function is commonly used in the partial fraction decomposition. The [r, p, k] are a...

circa 4 anni fa | 0

Risposto
How does the graph look like?
Hi @Thomas Ling Jia Feng I think your problem is related to the convolution of vectors and . Please check if the examples i...

circa 4 anni fa | 0

Risposto
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...

circa 4 anni fa | 0

Risposto
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...

circa 4 anni fa | 1

| accettato

Risposto
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_...

circa 4 anni fa | 0

Risposto
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...

circa 4 anni fa | 1

Risposto
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...

oltre 4 anni fa | 0

Risposto
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...

oltre 4 anni fa | 0

Risposto
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 ...

oltre 4 anni fa | 0

Risposto
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 ...

oltre 4 anni fa | 0

Risposto
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); ... ...

oltre 4 anni fa | 0

Risposto
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...

oltre 4 anni fa | 2

| accettato

Risposto
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...

oltre 4 anni fa | 0

Risposto
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...

oltre 4 anni fa | 2

| accettato

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

oltre 4 anni fa | 0

Risposto
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...

oltre 4 anni fa | 0

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

oltre 4 anni fa | 1

Risposto
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...

oltre 4 anni fa | 2

| accettato

Risposto
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?

oltre 4 anni fa | 0

Risposto
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,:))

oltre 4 anni fa | 0

Risposto
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(...

oltre 4 anni fa | 0

Risposto
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...

oltre 4 anni fa | 1

| accettato

Risposto
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...

oltre 4 anni fa | 0

Risposto
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...

oltre 4 anni fa | 0

Risposto
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...

oltre 4 anni fa | 0

Risposto
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(...

oltre 4 anni fa | 1

Risposto
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 ...

oltre 4 anni fa | 0

Risposto
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) ...

oltre 4 anni fa | 1

Carica altro