Using variable name for imwrite
For the last 3 hours ive been unable to fix what should be easy. I want to use a user defined variable to save the file to. where have i gone wrong. thanks. relevant Code: flashImage = double(imread(test.jpg))/255; name = inputdlg('enter a name for your image','',1,{'PictureName'}); name imwrite(flashIm... 31 Mar 2010 10:57
Stop windows sleeping while matlab running
Hello, So this should be pretty simple but I can't figure out how. I'm running a set of data analysis functions (basically a lot of parfor loops) that take about four hours to finish. Unfortunately during that time windows goes to sleep and the whole thing breaks. I don't really want to turn of sleep in Windows as I... 28 Apr 2010 18:35
How to load wma file in Matlab
panabiker <ghuang(a)comcast.net> wrote in message <1186156817.532316.274430(a)z24g2000prh.googlegroups.com>... On Aug 3, 9:51 am, "Ryan Underwood" <ryan8...(a)hotmail.com> wrote: Currently, I'm using Switch to convert .wma file to .wav format,and load using the following command: *********************... 31 Mar 2010 10:57
Problem with Genetic Algorithm
I am working on minimizing a multiple function of variables using genetic algorithm (gamultiobj). My problem is how I can mix integer, real and binary number using the Multiobjective Genetic Toolbox Solver: gamultiobj. I know this link and just wonder I can mix them together! http://www.mathworks.com/products... 8 Apr 2010 14:00
Deleting all rows but those specified.
If I have a matrix x: x=[1 2 3;4 5 6;7 8 9;10 11 12]; and i wanted to delete rows 1 and 2 then i can do ab=[1,2]; x[ab,:]=[]; and rows 1 and 2 would be deleted. But what if I wanted to delete all rows EXCEPT 1 and 2. This is a simplified example, as what I actually have is x with a length of over a thousan... 31 Mar 2010 10:57
moment invariants
Can anyone help me how to find the various statistical moments and moment invariants in an RGB image? ... 31 Mar 2010 09:50
how to add sine to sound signal
hi i want to embed a sine wave into a sound signal. suppose i want to embed at total of n places in sound signal. how can i generate a sine signal which gives me values at n locations with in same time period. so that i can add the corresponding value of sine wave( n place in sine wave to n places in sound signal)... 1 Apr 2010 06:48
Tridiagonal matrix - repeated solution
Hello, my problem involves solving a system of equations Ax=b for different RHS vectors b. A is tridiagonal / complex / sparse. I can obviously repeatedly use x = A\b, however, this does not seem to be very fast. I know that Matlab can solve this problem very efficiently if I put all vectors b in a matrix, let's ... 31 Mar 2010 17:42
Data Brush Tool
anyone know how one access and modify the context menu menu items in the data brush tool? For example, a 'right' click brings up a list of items such as "replace with", "remove", "create variable", etc. The 'create variable' menu item has a sub-menu with workspace variables in which to store selected data. I wou... 31 Mar 2010 09:50
PF model and matlab
Hii, I want to start phase field modeling using matlab but I do not know how to start. Can somebody guide me or provide me a phase filed code so that I can implement my ideas. Regards ... 31 Mar 2010 09:50