Community Profile

photo

Jonathan


Univ of Strathclyde

Last seen: 1 year ago Active since 2014

Statistics

  • Thankful Level 3
  • Thankful Level 2
  • First Answer

View badges

Content Feed

View by

Question


Looping through different structures?
Hi, I am trying to analyse simulated rays traced from Zemax OpticStudio. The information for each ray is saved in a separate st...

1 year ago | 1 answer | 0

1

answer

Question


Resize and sum a matrix
Hi, I wasn't sure how to phrase my question, so apologies if it has been asked elsewhere and I couldn't find it! What I want t...

3 years ago | 3 answers | 0

3

answers

Question


Using 'solve' on a vector of line equations?
Hello, I'm working on some some Monte Carlo code that models photons moving and scattering in e.g. air or water. I have code th...

3 years ago | 1 answer | 0

1

answer

Question


Create grid of sums from scattered data
Hello, My task involves modelling where photons have "hit" a target plane. My code outputs the x and y coordinates of where eac...

3 years ago | 1 answer | 0

1

answer

Answered
Issues connecting to VISA device
Well, eventually I managed to fix the issue. I noticed that other software like Python and NI-MAX didn't recognise the instrume...

4 years ago | 2

| accepted

Question


Issues connecting to VISA device
Hello, I'm having issues connecting to an instrument (a Thor Labs PM100A optical power meter) over a VISA connection via USB. T...

4 years ago | 1 answer | 0

1

answer

Question


Numerical integration of tabulated data
Hello, I'm trying to follow the tutorial <http://www.oceanopticsbook.info/view/monte_carlo_simulation/introduction here> so t...

6 years ago | 1 answer | 0

1

answer

Question


Problems calling fminsearch (not enough input arguments)
I have an LED that is pulsing on and off to transmit data. I want to process the waveform received by a photodiode into 0s and 1...

8 years ago | 2 answers | 0

2

answers

Answered
Count rising edge in wave
Star's solution worked a treat for me. Previously I was using a loop to check each bit individually to see if it was less than t...

8 years ago | 0

Answered
Arduino serial read bug
Hello again, I found something that works for me: I changed the line in my Matlab script: From [Select] y(i) = ...

8 years ago | 1

Question


Arduino serial read bug
What I want to do is to sample an analog voltage from an Arduino pin (0 to 5 V, read as integer values from 0 to 1024), and tran...

8 years ago | 3 answers | 0

3

answers

Question


Problem using function with fminsearch
I have a set of data that I want to perform a fit to (data X and Y). I want to fit this data to a function Yfit = A / (1+(X/B)),...

10 years ago | 1 answer | 0

1

answer