Description Usage Arguments Value Author(s) Examples
This function adds zeros around a 2D array to get a M x M field.
1 | blowup(x, M, number = 0)
|
x |
2D array, which should be blown up to a M x M array. |
M |
Dimension of new array including zeros at boundaries. M should be larger than max(dim(x)). |
number |
Number, that should be added to the incoming array. Default is 0. |
Returns the M x M array with the original field in the centre.
Florian Kapp
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.