Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
4d
4d
  • Loading branch information
tjc14008 committed Oct 6, 2017
1 parent 5ee46c6 commit e02d333
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Expand Up @@ -98,3 +98,14 @@ end
```

d)
```matlab
dx = zeros(1,50); % [in nm]
F_applied=linspace(0,0.0022,50)
[K,SSE_min]=fminsearch(@(K) sse_of_parabola(K,dx,F_applied),[1,1])
```
```matlab
K = 1 1
SSE_min = 8.1490e-05
```

e)
3 changes: 3 additions & 0 deletions fminsearch_4c.m
@@ -0,0 +1,3 @@
dx = zeros(1,50); % [in nm]
F_applied=linspace(0,0.0022,50)
[K,SSE_min]=fminsearch(@(K) sse_of_parabola(K,dx,F_applied),[1,1])
1 change: 1 addition & 0 deletions fminsearch_4c.m~
@@ -0,0 +1 @@
x = fminsearch(sse_of_parabola(K)

0 comments on commit e02d333

Please sign in to comment.