Symbolic toolbox in r2007b
How do you define the varible x and y varible in matlab r2007b? I tried to do sym x y and syms x y, but it keeps on saying "??? Undefined function or method 'sym' for input arguments of type 'char'." ... 14 Aug 2008 05:14
CHI2GOF test response
Hi, I'm trying to perform a chi2test and I'm not able to interpret the result of tis function. Here is the console window (lat is my test distribution): nf = normfit(lat); [h,p, stats] = chi2gof(lat,'cdf',@(x) normcdf(x,nf), 'nbins', 30, 'nparams',2) h = 0 p = NaN stats = chi2stat: 1.30... 1 Aug 2008 03:47
64-bit mex problems
Hi Folks I am trying to compile some mex files written in fortran, and am getting the following error: LIBCMTD.lib(toupper.obj) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' Not sure what is going on here. I do want to compile in 32- bit mode on my x64 XP machin... 25 Jul 2008 06:20
pixel list from bounding box?
Can anyone suggest a better way to do the following? I want a pixel list (x,y), not linear indices, of a region in an image specified by a bounding box ... Below is a for- loop sort of brute force approach, but I get the impression this isn't a good way to do this in MatLab. Any advice? function [xlist yl... 24 Jul 2008 12:54
matlabpool error
I am using Matlab R2008a on a Lenovo X60 Tablet with Dual Core. I have a problem to start "matlabpool." For example, if I run the following test code: clc; clear all; matlabpool local 2 parfor i = 1:8 A(i) = i; end A It will give me an error message Starting matlabpool using the parallel configurat... 24 Jul 2008 17:02
Using COM in Matlab
Dear all, I'm trying to use a set of COM objects in Matlab. I read a lot of resources (Matworks and others) about it, but can't get it work. I hope someone is willing to help me! Some background info: the dlls are supplied with the Tobii Eyetracker (www.tobii.com) SDK. With the SDK examples are shown to u... 23 Jul 2008 09:10
MATLAB - MODTRAN
"Ashwini Deshpande" <vd.ashwini(a)mathworks.com> wrote in message <fuk4h2$2d4$1(a)fred.mathworks.com>... Is there any way to read the MODTRAN input and output from the MATLAB ???? p.s: MODTRAN is a software which predicts the atmospheric path radiance and transmission over a wide range of environme... 21 Jul 2008 06:53
matlab-command for expand axes
Hi, I have just a small problem. What is the matlab-command to "expand axes to fill figure". This is a check- box in the Export-Setup of figures. Even after searching very long, I didn't find a solution how to write it in a Matlab-Code. Thank you very much!! ... 18 Jul 2008 13:24
xcorr (cross-correlation)
Hi, I am using the function xcorr (cross-correlation)as follows: c = xcorr(x,y,'coeff') by using 'coeff' it normalizes the sequence so the autocorrelations at zero lag are identically 1.0. I would like to calculate the cross-correlation coefficient between vectors x and y at different lags but without n... 21 Jul 2008 13:04
Can pdepe handle coupled eqns?
Hi, I have the 2 eqns ( D denotes partial derivative): DpDr=v^2/r with p(1)=1; DvDt=(1/r)DDr[r(p+1)DvDr] + some fn of p,v. bc: v(1,t)=1, v(2,t)=0 v(r,0)=0. So m=1,c=1,f=(p+1)DvDr s=...etc. But how do I handle the first eqn?I only have one boundary condition for it.Can i solve these 2 together with pdepe?please s... 10 Jul 2008 01:01