MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
I want to simulate with various input.
Timothy - 2020-11-20

sys = 1(1+s)   input = 1/s - exp(-2*s)/s   So, how can I get lsim output "sys*input" ?? I must make digital signal of input??...

Why do I get an incorrect step response plot from the Control System Designer?
Emmett - 2020-11-20

I am using the Control System Designer in MATLAB R2016b to plot the step response of my closed loop system. When I plot the step response of my transf...

How do I convert this into a 2d matrix of 50x50 in Matlab?
Remingtonsmith - 2020-11-19

(1,1) 0.4202 (2,1) 0.7436 (3,1) 1.7309 (4,1) 1.2414 (5,1) 1.4897 (6,1) 1.6088 (7,1) 3.1441 (8,1) 3.4509 (9,1) 4.1381 (10,1) 3.3498 (11,1) 4.3164 (12,1...

How to sort a matrix in a random order?
Evangeline - 2020-11-19

How to sort a matrix in random order?  ...

How can I return the last value of a vector?
Tanner - 2020-11-19

is there a command in Matlab, which returns the last value of a vector? In R is this command called "tail". For example: X = [1, 2, 3, 4] and I need a...

Add SINGLE element to array or vector
Jasper - 2020-11-19

I have a vector of the format: x = [xval(1) xval(2) … xval(n)] , and I want to add an element to the end, xval(n+1). How do I do that?...

How to add values to a vector?
Brianna - 2020-11-19

Hello! I have the values ??obtained from the matrix E = 1x11004, with some operations in the loop I need to remove the last values, can I do 1x11004 +...

Matlab: optimize code
Theodore - 2020-11-18

Problem: I have the trajectories of 14 users: I have compare the trajectories of every user and for each one, I have calculated the longest common seq...

How can I have the BODE command in the Control System Toolbox plot output in Hertz (Hz) rather than rad/sec?
Jeremiah - 2020-11-18

I would like to have the BODE command in the  Control System Toolbox plot output in Hertz (Hz) rather than rad/sec....

Conversion to logical from sym is not possible.
Penelope - 2020-11-18

clc clear syms t u r a b c d x y j v t Output STP RMP p= input('Number of intervals of the signal (Integer value):'); n=0; a=input('Enter signal start...

Get a Free Consultation or a Sample Assignment Review!