pdepe: discontinuous source
Hi. I've built a radially symmetric 3D diffusion model using pdepe in MatlabR12. My source term is highly discontinuous (fluctuates up and down at multiples of 20 (source = 0 or 20 or 40 or ...) several times over the tspan. The help file says that "discontinuities in (the source) due to material interfaces are p... 19 Jan 2010 03:34
ocr matlab
i m making an urdu ocr in matlab, i want to use database in which i will store unicode of words and will match with my image line by line.... please help me how to do it??? and reply me on email ... 14 Jan 2010 16:55
String in function input
How can I enter string inputs into a function within a loop? I want to use the function [d,A]=strdist(r,b,krk,cas) in a loop since I have a number of r and b inputs for which I need the distance. The problem is that inputs r and b have to appear in a string form for the function to work: e.g. strdist('MATLAB',... 14 Jan 2010 18:02
CRC-32 for IEEE 802.11-2007
Subject: From: deepthi <gdd0014(a)londonmet.ac.uk> Dear Sir, I am trying to calculate the FCS Feild of a MAC Frame (IEEE 802.11-2007 p.70). bits='000001000011000010000000000001110000001111000110110010101110010110011000000000000110011110001010110111101110110110011000100010001000100010001000100010001000100010001... 14 Jan 2010 15:47
difficulty in recognizing a variable in a function
I am having a strange problem. here is the scenario: in a function I do the following: load a mat file that loads the variable X call function(X). Matlab comes back saying X not defined. If I do the following; load a mat file that loads the variable X whos X; call function(X). it works ?!?!?!?!?! ... 15 Jan 2010 10:27
Subcript
Hi you, First, we have matrix a=[ 1 2 3 4 5 6]. I want to take values from end to begin (like that: 6 5 4 3 2 1). How can I do in Matlab window? Please help me. Thanks & best regard! ... 14 Jan 2010 11:15
Build a circle as the template
Hi all~ I want to build a circle as a template to match target images. I created a matrix in which I filled in "1" manually. The image is shown in http://www.wretch.cc/album/show.php?i=shammayyy&b=1&f=1846461300&p=0 Because I would like to have the template minus the target image in every pixels. And find out in w... 14 Jan 2010 11:15
Relational Operators
Why in matlab 7.1 0<0.5<1 is false while : 0<0.5<2 is true 0<0.5<=1 is true Thanks ... 14 Jan 2010 10:08
error using the moving average function
output = tsmovavg(tsobj, 's',Lag, dim) My vector of prices "Px" is a 2701x1 vector I want to compute the 30 days moving average using: output=tsmovavg(Px,'s',30) and I am receiving an error "lag must be scalar greater than 0 or less than the number of observations". I feel that I am misinterpreting the inputs t... 14 Jan 2010 12:24
Error using of nlinfit function
i use the nlinfit function to estimate required coeffcients, but error using message is as belows: The model function 'ZeroPara2' generated the following error: Error: File: D:\MATLAB71\work\ZeroPara2.m Line: 6 Column: 65 Expression or statement is incorrect--possibly unbalanced (, {, or [. My function M-file is... 14 Jan 2010 06:51