mex fortran compiler
Hi, I get the following message when choosing intel fortran as the compiler for mex: Error: Microsoft Visual Studio 2005 was not found by mex -setup. The Microsoft Visual Studio 2005 linker is required to build Intel Fortran MEX-files. Please make sure that Microsoft Visual Studio 2005... 10 Feb 2010 17:56
Read MAT-file
Dear Andrea! I have a MAT-file containing three structures (one vector and two numbers). To read this file I have to write a C-code? If yes someone can post me an example of this code? You can load the file with the LOAD command in Matlab. If you do not have Matlab, let the author of the file use another fo... 10 Feb 2010 17:56
Adding second Y-Axis with no data associated with it
I have a single set of data plotted on a graph with a single y-axis. I want to add a second y-axis with a scale and a label to this graph without doing anything else to the data/graph. I can't seem to figure out how to do this. I can use plotyy if I had two data sets that wanted to be on separate axes but here I ... 10 Feb 2010 17:56
Calling a Java Constructor with static final int
Hi Edward, I have the same problem. But I don't grasp what should made public. Can you comment on that, or may be post the line of code involved. Thanks in advance, Martijn ... 10 Feb 2010 19:05
Set same variables and/or constants for MANY SUBSYSTEMS
I have a huge function. Sum of many sub-blocks. Each block of the function is also made of smaller parts and they all use almost SAME VARIABLES and/or CONSTANTS which I have to change often to see the behaviour of the function. I read about masking, s-funtions, etc. But could not access a clear text describing simi... 10 Feb 2010 16:48
eigs, LU, memory
I encounter this situation very often. You thought your code doesn't use all the memory, but actually it does. When an LU factorization is almost finished, a spike in memory usage will occur. This is because UMFPACK and MATLAB have different data structures. It takes memory to create L and U matrices in MATLAB from UMF... 10 Feb 2010 16:48
Pixelated postscript text
Hi, I aim to save the appearance of a GUI figure in a postscript output file. I am using the print() command and it seems to work almost perfectly *except*: (1) Text appearing as the title of a panel is pixelated (2) Text appearing in a popup menu is pixelated The rest of the fonts (axes limits, sy... 11 Feb 2010 12:47
3D Figure Inside a 3D Figure - is it possible?
I want to plot a 3D sphere in a figure which should be inside another 3D figure. It should be like that: If I 3D rotate the outer figure, the inner figure should also rotate likewise. But if I rotate in the inner figure it should have no effect on the inner figure. Is it possible? To understand this problem more eas... 9 Mar 2010 10:01
gaussian smoothing of a 1-D vector
Hello, I need to smooth a 1-D vector. In the smoothing I need to have an option to choose the width of the smoothing function (number of cells). Does anyone know of a gaussian smoothing function? If not, do you know a matlab code I can use to solve this? Thank you. ... 11 Feb 2010 09:24
comparing values
Let's say I have the following vector numb= [1.35, 4.62, 0, .53, .433, 0, 2.5 ] and I'm supposed to declare a variable that has the smallest value in numb vector, but zero is omitted So, .433 would be called out, not the 0's smallest_variable= .433 Any suggestions? ... 10 Feb 2010 14:32