# Mark Mikofski

### DNV GL

Modeling and optimizing solar energy.

**Statistics**

RANK**2,367**

of 271,719

REPUTATION**20**

CONTRIBUTIONS

**1** Question

**10** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**6**

RANK**362** of 18,321

REPUTATION**4,136**

AVERAGE RATING**4.70**

CONTRIBUTIONS**10** Files

DOWNLOADS **183**

ALL TIME DOWNLOADS**37960**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Submitted

NewtonRaphson

Yet another solver that uses the backslash function to solve a set of non-linear equations

1 year ago | 30 downloads |

Submitted

IAPWS_IF97

water and steam properties and derivatives for MATLAB

3 years ago | 27 downloads |

Which tool are you using to create the documentation of your MATLAB codes?

Try <https://pypi.python.org/pypi/sphinxcontrib-matlabdomain Sphinx MATLAB domain>, it's _free_ and it automatically generates d...

5 years ago | 1

Submitted

Solar Position Calculator

Basic analytical calculation of solar zenith and azimuth without atmospheric refraction.

6 years ago | 23 downloads |

Submitted

mikofski/Quantities

Quantities is an units and uncertainties package for MATLAB.

7 years ago | 1 download |

Why are my Matlab settings included in CTF-file?

For any others that come across this, please use <http://www.mathworks.com/help/compiler/ismcc.html ismcc> to check if mcc compi...

8 years ago | 0

32bit and 64bit compilations

I've just noticed that R2014a no longer uses the same compopts.bat or mexopts.bat for both targets in AppData\Roaming\MathWorks\...

8 years ago | 2

Solving a Nonlinear Equation using Newton-Raphson Method

use <http://www.mathworks.com/matlabcentral/fileexchange/43097-newton-raphson-solver newtonraphson>

8 years ago | 0

Submitted

polyfitZero

Fit polynomial to data, forcing y-intercept to zero or arb. value and slope to zero or arb. value

9 years ago | 72 downloads |

Calculating average from data file?

You need to read in the first and last name, assuming that there are always just two names. patha = textscan(fid,'%s %s %...

9 years ago | 0

| accepted

Submitted

JGit4MATLAB

JGit4MATLAB is a wrapper for JGit in MATLAB. It is meant to be used from the MATLAB command window.

9 years ago | 1 download |

Submitted

Spline2D or Piecewise Continuous 2D Polynomials

Fit a 2D function with piecewise continuous polynomials

9 years ago | 1 download |

Submitted

polyVal2D and polyFit2D

Evaluate 2D polynomials using Horner's method. Fit 2D polynomials to data using backslash operator.

9 years ago | 23 downloads |

Plot.i want my Y axis...

See help for <http://www.mathworks.com/help/releases/R2012a/techdoc/ref/ylim.html ylim> to set the y-axis limits: ylim([YMI...

10 years ago | 0

Deep copy of handle object?

This topic is covered in this MATLAB newsgroup post <http://www.mathworks.com/matlabcentral/newsreader/view_thread/257925 clone ...

10 years ago | 1

Matlab and Qt

* Don't use MATLAB, use <http://www.python.org/ Python> instead. * <http://www.riverbankcomputing.co.uk/software/pyqt/intro PyQ...

10 years ago | 1

| accepted

VS 2010 express compiler Matlab shared libraries

From your link it appears that you are using MATLAB 2011a on Windows 7 x64. If this is not true please respond with your version...

10 years ago | 1

Solved

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

11 years ago

Solved

Fibonacci sequence

Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

11 years ago

Solved

Determine whether a vector is monotonically increasing

Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

11 years ago

Solved

Make a checkerboard matrix

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

11 years ago

Solved

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

11 years ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

11 years ago

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

11 years ago

Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

11 years ago

Solved

Determine if input is odd

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

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

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

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

11 years ago