MATLAB 7 and IP toolbox functions141 (7/5/2004 12:00:23 AM) comp.soft-sys.matlab I tried to run my code in MATLAB 7 and it gives this weird errors, for e.g. >> x=imread('agr134.jpg') ??? Attempt to execute SCRIPT persistent as a function. Error in ==> imformats at 68 persistent fmts; Err... Pushkar
problems using eval()047 (5/14/2004 4:32:33 AM) comp.soft-sys.matlab I want to run the eval command without starting matlab, it's giving me errors, This works fine inside matlab - eval('cluster_test') However, when trying to run it from the shell, it gives errors: Redstone[77] ... Pushkar
passing args to matlab from command prompt141 (5/13/2004 9:50:07 PM) comp.soft-sys.matlab I want to start matlab from the command prompt so that I can run it on the cluster. I already found out how to do this: matlab -nojvm -nosplash -display null Copyright 1984-2003 The MathWor... Pushkar
blockwise image i/o230 (5/13/2004 2:33:01 AM) comp.soft-sys.matlab Hi, I'm wondering if there is an extension in MATLAB available to read images (atleast TIFs) in blocks. imread, imwrite read in the whole image into memory, this is fine for small images but the call fails f... Pushkar
blkproc and performance issue124 (5/9/2004 1:11:09 AM) comp.soft-sys.matlab I'm coding a feature extraction code, there will be different functions each calculating a different feature of the image operating on a different NXN block at a time. This can be done like this: y(:,:,1) = ... Pushkar
== comparison for double/float values628 (5/7/2004 4:34:44 PM) comp.soft-sys.matlab It is well known that you should never use the == operator when comparing float/double values, rather you should check that the difference is than a threshold e.g. 0.001 So does the same apply in MATLAB or ... Pushkar
save command and filename problem132 (5/7/2004 1:52:35 AM) comp.soft-sys.matlab I'm trying to save a variable to .mat file, I create the filename like this: feature_label = 'grass'; feature_filename = sprintf('%s-cooccurence.mat', feature_label); Now I checked with the debugger and: featu... Pushkar
how to make a string array121 (5/6/2004 4:42:11 PM) comp.soft-sys.matlab I'm trying to pass some file names to a function, so I tried this: a = ['dfdf.tif', 'str.tif', 'mem.tif', 'ch.tif']; but a(1), a(2) .. refer to each character like ' d etc. Can somebody show me the proper way ... Pushkar
blkproc errors032 (4/30/2004 7:47:47 PM) comp.soft-sys.matlab I'm using blkproc, my img. is 400x400x3, and my block size is [12 12]. I think blkproc handles the boundary conditions, so my error must be due to something else. The function hist_comp calculates the histogr... Pushkar
convert from vector to matrix230 (4/28/2004 2:39:35 AM) comp.soft-sys.matlab I was wondering if there is a function to convert from a 1-D vector to a 2-D (or 3-D) matrix. For e.g. the command a = b(:); allows you to transform the values in b matrix to 'a' vector. Thanks, Pushkar ... Pushkar
Question on COM port936 (11/27/2003 3:30:42 AM) comp.lang.c Hi, this isn't really a C question, but I do not know where else to turn to. Can anyone please tell me how to get the port number for com port 1 and com port 2? I tried searching the web but can't understand ... jimmyly(5)
Do I need to use destructor here?331 (11/30/2003 11:51:57 PM) comp.lang.c++ I have a function which holds a list of my data structure PARTICLE, initially the list is declared empty, but I grow it in this function. Now my question is do I have to write a destructor (since the datatype ... pushkar(55)
Getting the middle of a string1725 (12/6/2003 3:25:58 AM) comp.lang.c I've tried to make a function that returns the middle of a string. For example: strmid("this is a text",6,4); would return "is a". Here is my code: char *strmid(char *texte, int depart, int longueur) {... olivier.bellemare(1)
mex files331 (1/19/2004 12:54:04 AM) comp.soft-sys.matlab Hi I have several files which I complie and link in GCC. How can I call them from matlab using mex files ? An explanation of the procedure will be appreciated. ... wsgr12(2)
new to linux rpms829 (2/22/2004 8:39:38 PM) comp.os.linux.misc I'm trying to install the wxwindows software from rpms. When I try to install I get this error: Redstone[1968] pushkar$ rpm -i wxGTK-2.4.2-1.i386.rpm error: cannot get exclusive lock on /var/lib/rpm/Packages e... pushkar(55)
Protect my M-File757 (5/7/2004 2:23:16 AM) comp.soft-sys.matlab I had written a m-file and wish to restrict user from viewing (and hence editing) my m-file. could anyone instruct me on how to do it please?? Thank you~ ... rcrenee(2)
problem reading data540 (5/8/2004 8:32:06 PM) comp.soft-sys.matlab Dear Matlab users, I've just used Stat/Transfer to convert a few .dta datasets to the ..mat format. All went aparently well, however after having loaded the data into Matlab, I'm not being to do anything with ... jazevedo(4)
expm #2243 (5/13/2004 9:35:49 PM) comp.soft-sys.matlab Hi, I'm a beginner. The answer may be trivial. I'd like to know expm(A) of a matrix A, e.g., A = [ -k1, k2; k1, -k2 ] There is an error which says "undefined function or variable" . Can I get the formular w/... schoe(1)
Urgent: How to read a letter matrix in matlab?552 (5/14/2004 3:13:20 AM) comp.soft-sys.matlab Hi, I have a letter matrix(every element is a letter (A,B,C...). How can I read in this matrix by matlab? How can I find the index of letter A (position of letter A) in every column. It's an urgent question, ... julytli01(33)
Wavelet #3131 (7/4/2004 6:29:18 PM) comp.soft-sys.matlab Hi I m new in the field of image compression thru Discrete wavelet transformation. Can any body provide me Matlab code by debugging i can understand how discrete wavelet transformation is carried out... Than... asadbcs(1)