Estimation of sensor MTF for downsampling of an image
Hi Actually i want to downsample an image based on information provided by sensor MTF , Can any one help me how to proceed with it and how one can estimate sensor MTF Thanks ... 23 Nov 2009 06:19
close excel file using matlab
Dear Sir Shall i ask how to close excel file using matlab. i used (winopen) to open the excel file (i must open and close it using MATLB relating to my application) . Thanks in advance ... 23 Nov 2009 03:03
wound rotor induction generator modelling
Dear All, i am working a on project that requires me to model a wound rotor induction generator on Matlab Simulink ? software. it is required to use Simulink ? software to model the motor/generator and its operation using a 3-phase PWM inverter. i have difficulty in doing this since i do not have much experience usin... 23 Nov 2009 01:58
Anonymous, recursive, functions
Can I create an anonymous, recursive, function? Here's the function I have now: function a=HW8Q1(An, i) if i==0 a=0; else a=i*An(An, i-1) + 2*factorial(i); end end But this is too simple to make a whole function from and I don't want to litter my M-file with tons of little fun... 2 Dec 2009 16:40
Simulink accelerator problem
My simulink model runs fine in normal mode. In Accelerator mode I get the following error messages, which I find not very helpful. I have two compilers installed on my windows vista 64 bit machine as shown below and I get different errors depending which I choose in mex -setup. Any idea on what to do to fix or find the... 15 Dec 2009 08:56
Plotting percentage of data points in within a given range
I have a set of data where each patient gets a row and each column is a measurement at a certain time. I'm wondering if there's function that will allow me to plot the percentage of patients whose measurement is within a given ratio of a specified baseline over time. For example: | Time 1 | Time... 23 Nov 2009 00:53
event study
Hi Folks, Does anyone programmed an basic event study analysis in Matlab including: 1. standardized abnormal returns (SAR) 2. sign and rank tests 3. other tests If one can share this code I would greatly appreciate that. Thanks!! ... 22 Nov 2009 17:11
row by row multiplication by vector
I expect to be embarrassed by the answer to this, but... I need to multiply each row of a matrix by the same row in a vector. To do this with a loop is simple, but seemingly inelegant. Any better thoughts. The loop code would like like: x = magic(3); y = [1,2,3]; for i = 1:3 t = x(i,:)*y(i) end Thanks! ... 22 Nov 2009 16:03
membership function parameters from workspace
Hi all, can someone tell me if it's possible to insert avariable as a parameter of a membership function? I'd have to set external bounds of some membership function depending on external conditions. My membership function look like this [Input4] Name='dnfz' Range=[0 1439] NumMFs=5 MF1='n':'gauss2mf',[109.8 -30... 22 Nov 2009 09:23
Lee filter
i need help to make lee filter coding ... 22 Nov 2009 08:16