# Anup

Last seen: 3개월 전 2022년부터 활동

Followers: 0   Following: 0

배지 보기

#### Feeds

보기 기준

질문

I am getting non-linear constraint error in the optimization problem
I am getting this error while solving the optimization problem using 'intlinprog' solver. The error I am getting is: ...

3개월 전 | 답변 수: 1 | 0

### 1

답변

질문

How to solve the optimization problem where constraint is calculated thorough the loop?
I have a matlab code which contains loop and has a structure similar to following (ignore the syntax). I am trying to use matlab...

3개월 전 | 답변 수: 1 | 0

### 1

답변

질문

Why calling the functions works fine in the first run, but causes error after that?
I have a function as below: function p1 = p1(d,i,N) a = 1./(d-i); b = ((1+i)./(1+d)).^N; p1 = a.*(1-b); e...

1년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

Why there is error in using interp2 while assigning loaded data to the variable?
I have a separate struct data file (.mat format) which I need to load and perform interp2. The struct data file is as in the fi...

1년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

How to use interpolate struct data in simulink?
I have a struct data file in .mat format. I can use interp2 to interpolate the data from this struct data file in matlab. f...

1년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

How to send variable signals in Simulink?
I have the signal I need to use in simulink model. The x-axis is time step while the y-axis is the value at each time step. I ...

1년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

How to give initial value to the subsystem to use for the first time step and then use values from the loop?
I have multiple subsystem in a simulink interconnected with each other. The output of first subsystem is input to second while t...

1년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

Why the out varies largely in fixed versus variable time step?
I have a model as shown, for fixed time step the output from the scope 1 is for variable step, the output is why the...

1년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

How to change initial value of Simulink Integrator at each time step?
I have differential equation like this, with initial value of 298, the T value starts increasing with time. After T > 350, s...

1년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

How do I solve differential that is not w.r.t time in simulink?
I have this differential equation which is with respect to volume not . I am in confusion how to solve this equation as simulink...

1년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

How do I run same subsystem for certain number of times in Simulink?
I have a subsystem in Simulink. I need to run the same subsystem for a certain number of times. The output of first subsystem wo...

1년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

How to solve this differential equation using matlab?
I know the value of n_(j-1), T_(j-1) and n_(j). I want to solve this differential equation and get the numerical solution. H...

1년 초과 전 | 답변 수: 0 | 0

### 0

답변

질문

How to define a constant inside the 'fittype' function?
function [fitresult, gof] = createFit(i1, v1,s,T1) [xData, yData] = prepareCurveData( i1, v1 ); % Set up fittype ft = fit...

1년 초과 전 | 답변 수: 2 | 0

### 2

답변

질문

How can I fit curve quadratically such that fit goes like in the picture?
I want to fit the curve based on equation f(x) = b1+b2*x+b3*(x^2) I got the curve as shown in the fiqure below: I mean, th...

1년 초과 전 | 답변 수: 2 | 0

### 2

답변

질문

How do you simulate Alkaline Water Electrolyzer in Simulink?
I need to simulate alkaline electrolyzer stack for production of hydrogen through electrolysis. However, I am unable to find blo...

1년 초과 전 | 답변 수: 1 | 0

답변