Community Profile

photo

Joe Bannen


University of Strathclyde

Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Decimal Places in Workspace View
Hi I am working on some code that needs decimal places to scientific precision. I have created a loop that calculates determi...

5 years ago | 1 answer | 0

1

answer

Question


Matrix Loop and Labelling
Hi I am trying to generate paths for stock prices via Brownian Motion. The code works okay (I hope!), but I can't get it to ...

6 years ago | 1 answer | 0

1

answer

Question


Relabel x-axis
Hi I am computing errors on a function and to ensure properly indexed data values have remapped my loop: for n2=1:11...

7 years ago | 1 answer | 0

1

answer

Question


Capturing outputs from Loops
Hi I have produced some code but now need to look at how it performs under various changes in input. This (I hope!) is best ...

7 years ago | 1 answer | 0

1

answer

Question


Euclidean Distance (Back to the Math...complete with two loops)
Hi Sorry to ask this as it appears to have been asked loads before! I am trying to construct a code with two loops to calcul...

8 years ago | 2 answers | 0

2

answers

Question


Matrix Dimensions not agreeing
Hi I am working with the following: phi = @(ep,r1) exp(-(ep*r1).^2); ep = 1; r1=0.1; S=linspace(0,1); ...

8 years ago | 1 answer | 0

1

answer

Question


Picking random points...
Hi I am exploring a closed (time) interval between 0 and 1. I have used the linspace command to generate it: t=linspace...

8 years ago | 1 answer | 0

1

answer

Question


Trying to input a range of numbers and generate a matrix...
Hi I am trying to input a mesh into a slight variant of the standard Black-Scholes function. I wish to vary the 'S' and the ...

9 years ago | 2 answers | 0

2

answers

Question


Needing help using MESHGRID (R2014b)
Hi I am trying to plot a Black-Scholes surface: I have the following simple code -- function C=bsf(S,t,E,r,sigma,T)...

9 years ago | 1 answer | 0

1

answer

Question


Can't get this to plot (Asian Option)
Hi Needing help. I am trying to plot this code (NRep 1 on the X axis, Y on the Y-axis) but am hitting too many input argum...

10 years ago | 1 answer | 0

1

answer