blockproc I = imread('sample1.tif'); I = im2double(I); T = dctmtx(8); dct = @(block_struct) T * block_struct.data * T'; B = blockproc(I,[8 8],dct); ??? Undefined function or method 'blockproc' for input arguments of type 'function_handle'. Sir please help me to solve this. ... 9 Aug 2010 07:54
Slicing with a surface generated from 'isosurface' function Hello, I'm writing to see if anyone can help me with the following coding issue. I have a series of 3-D (cartesian coordinates) Temperature datasets. In the first of these data sets, I'm able to use the 'isosurface' function to generate a list of vertices matching a certain temperature value. I'd like to use this ... 9 Aug 2010 04:41
question about C MEX file Hi, all I am working on C MEX. When I compile c source code, I hope to add additional include directories to c compiler as options. So I needn't to put the required header files into the same place. Thanks in advance. Best Regards Jogging ... 9 Aug 2010 07:54
Ant colony algorithm (ACO) Jurimaya_Surd <umerisb(a)hotmail.com> wrote in message <ef02976.1(a)webx.raydaftYaTP>... Finally its done .. i programmed it for 'Odyssey of Ulysses 22 node probelem' .. but it takes a lot of time to iterate coz of large no of cities .. sometimes it gets struck at local minima .. the best possable result achiev... 9 Aug 2010 04:40
2D Gaussian Multipeak Fitting I have similar problem: I have a 2D data, xy plane is my pixels and z axis is the values corresponding to each pixel(like an image). and there is more than one peak. I want to model my z data with Gaussians, how can I fit multi peak Gaussians to my data? Is there such a package of Matlab or any other way, code etc.?... 9 Aug 2010 17:54
Two-tank system Hi all, I have a question regarding a two-tank system. Basically there is an inflow into tank 1 that then flows into tank 2 and finally there's an outflow. The equation describing tank 1 is: A1dH1/dt = Qv1 - Qv2 and tank 2 is: A2dH2/dt = Qv2 - Qv3 where A1 and A2 = 0.01m^2 Also, Qv2 = Cd2a2*sqrt[2g (H1 - H2)] ... 9 Aug 2010 03:35
Start m-file when new csv-Data available Hello everybody, I have a programme, taht calculates signals an saves them in a csv-Data. Then I have a m-file that imports this csv-Data an works with it. Now I want the m-file to start automatically as soon as a new csv-Data is generated. Is this possible? ... 9 Aug 2010 11:12
2D multivariate Gaussian fitting I have a 2D data, xy plane is my pixels and z axis is the values corresponding to each pixel(like an image). I want to model my z data with Gaussians, how can I fit multivariate Gaussians to my data? Is there such a package of Matlab or any other way, code etc.? Thanks a lot ... 9 Aug 2010 16:47
Frequency Calculation Hi everyone, The frequency of our device is 2.25 MHz while in the following program is 100 Hz. The question is how to change the parameters in the following program to have about 2.25 MHz: Please Help me if you can? Thanks clear all; close all; clc T = 0:0.001:2; F=0:.1:100; % frequency constant [... 9 Aug 2010 05:45
Measuring flowrate out of an accumulator Is it possible to measure the flowrate out of an accumulator? I set up a very simple model where I connected the output of a gas-charged accumulator to a hydraulic flow-rate sensor as shown in the image I have linked to: http://www.4shared.com/photo/eOnNtMLF/accumulator_measureExitFlowrat.html the exit of ... 11 Aug 2010 07:05 |