Skip to content

Commit 56fef70

Browse files
committed
move ipython notebooks
1 parent 7364866 commit 56fef70

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+36
-32
lines changed

_posts/tutorials/2015-06-30-aircraft_pitch.html renamed to _posts/ipython-notebooks/2015-06-30-aircraft_pitch.html

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ <h2 id = olr>Open-loop response</h2>
123123
<div class="inner_cell">
124124
<div class="input_area">
125125
<div class=" highlight hl-ipython2"><pre><span class="o">%%</span><span class="k">capture</span>
126-
%%matlab
126+
%%matlab
127127

128128
f = figure;
129129
t = [0:0.01:10];
@@ -137,7 +137,7 @@ <h2 id = olr>Open-loop response</h2>
137137

138138

139139
%%%%%%%%%%%%%%%%%%%
140-
% PLOTLY %
140+
% PLOTLY %
141141
%%%%%%%%%%%%%%%%%%%
142142

143143
fig2plotly(f);
@@ -240,12 +240,12 @@ <h2 id=clr>Closed-loop response</h2>
240240

241241

242242
<div class="output_text output_subarea ">
243-
<pre>
243+
<pre>
244244
Transfer function:
245245
1.151 s + 0.1774
246246
----------------------------------
247247
s^3 + 0.739 s^2 + 2.072 s + 0.1774
248-
248+
249249
</pre>
250250
</div>
251251

@@ -270,7 +270,7 @@ <h2 id=clr>Closed-loop response</h2>
270270
<div class="prompt input_prompt">In&nbsp;[33]:</div>
271271
<div class="inner_cell">
272272
<div class="input_area">
273-
<div class=" highlight hl-ipython2"><pre><span class="o">%%</span><span class="k">matlab</span>
273+
<div class=" highlight hl-ipython2"><pre><span class="o">%%</span><span class="k">matlab</span>
274274
pole(sys_cl)
275275
</pre></div>
276276

@@ -291,7 +291,7 @@ <h2 id=clr>Closed-loop response</h2>
291291

292292
-0.3255 + 1.3816i
293293
-0.3255 - 1.3816i
294-
-0.0881
294+
-0.0881
295295

296296
</pre>
297297
</div>
@@ -317,15 +317,15 @@ <h2 id=clr>Closed-loop response</h2>
317317
<div class="prompt input_prompt">In&nbsp;[34]:</div>
318318
<div class="inner_cell">
319319
<div class="input_area">
320-
<div class=" highlight hl-ipython2"><pre><span class="o">%%</span><span class="k">capture</span>
320+
<div class=" highlight hl-ipython2"><pre><span class="o">%%</span><span class="k">capture</span>
321321
%%matlab
322322

323-
f = figure;
323+
f = figure;
324324
margin(P_pitch)
325325
grid
326326

327327
%%%%%%%%%%%%%%%%%%%
328-
% PLOTLY %
328+
% PLOTLY %
329329
%%%%%%%%%%%%%%%%%%%
330330

331331
fig2plotly(f);
@@ -380,16 +380,16 @@ <h2 id=clr>Closed-loop response</h2>
380380
<div class="inner_cell">
381381
<div class="input_area">
382382
<div class=" highlight hl-ipython2"><pre><span class="o">%%</span><span class="k">capture</span>
383-
%%matlab
383+
%%matlab
384384

