Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function B=price_obli(z)
- B=exp(-z*linspace(1,10,10))*[linspace(3,3,9),103]'
- endfunction
- c = [3 3 3 3 3 3 3 3 3 103]
- t = [1 2 3 4 5 6 7 8 9 10]
- y=0:0.001:0.05
- plot(y,price_obli(y))
- error: price_obli: operator *: nonconformant arguments (op1 is 1x51, op2 is 1x10)
- error: called from
- price_obli at line 2 column 26
- error: evaluating argument list element number 1
- error: called from
- price_obli at line 2 column 26
- error: evaluating argument list element number 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement