Converting an Image array to Vector or Matrix I have an image array. I want to convert the elements into matrix or vector. The matrix will have only 1 column and the number of row will be equal to the number of elements of that image. For example: if the binaryImage array has some values like this.... imageArray = 1 2 3 4 5 6 ... 5 Aug 2010 14:39
ode45 Hello, I am using ode45 to solve a system of dfq's, and the problem is that it takes too long and the data is not plotted, and I know there is data. What can resolve that? Thank you ... 7 Aug 2010 07:10
Finding minimums Hello, I have a problem with finding minimums and I'm not quite sure why... Recently I have been using the code "[I,J]= find(summat == max(summat(:)))" to find my maximums in a matrix, however, now I wish to find the minimums in my matrix and when I just substitute min in for max, I get an [8million+ x 1] for... 5 Aug 2010 14:39
Writting overloaded function Hi, Lately I've been trying to write a MATLAB function which can take a variable number of arguments - it's easy to do with 'varargin' however... If I use varargin I don't see all the supported overloads (i.e. when I type my function name and open brackets I don't see any choice there). Does anyone know how MATLA... 5 Aug 2010 13:33
Cell array to serial date? I am importing data that is a cell array of dates. I would like to be able to convert this to an array of serial dates so I can do some basic manipulation (like how many minutes between the first and last time stamp). Whos output bellow as well as the first couple in the series. Thanks! Name Size ... 11 Aug 2010 16:56
Read data from txt Hello there, I ve got a txt file which have some text and the data that i want. How can i ignore the text and o read only the data which is some numbers?? ... 5 Aug 2010 12:26
Plot order and '-x' in plot Hello, I am trying to work through the Fast Fourier Transform tutorial at http://www.ele.uri.edu/~hansenj/projects/ele436/fft.pdf which I found using Google. The code that I am trying to run is the following (also given on page 3 of the above tutorial). I have tried my best to reproduce it accurately from the cod... 5 Aug 2010 13:32
How can I do set affinity for compiled MATLAB DLL, forcing DLL only uses certain CPUs? Compiled MATLAB DLL may occupy all available CPUs, it made other threads no chance to take turn. Is there a way to force DLL only use the specified CPUs? thanks for any suggestion, Mathew ... 5 Aug 2010 12:26
Solve ODE Ok...my math skills are rusty and I need to solve an ODE. I can do this numerically with the ODE23s solver in Matlab, but am looking for a semi-analytical (symbolic) solution. Can anyone help? the ODE is as follows: dy/dt=G1(t)-G2(t)*y Note that I will obtain the time varying functions, G1(t) & G2(t) from exp... 6 Aug 2010 09:21
Question about solver in Simscape Hi, I am currently trying to model the bypass flow in a turbofan engine. In order to do this I am using a performance map which is approximated via a 2nd degree polynomial. All the components are currently highly simplified. I have created my own nozzle, diffuser and fan components for now using isentropic ther... 9 Aug 2010 13:26 |