Community Profile

Gert Kruger

Last seen: 3 months ago
22 total contributions since 2015

View details...

Contributions in
View by

Submitted

Various resonant DC-link inverter simulation models are explored using different controllers.

Submitted

PV array with algebraic loop broken
PV array with filter corrected to solve the algebraic loop problem.

algebraic loop problem in PV array block
The reason why there is an algebraic loop: The V-Filter and I-Filter in the model, for the computation of Vd, is supposed to br...

2 years ago | 0

| accepted

Algebraic loop error in PV panels (in filter block)
The reason why there is an algebraic loop: The V-Filter and I-Filter in the model, for the computation of Vd, is supposed to br...

2 years ago | 0

How to initialize outpt of a matlab function block in simulink to zero
You can add a persistent variable and check if it is empty. If it is empty, then it means it is the first time the Matlab functi...

2 years ago | 0

How to solve algebraic loop error??
PV panel model with fixed algebraic loop: https://www.mathworks.com/matlabcentral/fileexchange/71682-pv-array-with-algebraic-loo...

2 years ago | 0

How to connect two power grids in SimPowerSystem through DC_link?
Sorry, this answer is four years late: The 3-phase voltage sources you used to represent the grids are both tied to ground, t...

2 years ago | 0

Matrix interpolation in the direction of the third dimension
Here is my attempt at answering your question. I imagine that there are N matrices each with size nxn. Example matrices: %% n...

2 years ago | 1

Submitted

Newton-Raphson reciprocal approximation , 1/x and 1/sqrt(x)
The Newton-Raphson approximation of the reciprocal, i.e. 1/x and square root reciprocal is provided along with accuracy testing ...

why PV panels gives algebraic loop errors?
The provided suggestion of the unit delay is a work around, but it does not provide the reason for the presence of the algebraic...

2 years ago | 2

Submitted

On-line simplex search
A reentrant version of the well-known Simplex search (Nelder-Mead) optimization is provided.

Solved

Create a square matrix of multiples
Given an input, N, output a matrix N x N with each row containing multiples of the first element of each row. This also applies...

2 years ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

2 years ago

Solved

Given a and b, return the sum a+b in c.

2 years ago

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

2 years ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

2 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

2 years ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

2 years ago

Solved

Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

2 years ago

Solved

Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

2 years ago

Submitted

Real time tunable filters
A library of first and second order filters whose parameters can be tuned in real-time.

Can matlab give me difference equation from transfer fucntion
syms z; H = (1-z^-1) / (1-3*z^-1+2*z^-2); [N, D] = numden(H); Nc = eval(coeffs(N)); %Get coeffs and evaluatle symbolic ...

6 years ago | 1