Partial differential equ solving
I have to solve the equation by matlab dg/dt= -(hk/m)dg/dr+ (2*a*r/h)dg/dk with initial condition g0 How can I solve it? Can anyone help me? ... 20 Oct 2009 05:38
STANAG 4539
As part of the demos for Simulink there is a model for a MIL-STD-188-110B modem. Is there somewhere around the world also a model for STANAG 4539 modem ? STANAG 4539 is also a military standard which is free available. ... 20 Oct 2009 04:32
Nearest Neighbour Element in a Matrix
I would like to quickly determine the nearest neighbour to an element in a matrix that contains a value>=1. For example if I have the matrix data=[1 1 1 1 0 0; 0 1 1 0 0 0; 1 1 1 1 0 0]; and the reference matrix element (3,6) then the desired output would be element number (3,4) similarly for reference matrix ... 20 Oct 2009 03:27
I18n:LocaleDatabaseNotFound
I am using matlab r2009b engine in vc2008(windows XP). At first, I added all dll needed in system32. It says ICUData not found. Then I added icudt40l.dat in system32. Then it says I18n:LocaleDatabaseNotFound - Cannot find the MATLAB locale database.The MATLAB process default locale is set to "en_US.US-ASCII". When I u... 20 Oct 2009 02:22
Shadow removal
"Anil N" <anilpn(a)yahoo.com> wrote in message <h5r5ns$sb5$1(a)fred.mathworks.com>... Hi, I need a code or method to remove shadows from an image, can any one help me please. Anil N Hi Anil Have u got any algorithm? I am also looking for the same. I got some papers which explain some algorithms. I am f... 19 Oct 2009 16:25
GenMakeFileAndBuild Error
Hello! I have the same problem, I use Matlab 2008a & Compiler C30 (MPLAB). I want to generate c-code from simulink model, but I have always the same error 'Error building Real-Time Workshop target for block diagram 'bpsk'. MATLAB error message: Error using ==> genMakefileAndBuild at 1138 Error(s) encountered while... 19 Oct 2009 15:17
Matlab outputing wrong transfer function?
I was testing Simulink and I placed a 'du/dt' block between and input and output block, then ran [A,B,C,D] = linmod('system') [num, den] = ss2tf(A,B,C,D) this returns the transfer function as 0/1. Shouldn't it be s/1 ? ... 19 Oct 2009 16:25
fminsearch Subscripted assignment dimension mismatch.
I'm trying to use fminsearch to find the minimum values of two functions, but I'm getting this error message: Error in ==> fminsearch at 176 fv(:,1) = funfcn(x,varargin{:}); Error in ==> calc_max_fy at 36 Fy_inner=fminsearch(Fyi,alpha); Can anyone help me figure out the problem with my code? Thanks in advance... 19 Oct 2009 13:02
How create .exe from MatLab
"Mamata Kukreja" <mamata_kukreja(a)yahoo.com> wrote in message <fq9bus$6cd$1(a)fred.mathworks.com>... "Mamata Kukreja" <mamata_kukreja(a)yahoo.com> wrote in message <fq992e$kq4$1(a)fred.mathworks.com>... Hello, I want to convert a .m and .fig file into an exe or any other form such that it runs without showing ... 19 Oct 2009 13:02
filtfilt function
Hi, I want to create a 4th order zero-phase digital butterworth filter with a cutoff frequency of 10Hz. Sofar I was using: Fs=1000; % sample frequency Fc=10; %cutoff frequency [B,A]=butter(4,Fc/(Fs/2)); signal_filt=filtfilt(B,A,signal); Now, I have two questions: 1. I just read in the help function tha... 19 Oct 2009 10:48