First
|
Prev |
Next
|
Last
Pages: 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228
skip bad files in batch processing loop? I am running a for loop which analyzes all files in a folder. Some of the files have messy data and return an error. Rather than go through and manually figure out which ones don't work, is there a way for the code to simply recognize the error and move on to the next file? Thanks. ... 19 Jul 2010 14:39
Need to read large video files into Matlab Hello, Hopefully someone can help me with this since I've tried everything. I have a lot of video files that are all between 150 and 160 MB large (.avi). I need to be able to play these files within a GUI that I am building. I have tried aviread, mmreader, etc. and I continue to get an "out of memory" error. ... 19 Jul 2010 15:45
checking/setting part of an array. I would have thought this little snippet would have worked to set a subset of an array to nan, but it didn't... I know I can do it with a loop, but is there a "better way"? array(abs(array(:,3:11))>threshold,3:11) = nan; Basically if the absolute value of an element in columns 3 thru 11 is greather than so... 19 Jul 2010 14:39
help with matlab code Hi all, I am trying to run this matlab code but am facing with a few errors. Can some one help me out? I ran this code with a random input signal and it was working. Now i tried running with the input file which has 1024 hexadecimal values. clear all; close all; clc ntaps=64; nsamp=1024; ibeta=2^2; % mu=... 19 Jul 2010 21:16
Powers are slow, multiplies fast; optimized badly? MATLAB seems to implement x^2 as a multiply but x^3, or higher power, via something much slower (exp of number times log?). For large enough n, exp n log will be faster than multiplying n times, but the internal code generator seems to err wildly on the side of using the slow method, whatever it is, rather than just re... 20 Jul 2010 11:20
Blockwise Matrix Expansion Hi all, I have a matrix that I need to expand in the following way: Each element of the original matrix has to form a block in the new matrix. For instance, if I have A = [a b; c d] then I want to create B = [a a b b; a a b b; c c d d; c c d d] This would be easy to do with a 2x2 matrix; however, while A... 19 Jul 2010 19:03
Edit mexopts.bat to compile mex file with OpenMP Hello, I'm trying to compile a C file that was paralelized with OpenMP. I know that I have to edit some lines of mexopts.bat, could somebody please tell me which ones? is that the only file I have to edit? I'm using Windows 32 and Matlab 2007b Thank you very much in advance. ... 21 Jul 2010 10:13
convert rgb movie to greyscale Hi Brett, I got high frame rate (200 frames per second) uncompressed monochrome videos. The video is in a weird format (.fmf), I managed to convert to individual frames, or avi. However these files are too large to store, and in addition the avi is 3 times larger because it's rgb and not monochrome. How can I ma... 19 Jul 2010 13:33
Unable to run scripts in current working directory After attempting to use addpath (added using the startup.m script) to consolidate some often-used functions under a directory structure, I find myself now unable to run scripts or functions in the current working directory. Prior to this, I was unable to run scripts in directories added using addpath if they contained ... 19 Jul 2010 16:51
Publish stylefile Hi Folks I am trying to create a published file, similar to the demo files in Matlab. I am tyring to inset hyperlinks to open the m-file etc, similar to the demo files. I have tried to run my example with the demos.xsl style file, in $matlabroot\toolbox\dynasys\dynasysdemos\private but am getting errors. Does any... 19 Jul 2010 13:33 |