Feeds
提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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...
8 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
8 years 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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); ...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0