Community Profile

photo

Gert Kruger


21 total contributions since 2015

Contact

Gert Kruger's Badges

  • Knowledgeable Level 1
  • Revival Level 1
  • Solver
  • First Answer

View details...

Contributions in
View by

Submitted


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

12 days ago | 49 downloads |

Thumbnail

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

24 days ago | 0

| accepted

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

24 days ago | 0

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

25 days ago | 0

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

25 days ago | 0

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

1 month ago | 0

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

1 month ago | 1

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

2 months ago | 0 downloads |

Submitted


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

2 months ago | 1 download |

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

5 months ago

Solved


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

5 months ago

Solved


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

5 months ago

Solved


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

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

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

5 months 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:...

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

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

5 months ago

Submitted


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

1 year ago | 1 download |

Thumbnail

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

4 years ago | 0