| Thread | Last Post | Replies |
|
| 2D nonmonotonic interpolation | 18 Jul 2008 19:10 GMT | 2 |
hi, i am trying to find a 2D nonmonotonic interpolation. my data is z(x,y), but again the x and the y are nonmonotonic data.
|
| raster images and imshow(), image() problems | 18 Jul 2008 19:04 GMT | 1 |
Hello, im trying to create a 3 dimensional matrix to store 10 640x480 raster images. One set of these images i need to apply thresholding to. I first store the images into matrices the following way
|
| Working with cells and matrix arrays | 18 Jul 2008 19:02 GMT | 9 |
I am loading a file of stock historical prices: File fid is a list of (date, Price). while fid tline = fgetl(fid);
|
| Is there any way to vectorize this code... | 18 Jul 2008 18:55 GMT | 1 |
Can anyone help me in vectorizing this code.... M & N are the boundaries..... for theta = 0:pi/180:2*pi; x = cent_x + radius*sin(theta);
|
| Transcendent equation | 18 Jul 2008 18:01 GMT | 2 |
Hey there, I want to solve the following equation for "m". How can I make MATLAB solve the problem? D1, D2 and A are given values. 0 = [exp(m*D1) - 1]/[1 - exp(-m*D2)] - A
|
| Including one line of C code in Real Time Windows Target | 18 Jul 2008 17:46 GMT | 1 |
I have a RTW model which runs as I want to. All I want to do is add an if block which when satisfied executes an exe file. One way I thought of is to make a subsystem and add the following custom code c-code using the Model Source block: #include <stdlib.h> #include <process.h>
|
| "program terminated" message by mail | 18 Jul 2008 16:52 GMT | 4 |
I've been doing a long-hours-run analysis in MATLAB in which I used "sendmail" in several parts of the script with the intention of having been informed about the process. It worked superb till now.
|
| Dwork in m-file s-function | 18 Jul 2008 16:43 GMT | 1 |
Hi, I'm writing a M-file s-function and I need to save an object created in the 'setup' function in a Dwork vector to use it in the 'Outputs' function.
|
| Turn a vector to a triangular matrix | 18 Jul 2008 16:03 GMT | 4 |
Does anyone know how to turn a vector to a upper triangular matrix? For example, I have a vector [1 2 3 4 5 6 7 8 9 10],and I want to turn it to a matrix
|
| Assigning values to arrays returned from mxCreateNumericArray | 18 Jul 2008 16:01 GMT | 3 |
Hi, I'm having trouble trying to assign values to a 2D array after having called mxCreateNumericArray. I would normally expect for the 2D array to be stored as a 1D array in column order, but this doesn't seem to be what I'm seeing. I've
|
| limit callback function? | 18 Jul 2008 16:00 GMT | 4 |
is it possible to limit the callback function? for example, the gui button can only be pressed for 10 times, then the callback function is not valid anymore after 10 times.
|
| How to speed this up? | 18 Jul 2008 15:47 GMT | 4 |
blok=[15 15]; size(r)=320 240; fun=@(x) mean(x); r=colfilt(double(r),blok,'sliding',fun);
|
| Looping with Regexp | 18 Jul 2008 15:27 GMT | 4 |
Hey everyone! So I'm trying to run a loop with regexp. Here's the quick program I wrote... %---START PROGRAM---
|
| Sum of Gamma distributed variables, Moschopoulos | 18 Jul 2008 15:13 GMT | 1 |
For the sum of independend random gamma variables, I have used the exact formula of Moschopoulos (1984), which I have implemented in Matlab. The problem is that is doesn't work. I know that the problem lies in the gamma(p+c), it approximate Inf to fast. I don't know how to scale ...
|
| ksdensity width | 18 Jul 2008 15:08 GMT | 2 |
I'm working with ksdensity sw module and I would like to know how the width of the window is chosen; in particular, I' working with Gaussian Kernel (the default option), I think that the width depends on the number of samples, but
|