.eps files imported into Word appear scrambled
I've been trying to import some .eps figures created with Matlab into a Word document but they look scrambled, e.g. lines broken into multiple out-of-place segments, or have gaps in the lines. The imported figures appear this way on the screen, when printing the document, and when converting to a .pdf. I can open t... 2 Feb 2010 15:19
FCM using Image
Dear all.. im new in Matlab, how to get membership functions in image data?? and how to plot matrix data which has dimension 800x800? ... 4 Mar 2010 10:03
How to show remote sensing image?
Hi I am a newbie for image processing in matlab. I have a satellite image, including four bands (Band-sequential). I'd like to show it. First I use multibandread. Example is below: filename={'band1','band2','band3','band4'}; rows=1202; cols=1202; bands=1; size=[rows cols bands]; precision='uint8'; offset=... 15 Feb 2010 08:41
read certain number in a text file
Hi all: Thanks for suggestion. I tried this commend: fid = fopen('d:\test.txt'); c = textscan(fid,'%ssamples =%d%*[^\n]','headerlines',2) I tried to skip to the first 2 lines which is known, and search the string "samples =" and read the number next to this string. The return is always like this: c = ... 2 Feb 2010 15:19
Database connection expires
Here is something that is a minor frustration. Using the Database Toolbox, I connect to the database just fine. However, after a period of time, that connection seems to expire. (Doesn't seem to be a fixed period of time, but rather after a period of not using the connection for a while.) If I try to execute a ... 2 Feb 2010 15:21
max and min
I am trying to form a vector using the max and min's I want all values smaller than my min to become the min a vice versa with the max. I can single out the min's and max's and even combine them. But I need to take the original vector and make whatever isn't in the max/min range to be the max/min. Any suggestions? ... 2 Feb 2010 15:20
mex - Matlab array errors
I have a problem with some large mxArrays that I am returning from my mex function. These arrays are assigned to zero for a large portion of the periphery. However, when I look at them in Matlab, there is a string of NaN values along one edge. I tested these arrays before they leave the C++ portion (mex) of the code... 2 Feb 2010 15:18
MLAPPClass times out in a multi threaded C# application
Hi Satish, COM objects live in something called apartments, which are loosely related to threads. The MATLAB COM object is probably single threaded, which means it should only be used in the thread in which the object was created. If you call it from another thread, it may work, and it may not. It may work for so... 2 Feb 2010 15:18
how to locate a string in a string cell?
Hi all, If I have a cell called A, let's say A={'aa', 'bb', 'cc'}, what's the most efficient way to do find(A=='aa')? It seems getting an error in Matlab? ... 27 Feb 2010 16:34
Simulink Index Vector can't access first element
Hi, I am trying to use the simulink Index Vector block in my design to call a 1x100 vecctor. I am using a counter as the trigger. But I can not access the fist element of the vector. Example vector = [ 1 2 3 4 5] If I use the Index Vector to the only values i will get are 2 through 5. I can not access the fir... 2 Feb 2010 15:23