Homepage of the HATA group at DTU

# Software

No available software at the moment.

## Matlab Toolbox for Finite Frames

I am currently writing a Matlab toolbox for finite frames. Please check back here in 2015.

### Matlab code (NB! Only a Test Example showing Syntax Highlighting)

We want to approximate the sum \sum_{k=1}^\infty 1/k^2=\pi^2/6. This is implemented in Matlab by the following code:

% for loops in Matlab

% Set the number of terms
n=10;

% initialize sum
Q=0;

% summing over k
for k=1:n
Q=Q+1/k^2;
end

sprintf('Approximation with %d terms: Q = %0.10g',n,Q)

Modify n=10 in line 4 to obtain better approximations.

Approximating pi square over 6
1. % for loops in Matlab
2.
3. % Set the number of terms
4. n=30;
5.
6. % initialize sum
7. Q=0;
8.
9. % summing over k
10. for k=1:n
11.     Q=Q+1/k^2;
12. end
13.
14. sprintf('Approximation with %d terms: Q = %0.10g',n,Q)
% for loops in Matlab

% Set the number of terms
n=10;

% initialize sum
Q=0;

% summing over k
for k=1:n
Q=Q+1/k^2;
end

sprintf('Approximation with %d terms: Q = %0.10g',n,Q)
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.18336446583271027, "perplexity": 12782.347381561289}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2017-47/segments/1510934804019.50/warc/CC-MAIN-20171117223659-20171118003659-00235.warc.gz"}