Community Profile

# upinderjeet

16 2013 이후 총 참여 횟수

#### upinderjeet's 배지

세부 정보 보기...

참여 게시물
보기 기준

질문

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

약 6년 전 | 답변 수: 1 | 0

### 1

답변

질문

Bubbels not connecting in plot command
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 ...

6년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

analytical problem to find auto-correlation for a state space system
This is the problem from the topic of mean and covariance propagation in a state space system with random noise inputs Consi...

6년 이상 전 | 답변 수: 0 | 0

### 0

답변

질문

How to define the bin size for a histogram
Hello I have 2 questions. I am trying to create 100 bins for my histograms which covers actually 10000 data points. The co...

6년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

Is there any command to calculate both the downside and upside gain margins from the Nyquist plot
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...

6년 이상 전 | 답변 수: 0 | 0

### 0

답변

질문

How to solve Kalman Filter equation using ode45
the kalman filter equation is: Xhatdot=A*Xhat+L[Y-C*Xhat] where Y is the measurement and the measurement equation is descr...

6년 이상 전 | 답변 수: 0 | 0

### 0

답변

질문

how to integrate a function whose values are represented by a set of data points at time t instead of continuous function of time t
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 ...

7년 이하 전 | 답변 수: 2 | 0

### 2

답변

질문

how can I set the matrix gain values to be the function of time 't' in simulink's gain block .
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...

7년 이하 전 | 답변 수: 0 | 0

### 0

답변

질문

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

7년 이하 전 | 답변 수: 1 | 0

### 1

답변

질문

how to get updated value of function everytime in the loop
*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...

7년 이하 전 | 답변 수: 1 | 0

### 1

답변

질문

How can I implement a simple difference equation and plot the resulting output, all using MATLAB
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...

약 7년 전 | 답변 수: 4 | 0

### 4

답변

질문

"DOUBLE cannot convert the input expression into a double array. If the input expression contains a symbolic variable, use the VPA function instead."
*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...

8년 이하 전 | 답변 수: 1 | 0

### 1

답변

질문

"Conversion to logical from sym is not possible." error shows up when I try to execute the following comands
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...

8년 이하 전 | 답변 수: 1 | 0

### 1

답변

질문

How can I use the symbolic expression with a logical OR operator...(both being parts of the condition for a while loop)
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...

8년 이하 전 | 답변 수: 0 | 0

### 0

답변

질문

How can I pass vector argument to a gradient and jacobian functions i.e. I want to be able to calculate gradient and jacobian at a particular point say X=[1 2] or U=[3 4]
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 = ...

8년 이하 전 | 답변 수: 0 | 0

### 0

답변

질문

Function in M file doesnt recognize the variable L defined in the command window
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...

8년 이하 전 | 답변 수: 2 | 0

답변