Community Profile

James Ramm


Aarhus Uni

30 total contributions since 2010

Professional Interests: geophysics

Contact

Contributions in
View by

Responded


Re: how to do Griddata only within bounds of original image?
Hi By orginalImage I assume you mean the (original) colour data. This would not work as 'originalImage' is always > 0. My point ...

6 years ago | 2927 views

Posted


how to do Griddata only within bounds of original image?
I have an image which looks some thing like this: -----------------------------------------------------------------------------...

6 years ago | 2927 views

Posted


How can I merge 2 arrays?
Hi I have 2 MxN arrays of frequency and voltage data. I would like to merge them to give a M-by-2N array of alternating freq and...

6 years ago | 7045 views

Posted


dlmwrite with different precisions?
Hi, is it possible to specify some numbers written to file with dlmwrite to have different precisions? For example, imagine I wi...

6 years ago | 3909 views

Responded


Re: FOR Loop slows down with each iteration?
Thanks to everyone, Ive followed the advice and removed all the in-loop file writing, reducing the computation time from ~14 min...

6 years ago | 9851 views

Responded


Re: FOR Loop slows down with each iteration?
Hi I have no warnings, and the loop is like this: for j = 1:ncellY+1 end basically, it is searching through a matrix of eleva...

6 years ago | 9851 views

Responded


Re: FOR Loop slows down with each iteration?
So writing to file in a loop is better than writing to a dynamic array? I cannot pre- allocate an array for the data that is be...

6 years ago | 9851 views

Responded


Re: FOR Loop slows down with each iteration?
Well, there you have hit upon my paradox. The index array is allocated space before the loop so its not a problem. For the stuff...

6 years ago | 9851 views

Posted


FOR Loop slows down with each iteration?
Hi, I have a for loop with 2 nested loops inside - i.e. it iterates through a 3D array: for k = 1:Nz In the do stuff part, it s...

6 years ago | 9851 views

Posted


Geometrical Problem
Hi, I have a function which plots two surfaces at different elevations and 'closes' the gaps between their edges using patch, to...

6 years ago | 1501 views

Responded


Re: Question on 'Surf' and Parametric surfaces
anyone have any clues??

6 years ago | 1289 views

Responded


Re: Plotting Borehole data.
Hi, if you are still having trouble with this, this may help: For interpolation, I reccomend interpolating in 2D (1 for each lay...

6 years ago | 3727 views

Responded


Re: Well Drilling
Hi Perhaps this is useful to you: http://www.mathworks.com/matlabcentral/fileexchange/27965-surf3d It was developed for 3D visua...

6 years ago | 1908 views

Posted


Question on 'Surf' and Parametric surfaces
Hi, Im looking at creating 3D objects using the surf command. My idea is to plot the upper and lower surface of an object with t...

6 years ago | 1289 views

Submitted


Surf3D
Plots upper and lower surfaces of a layer, calculates and plots the boundary faces

6 years ago | 7 downloads |

Thumbnail

Responded


Re: 3D Peaks
Hey, thanks a lot for the reply! Had totally forgot that NaN is numeric... A small adjustment to your solution gives: This elim...

6 years ago | 3074 views

Responded


Re: Smooth surface mesh/grid
not clear on what you want.. using a fine meshgrid and surf to plot results in a smooth surface...If grid lines are too dense, t...

6 years ago | 12801 views

Posted


3D Peaks
Hi, I am looking at the function 'Peaks' in 3D. That is, I plot (surf) a arbitary subsection of [X,Y,Ztop]=peaks(30), and then o...

6 years ago | 3074 views

Responded


Re: how to find connectivity matrix
Thanks fabio for the reply, its given me an idea or two, :)

6 years ago | 5274 views

Responded


Re: Problem in using delaunay3
Hi ...sorry for the many years late reply, but I just came across this great piece of code, and wondered if you had: a) made any...

6 years ago | 1961 views

Posted


how to find connectivity matrix
hi I wish to define an unstructured grid in a VTK file, for which I need to give all the points in my grid (fine) and the connec...

6 years ago | 5274 views

Posted


Gui - save output variables in loop?
Hi, I have a GUI problem, hope you can help... My GUI loads some data, you then select a variable and press a button called 'va...

6 years ago | 2097 views

Responded


Re: Retrieve variable with unknown names
Thanks a lot, precisely what I needed and understanding 'source' was precisely what I was missing :)

6 years ago | 1796 views

Responded


Re: Retrieve variable with unknown names
Hi, Thanks for reply, some questions: 1. 'Please dont do that' - what and why? 2. I implemented the code and I guess src is the...

6 years ago | 1796 views

Posted


Retrieve variable with unknown names
Hi Im creating a GUI program, which (currently) reads a file of columns of data and creates variables using the column headers a...

6 years ago | 1796 views

Posted


3D gridding
I'm a little stuck with a problem; I have x,y,z data with associated data values R. R is arranged as layers of thickness T, for ...

6 years ago | 1571 views

Posted


3D plots - what did I do?
I've been looking at making volumetric data from vectors of X,Y,Z and R. X and Y are UTM co-ordinates, and Z describes 5 differ...

6 years ago | 990 views

Responded


Re: Create a voxelised image of geophysical data
Ok not sure I fully understand you, but yes, there is a single value for each xyz location. The value is resistivity data, and t...

6 years ago | 1685 views

Posted


Create a voxelised image of geophysical data
Hi. I have a 3D volume (465x323x4) of colour data. Each point in this volume has an associated x,y and z co-ordinate. So you can...

6 years ago | 1685 views

Posted


Extending an array into 3D
Hi, I have an array which is 465x323 elements. It is the 'x' co-ordinates for some data I am plotting in 3D, so I need to exten...

6 years ago | 1135 views