Since 5/30/2012 11:26:19 AM, jamesbejon has written 10 articles and participated in 106 conversations. jamesbejon signature: jamesbejon
jamesbejon's articles:
Items(10) /1
Outputting Plots in Linux26 (3/10/2013 10:36:15 PM) comp.soft-sys.matlab Dear All,
I have an application which currently runs on Windows and which outputs a load of Matlab plots to a PowerPoint slideshow, which is quite handy, because it means users can flip through the presentat... james
Handling large code files1140 (5/9/2012 8:52:09 AM) comp.soft-sys.matlab Dear All, Matlab's editor obviously has various interactive features. (It colours what you've written, provides auto-complete stuff, etc.). I'm currently working on a script that's 5,000 lines long and count... james
Fitting to match pre-specified means136 (2/21/2012 11:40:12 AM) comp.soft-sys.matlab Dear All, This probably has as much to do with maths and the like as with Matlab. But I'm not so great in either department, so figured I might be able to get some help from someone⦠% Suppose I have the fol... james
Separating doubles into separate integers2039 (1/13/2012 7:51:08 PM) comp.soft-sys.matlab Dear All, I have a matrix 3 cols wide and a good few million rows long. The data is of type int8. I need to do a unique count of the rows of this matrix. I'm minded to do it a bit like this: % Data: x = in... james
Force actxserver to open Excel 2003?730 (6/11/2011 7:33:04 PM) comp.soft-sys.matlab Dear All, I am currently using the command actxserver('Excel.Application') to open an instance of Excel. Problem is, I'm now trying to run my routine on a computer that has both Excel 2003 and Excel 2007 inst... james
P.P.S.036 (4/21/2011 5:50:05 PM) comp.soft-sys.matlab P.P.S. The parameters 2 & 3 specify the 2nd and 3rd 'level' of the struct ... james
Iterating over Structs?331 (4/21/2011 5:40:05 PM) comp.soft-sys.matlab Dear All, I'm sure there's a really nice solution to this, but I'll be blown if I can see it... Suppose I have the following struct: db.a.a.y1.val1 = 1; db.a.b.y1.val1 = 2; db.a.c.y1.val1 = 1; db.a.d... james
SQL534 (3/7/2011 9:07:04 PM) comp.soft-sys.matlab Dear All, I have an application which uses the database toolbox to repeatedly query a plain text file using SQL. (Frustratingly, I can't find the code I modified to do this, but it was on the mathworks.com si... james
Writing to Cells641 (3/16/2010 7:22:23 PM) comp.soft-sys.matlab Dear All, I'm trying to alter the contents of an array of cells. I thought that something like a = {2:5}' b = {3:6}' a{2:end, 1} = b{2:end, 1} would accomplish such a task, but it doesn't. Can someone plea... james
AccumArray usage761 (3/13/2010 4:28:05 PM) comp.soft-sys.matlab Dear All, I'm very new (like a few days) to MatLab, so please bear with me. I want to use AccumArray to aggregate some data. Suppose I have a 30x1 data source which is effectively grouped 1, 2,...,10, 1, 2,.... james
Aim I having a senior moment or what...???612 (4/24/2013 12:25:08 AM) comp.soft-sys.matlab DEAL() duplicates all terms in the RHS, is there a shorthand for
A=x(1);
B=x(2);
[A B]=???(x);
Am I just drawing a blank or is there only the explicit assignment
statements? Seems trivial and after... none1568(6651)
Return a file's owner33 (4/10/2013 6:10:12 PM) comp.soft-sys.matlab Does anyone know how to retrieve a file's owner (aka creator, author, etc.) on a Windows 7 platform with MATLAB 2013a? Googling around a bit, I thought that I could use java.nio.file.Files.getOwner(fullfile(,)... rseltzer1(2)
randn repeating itself118 (3/28/2013 5:17:11 AM) comp.soft-sys.matlab Dear all,
I'm adding noise (Rician) with randn to a synthetic image for post processing. However, for validation reasons, I want to process the image with numerous different instances of the noise model appl... myfakeemail123321(4)
Shifting NaNs to top of matrix68 (3/21/2013 2:09:13 PM) comp.soft-sys.matlab Hi,
I'm trying to do the following:
Take this example matrix:
test = [nan 1 nan 1
1 1 1 1
nan 1 1 nan]
I want to shift all the nans to the top of each column so the... ladidalimey(14)
Sum selected elements of a vector26 (3/14/2013 11:06:06 PM) comp.soft-sys.matlab Hi guys,
How can I sum the elements (row 1 + row 2 & row 3 + row 4) of a 4 x 1 vector and have a 2 x 1 vector as output?
The 'sum' function does not work as it will sum up all the elements and provide a s... jeffong(1)
Searchnig for a string in a array59 (3/14/2013 8:38:06 PM) comp.soft-sys.matlab Imagine you have the following array
A = {100, 200, 'Hello', 'World is here', 'Is'}
I need to find position of the cells that contain string 'is', i.e. I want to get
ans = 4 5
How do I do it?
... lexps31(4)
Outputting Plots in Linux26 (3/10/2013 10:36:15 PM) comp.soft-sys.matlab Dear All,
I have an application which currently runs on Windows and which outputs a load of Matlab plots to a PowerPoint slideshow, which is quite handy, because it means users can flip through the presentat... jamesbejon(116)
Matlab excel interface56 (3/2/2013 8:04:09 AM) comp.soft-sys.matlab I'm trying to export a huge amount of data(5820 rows) from matlab to excel.
xlswrite can't handle this much amount of data. Its returned error code: 0x800A03EC.
Is there any alternative?
... daffodiluniqua(2)