Community Profile

Contact

Top 5% contributor

I have a 't' vector(161 elements) from 0 secs to 4secs. By default Matlab has broken it to be : 0 0.0000 0.0000 ...

2 Answers

0

Asked 1 year ago

Hello I have 2 questions. I am trying to create 100 bins for my histograms which covers actually 10000 data points. The co...

1 Answers

*Hello. I am using the below code in the loop and here is the problem area. When I use the code(following)* for i=1:100, G...

I have a simple case of all initial conditions to be zero. We can consider a general form as: a0y(n) = b0x(n) + b1x(n-1) + b...

3 Answers

Asked 2 years ago

X=.25;U=1; >> eps1=.05;eps2=.05; >> k=1; >> while (abs(C-gamma))>=eps1 X=X-inv(Cx)*(C-gamma); if abs(C-gamma)<eps1 if abs...

When I make a function call in the command window by making vector argument X by writing Lx(X)which is defined in M file as fol...

Hello I am trying to call this function from a code in m-file. function [] = DiffOCV( k,DYNData,model) OCVfr...

Asked 10 months ago

Hello I am using the following code and want the figure(2) to have bubbles connected with the 2 dashed lines(as you can see ...

Asked 12 months ago

the matrix Riccati differential equation: dX/dt = A'X + XA - XBB'X + Q ** I have seen the exactly same topic in my search...

*My command window code is:* syms L C gamma lambda k K X U FOG SOG u1 u2 u3 eps1 eps2; C=u1^2+3*u2^2+2*u3^2; L = u1*u2+2*u...

This is the problem from the topic of mean and covariance propagation in a state space system with random noise inputs Consi...

0 Answers

I understand we can use the command 'margin(sys)' to get the gain margin of the system. But as you all know some systems might h...

the kalman filter equation is: Xhatdot=A*Xhat+L[Y-C*Xhat] where Y is the measurement and the measurement equation is descr...

I other words. I want matrix gain K to be a vector of dimention 2 by 1. And both of these elements of these gain vector should b...

I am trying to create a while loop as follows: while (abs(C(X,U)-gamma)>=eps1)||(abs(Lbar_u(X,U))) if abs(Lbar_u(X,U...

I tried the following code in the command window: L= x1^2+x2^2+u1^2+u2^2+2*x1*u1+2*x2*u2; >> Lx=gradient(L,X) Lx = ...