385-
f = figure;
385+
f = figure;
386386
sys_cl = feedback(P_pitch,1);
387387
step(0.2*sys_cl), grid
388388
ylabel(&#39;pitch angle (rad)&#39;);
389389
title(&#39;Closed-loop Step Response&#39;)
390390

391391
%%%%%%%%%%%%%%%%%%%
392-
% PLOTLY %
392+
% PLOTLY %
393393
%%%%%%%%%%%%%%%%%%%
394394

395395
fig2plotly(f);
@@ -485,7 +485,7 @@ <h2 id = "lc">Lead compensator</h2>
485485
<div class="inner_cell">
486486
<div class="input_area">
487487
<div class=" highlight hl-ipython2"><pre><span class="o">%%</span><span class="k">capture</span>
488-
%%matlab
488+
%%matlab
489489

490490
f = figure;
491491
K = 10;
@@ -495,7 +495,7 @@ <h2 id = "lc">Lead compensator</h2>
495495
title(&#39;Closed-loop Step Response with K = 10&#39;)
496496

497497
%%%%%%%%%%%%%%%%%%%
498-
% PLOTLY %
498+
% PLOTLY %
499499
%%%%%%%%%%%%%%%%%%%
500500

501501
fig2plotly(f);
@@ -675,17 +675,17 @@ <h2 id = "lc">Lead compensator</h2>
675675
<div class="inner_cell">
676676
<div class="input_area">
677677
<div class=" highlight hl-ipython2"><pre><span class="o">%%</span><span class="k">capture</span>
678-
%%matlab
678+
%%matlab
679679

680680
f = figure;
681681
K = 10;
682-
alpha = 0.10;
682+
alpha = 0.10;
683683
T = 0.52;
684684
C_lead = K*(T*s + 1) / (alpha*T*s + 1);
685685
margin(C_lead*P_pitch), grid
686686

687687
%%%%%%%%%%%%%%%%%%%
688-
% PLOTLY %
688+
% PLOTLY %
689689
%%%%%%%%%%%%%%%%%%%
690690

691691
fig2plotly(f);
@@ -740,15 +740,15 @@ <h2 id = "lc">Lead compensator</h2>
740740
<div class="inner_cell">
741741
<div class="input_area">
742742
<div class=" highlight hl-ipython2"><pre><span class="o">%%</span><span class="k">capture</span>
743-
%%matlab
743+
%%matlab
744744

745-
f = figure;
745+
f = figure;
746746
sys_cl = feedback(C_lead*P_pitch,1);
747747
step(0.2*sys_cl), grid
748748
title(&#39;Closed-loop Step Response with K = 10, alpha = 0.10, and T = 0.52&#39;)
749749

750750
%%%%%%%%%%%%%%%%%%%
751-
% PLOTLY %
751+
% PLOTLY %
752752
%%%%%%%%%%%%%%%%%%%
753753

754754
fig2plotly(f);
@@ -802,7 +802,7 @@ <h2 id = "lc">Lead compensator</h2>
802802
<div class="prompt input_prompt">In&nbsp;[80]:</div>
803803
<div class="inner_cell">
804804
<div class="input_area">
805-
<div class=" highlight hl-ipython2"><pre><span class="o">%%</span><span class="k">matlab</span>
805+
<div class=" highlight hl-ipython2"><pre><span class="o">%%</span><span class="k">matlab</span>
806806

807807
stepinfo(0.2*sys_cl)
808808
</pre></div>
@@ -820,7 +820,7 @@ <h2 id = "lc">Lead compensator</h2>
820820

821821
<div class="output_text output_subarea ">
822822
<pre>
823-
ans =
823+
ans =
824824

825825
RiseTime: 1.7479
826826
SettlingTime: 35.0902
@@ -855,10 +855,10 @@ <h2 id = "lc">Lead compensator</h2>
855855
<div class="prompt input_prompt">In&nbsp;[50]:</div>
856856
<div class="inner_cell">
857857
<div class="input_area">
858-
<div class=" highlight hl-ipython2"><pre><span class="o">%%</span><span class="k">capture</span>
859-
%%matlab
858+
<div class=" highlight hl-ipython2"><pre><span class="o">%%</span><span class="k">capture</span>
859+
%%matlab
860860

861-
f = figure;
861+
f = figure;
862862
K = 10;
863863
alpha = 0.04;
864864
T = 0.55;
@@ -868,7 +868,7 @@ <h2 id = "lc">Lead compensator</h2>
868868
title(&#39;Closed-loop Step Response with K = 10, alpha = 0.04, and T = 0.55&#39;)
869869

870870
%%%%%%%%%%%%%%%%%%%
871-
% PLOTLY %
871+
% PLOTLY %
872872
%%%%%%%%%%%%%%%%%%%
873873

874874
fig2plotly(f);
@@ -922,7 +922,7 @@ <h2 id = "lc">Lead compensator</h2>
922922
<div class="prompt input_prompt">In&nbsp;[72]:</div>
923923
<div class="inner_cell">
924924
<div class="input_area">
925-
<div class=" highlight hl-ipython2"><pre><span class="o">%%</span><span class="k">matlab</span>
925+
<div class=" highlight hl-ipython2"><pre><span class="o">%%</span><span class="k">matlab</span>
926926

927927
stepinfo(0.2*sys_cl)
928928
</pre></div>
@@ -940,7 +940,7 @@ <h2 id = "lc">Lead compensator</h2>
940940

941941
<div class="output_text output_subarea ">
942942
<pre>
943-
ans =
943+
ans =
944944

945945
RiseTime: 1.7479
946946
SettlingTime: 35.0902

_posts/tutorials/2015-06-30-baltimore.html renamed to _posts/ipython-notebooks/2015-06-30-baltimore.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22
permalink: /ipython-notebooks/baltimore-vital-signs
33
description: PCA and k-means clustering on dataset with Baltimore neighborhood indicators
44
name: Baltimore Vital Signs
5-
has_thumbnail: false
6-
thumbnail: /images/static-image
5+
has_thumbnail: true
6+
thumbnail: /thumbnail/ipython_20_baltimore.jpg
77
layout: user-guide
8-
page_type: u-guide
9-
language: python
8+
language: ipython
9+
title: Baltimore Vital Signs | plotly
10+
display_as: civic
11+
page_type: example_index
12+
order: 3
1013
---
14+
1115
{% raw %}
1216
<div class="cell border-box-sizing text_cell rendered">
1317
<div class="prompt input_prompt">

0 commit comments

Comments
 (0)