Community Profile # Aleem Andrew

Last seen: 2 days ago Active since 2020

#### Statistics

All
• • • #### Content Feed

View by

Question

Output of Deconv function Matlab
When you type the command deconv([1 -3 -52],[1 -4]) the answer is 1 1 which I did not expect since (x+1)(x-4) is not (x^2-3x...

6 months ago | 1 answer | 0

### 1

Question

Inconsistency of angle function in finding angle of vectors
Typing the command angle(1+i) yields an angle of 45 degrees, but typing angle(-1-2i) yields -2.0344. Why is the angle being meas...

6 months ago | 2 answers | 0

### 2

Question

Plotting responses other than step responses to transfer function
I am trying to plot the response of a transfer function to an arbitrary input. The step response can be plotted as shown below. ...

6 months ago | 1 answer | 0

### 1

Question

Find range of values of independent variable so the dependent variable is in a certain range
Given a function for example f(x) = x^3+x^5 is there a way you can determine all values of x such that the absolute value of f(x...

7 months ago | 1 answer | 0

### 1

Question

Finding the ramp response to a transfer function
If T is the transfer function defined below, how do you find the ramp response? G = tf(poly([-2 -3]),poly([0 -1])); T=feedback(...

7 months ago | 1 answer | 0

### 1

Question

More accurate alternative to rlocfind to analyze root locus in control systems engineering
To find the gain at the point where the root locus intersects a line of constant damping ratio, the rlocfind function can be use...

7 months ago | 0 answers | 0

### 0

Question

Using deconv to divide vectors if the numerator has a smaller degree than the denominator
When using deconv to divide two vectors the output is 0 if the numerator has a smaller degree than the denominator. Can you get ...

7 months ago | 1 answer | 0

### 1

Question

Dividing two vectors of different sizes
If you have two vectors a = [1 2 1]; b = [1 1] that represent polynomials can you divide a by b to get [1 1] as the answer, sinc...

7 months ago | 1 answer | 0

### 1

Question

Convert a structure array to a list
I am trying to convert a structure array into a list rather than a cell to be able to perform operations such as finding the inv...

7 months ago | 1 answer | 0

### 1

Question

Unable to convert expression containing symbolic variables into double array error
I am trying to define a vector xdd in terms of another vector x but when I define elements of the vector xdd in terms of the cor...

7 months ago | 1 answer | 0

### 1

Question

Finding inverse Laplace when the inverse Laplace function is a piecewise function
I wrote the following Matlab program to find x in the time domain. syms y(t) m k x c w F s eqn = s^2*x-s+2*s*x-2+2*x == exp...

8 months ago | 1 answer | 0

### 1

Question

Displaying a group of vectors on separate lines
I am trying to display a number of vectors in separate lines. How can you create a matrix with each its rows equal to one a grou...

8 months ago | 1 answer | 0

### 1

Question

Solve for a variable in terms of specific other variables
The derivative of eq1 below is diff(x(t), t) == diff(y(t), t). I am trying to use the solve function to solve for diff(y(t)) and...

8 months ago | 1 answer | 0

### 1

Question

Solving differential equations and specifying initial conditions
Given an equation, can you solve for the derivatives of certain quantities in terms of the other variables? For example in the f...

8 months ago | 0 answers | 0

### 0

Question

Check for missing argument or incorrect argument data type in call to function 'solve'. error
I am trying to solve for a variable using the solve command. I know I can do so symbollically, but I want to first intiailize th...

8 months ago | 1 answer | 0

### 1

Question

Finding a closed form solution of nonlinear differential equation
Can you find an expression for x, which is a function of t, given that sin(x*t) + t^2*cos(3*t^2)+x''(t) = 5x (x''(t) is the seco...

8 months ago | 1 answer | 0

### 1

Solved

Matrix Pattern 10

8 months ago

Solved

Matrix Pattern 1

8 months ago

Question

Plotting path traced by a point in an animation
The following code creates an animation of a four bar linkage. Can someone explain how you can modify the code to plot the path ...

8 months ago | 1 answer | 0

### 1

Question

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

8 months ago | 1 answer | 0

### 1

Question

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

8 months ago | 0 answers | 0

### 0

Question

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

8 months ago | 1 answer | 0

### 1

Question

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

9 months ago | 1 answer | 0

### 1

Question

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

9 months ago | 1 answer | 0

### 1

Question

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

9 months ago | 1 answer | 0

### 1

Question

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?

9 months ago | 1 answer | 0

### 1

Question

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

9 months ago | 1 answer | 0

### 1

Question

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

9 months ago | 0 answers | 0

### 0

Question

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

9 months ago | 1 answer | 0