Community Profile # Anup

Last seen: 3 Monate vor Aktiv seit 2022

#### Statistiken

• Abzeichen anzeigen

#### Content Feed

Anzeigen nach

Frage

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

3 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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

3 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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

3 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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

4 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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

5 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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

5 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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

5 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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

6 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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

6 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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

6 Monate vor | 0 Antworten | 0

### 0

Antworten

Frage

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

7 Monate vor | 2 Antworten | 0

### 2

Antworten

Frage

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

7 Monate vor | 2 Antworten | 0

### 2

Antworten

Frage

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

8 Monate vor | 1 Antwort | 0

Antwort