Ok I've solved my problem..now I want to parametrize on a variable which is NOT an input argument of my original function..After a quick look on the web, I found the command varargin...Some idea??
Thanks!
Elisa
You're right, it is better to avoid the use of loops...
anyway I have solved the problem..I had to include in my script all the swaption_price function's variables evaluated in a point, with just the strike as indexed parameter!
? Undefined function or method 'strike' for input arguments of type 'double'
Hi all..I have some problem with a Matlab script..
The aim of my exercise is to plot the change of a derivative's price (a swaption) on the basis of the change of its principal parameters (for example the strike)...