Pregunta


Finding the magnitude of an expression
Supposing that x can be expressed as a function of t as follows how can its magnitude be found using Matlab? For example, is the...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Using blkbuild with symbolic functions to find the transfer function of a block diagram
In the block diagram represented by the following code blocks 1 to 7 are defined as x, where x is a symbolic variable. When the ...

alrededor de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Reduce block diagrams symbolically
Can the code below be modified to find the transfer function in terms of symbolic functions g1 to g5 instead of numeric function...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Analytically finding the roots of polynomials with symbolic variables
I am trying to solve a cubic equation with symbolic variables, but Matlab is not able to find an analytical solution. syms a l...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Matlab unable to find solution to cubic polynomial
The following cubic equation has three roots. syms a solve((1225*a)/2 - 6125 == ((2*a - 35)^2*(60*a + 4200))/840, a) Matlab...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Error message when trying to tune a PID controller
When trying to tune a PID controller in Simulink, I am encountering the following error. Does anyone have any suggestions on how...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Simulink plotting solutions to nonlinear differential equations
I am trying to plot 1+cos(x(t)) = x'(t) in Simulink. Is this the correct way to do so?

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Plotting a discrete impulse in Simulink
I am trying to plot a discrete impulse, but the plot is not that expected. The values of y should be 10 for x = 1, and 0 otherwi...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Plotting solutions of differential equations in Simulink
The following Simulink model solves the differential equation t - 4x(t) = x''(t), and generates the plot below for x(t). But the...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Solving differential equations with Simulink
Can someone explain what differential equation is being solved below? The input is a ramp input.

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Transfer functions in Matlab
Given the differential equation diff(c,t,1) + 2*c(t) = r(t) I want to isolate r(t)/c(t) assuming the initial conditions are 0. C...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Finding the derivative of a function with respect to the derivative of a variable
I am trying to derive the expression that contains a dependent variable x with respect to the derivative of x, but although I de...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Simplifying solution of a differential equation
The most simplified version of ySol(t), the solution to the differential equation below, is 1.5*sin(2t+0.7297), but the output o...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Solving equations using Laplace transform
I am trying to solve an equation using the Laplace transform without having to find the Laplace transforms of the terms in the e...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Simplifying output involving heaviside discontinuity functions
I wrote a program to find the discontinuity function of a beam. The output for the shear function was f = (12*heaviside(x - 5/2...

más de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Getting started with simulink tutorial cannot reproduce the results
I was watching the tutorial at https://www.mathworks.com/videos/getting-started-with-simulink-part-4-tuning-a-pid-controller-150...

más de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Simplifying output involving symbolic variables
The eigenvalue and eigenvector expressions generated by the following code are expressions that are not fully simplified. Can so...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Using dsolve to solve a system of differential equations analytically
When trying to solve a system analytically using dsolve, Matlab outputs that x is an empty function handle. Can someone explain ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Creating a symbolic array
When I tried to create an array consisting of expressions in terms of a symbolic variable I get the error message Unable to co...

más de 3 años hace | 3 respuestas | 0

3

respuestas

Pregunta


Displaying symbolic function with decimal number instead of fractional coefficients
The following code outputs a symbolic function with fractional coefficients, but I want it to display the coefficients as floati...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Polynomial as product of two vectors
I am trying to display a polynomial as the product of two vectors. a = [1 2 3 4 ]; syms x f = [x,x^3,x,x^3]'; a.*f The...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Accessing elements of built in primes function
How can the a particular prime of the primes function, which returns a double, be accessed? primes(15) class(primes(15))

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Finding all the zeroes of a discontinuous function in a particular range
I am trying to find the zeroes of the following symbolic function. syms x moment =20*heaviside(x - 8)*(x - 8) - (3*x^2*heavis...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Determining the roots, maxima, and minima of a discontinuous symbolic function
How can the roots of the following discontinuity function be determined? syms x f =(x^3*heaviside(x))/18 - (3*x^2*heaviside(...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Evaluating a symbolic heaviside function using subs at points where disconuities are located
When trying to evaluate a symbolic function, Matlab outputs 'Nan' when it encounters discontinuities. syms x f = 22*heavisid...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Solve a system of nonlinear equations symbolically
The following code is meant to solve a system of nonlinear equations. syms do K eq1 =(5e-5)^2 - (do)^2 == K*25*60; eq2 = (7....

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Plotting the heaviside discontinuity function
The plot generated by the following code is not always the same and sometimes somewhat inaccurate. For example, there should be ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Array indices must be positive integers or logical values error when using cell arrays
The following code is supposed to add a function of x to a function handle f whose coefficients depend on the entries of a cell ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Accessing 1 by n array from a cell array
The output of the following code is the cell array poh. Is there a way to instead access the first subarray {'poh',3,4.56} throu...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Accessing elements of lists within lists
I have created a list which contains several lists in the following code. a = [{'poh',3,4},{'v',5}] a=[{'poh',3,4},{'v',5}] ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Cargar más