video capture We are trying to write video capture in Matlab with imaq toolbox. Nothing fancy, just 30 fps, 480x720. What we want is to get frames from source, add our time and date stamp, display the image on screen and save image to disk. Then on to next frame. The need for adding captions means we need to do it frame by fra... 6 Aug 2010 01:44
Pointers in mex files (mxCalloc) Hi all! I have tried to speed up my Matlab code (parfor was not enough to do that..) and now decided to try with mex-file. Turned out to be a bit challenging.. The code below gives 12 error messages, all "type error: pointer expected". But I feel like I have a pointer to all of my variables. So, is there something w... 5 Aug 2010 19:09
How do I plot this function w/ if-else? I am trying to plot a line which behaves differently depending on the value of the independent variable. For values of T (on the x-axis) less than T0 I want a constant value a=0.6, for values of T greater than T1 I want a constant value a=0.2. For T between 263 and 283 I want the function shown in the program. When ... 4 Aug 2010 21:15
Backslash (\) operator Hi everybody, I'm using \ to solve an under-determined system of equations Ax=y (A is m x n, n = c*m, c ~ 1.5-3). The whole system is rather small (m ~ 10-100). As is common, I'm very interested in the most sparse solution. Is there any guarantee for the existence of the solution or an upper bound for the nnz(x), ot... 5 Aug 2010 10:13
Spectrogram Hi everyone I am trying to plot many slides using Matlab command spectrogram to have image of sample. I experiment the data and get a good result for one slide (which has many signals). I need to increase the time window to be able to plot the next slide using spectrogram. The code I used for just one sli... 5 Aug 2010 04:48
problem about read and write data from tcp/ip object i want to connect Matlab (PC) and a Router. how can the Router send the data to Matlab? Programmlanguage is Perl. I mean, can i use perl to send data on Router. and use Matlab to get data and save in PC? I have no idea about that, please help!!!! or any useful links! thanks! ... 5 Aug 2010 08:01
using 'shape-preserving' Hi friends, I had extracted a huge x-y data form get-data software.From that i have to extract y-coordinate values for given data. when i am trying to use 'shape-preserving' curve fitting it is saying "repeated x-values are not permitted when fitting with shape-preserving tool". How to avoid this problem. Even wh... 4 Aug 2010 20:10
output lines from text file whose string contains a specificword. Hu Le wrote: Hello! i'm very new to Matlab and need some help. I have a text file that looks something like this: $KEEP,16 $REMOVE,20 $KEEP,17 $REMOVE,201 $KEEP,12 $REMOVE,2012 I'm having trouble creating a Matlab script that will allow me to read from the above text f... 4 Aug 2010 19:04
output lines from text file whose string contains a specific word. Hello! i'm very new to Matlab and need some help. I have a text file that looks something like this: $KEEP,16 $REMOVE,20 $KEEP,17 $REMOVE,201 $KEEP,12 $REMOVE,2012 I'm having trouble creating a Matlab script that will allow me to read from the above text file and generate another text file that looks ... 4 Aug 2010 19:04
imread "file does not exist" error matlab R2010a hi there, I have a strange error...When I check the folder "s_te 8.jpg" exists in the "c_te_s" folder but it gives an error while program running...does any1 can help me,please? ??? Error using ==> imread at 372 File "s_te 8.jpg" does not exist. Error in ==> msr_hough at 6 c3=imread(a3(i3).name); Error in =... 4 Aug 2010 20:10 |