How to create a 3D matrix based on the vectors of X,Y,Z?
Now i have some points with X, Y and Z values, and i use a given function to browse the volume. The function needs a input argument "vol", which is a three-dimensional matrix. The first dimension of "vol" is the y-axis,the second the x-axis, and the third the z-axis. How can i created the vol based on my X,Y,Z values? ... 1 Mar 2010 09:09
How to suppress disp() and printf()?
Ì am calling a *.p file that has hard-coded text output. This is adding noise to my scripts. Is there any way to call a function but disable any text output from it? Something like "echo off"? ... 1 Mar 2010 11:22
gui and simulink
Hello, I need help but in this forum nobody answer me. I need to connect simulink with a gui, this two ways http://www.mathworks.com/matlabcentral/fileexchange/21261 http://ralph-schleicher.de/pub/matlab/slui/slui-2008-08-30.zip are similar to what I need, but I neet to work with several axes. Calling to the ... 1 Mar 2010 01:31
3D Heatmaps or Distancemaps? Please help!!!
Hi! I have an empty volume of a cuboid. This volume is permanently filled with points. This points are decimal (x,y,z)-coordinates. And there lies my problem: Before a new point is added to the volume, I will check if in the neighborhood (radius r) of the proposed position another point already exists (in the volume... 1 Mar 2010 01:31
Ricianchan and Doppler frequency spread modeling
Hi, I am using the "ricianchan" command to create my fading channel and then use the "filter" command to filter a baseband signal. However, I am left wondering if this setup will accurately model the Doppler frequency spread. Since the Doppler frequency spread is function of the carrier’s center frequency,... 28 Feb 2010 23:21
"Fit could not be computed: complex value computed by model function"
Hello everyone, So I'm using the interactive curve fitting tool to fit data to a custom function: a * (b - (x-c)^(3/2)) The problem is that whenever x-c is negative, (x-c)^(3/2) becomes complex and so matlab is unable to compute the fit, giving an error message similar to the one in the title. Is there any... 2 Mar 2010 12:22
Reproducing contour plots from contourc
Hi, Is there a simple way to reproduce contour plots using the pre-calculated contour matrix (e.g., from contourc) using a higher-level function? I'm calculating contours from large images using batch processing, and it seems that I should be able to use the contour matrix as an input to generate select contour plot... 28 Feb 2010 23:21
again: problem with using function to flip any matrix and give it a new name
Forgive me if this post seems redundent to you, but I still have problem when trying to use self-defined function to flip any matrix and give it a new name by adding a suffix "_rows_reversed". The function I wrote is: function reverse(var_input) getname=@(varargin) inputname(1); var_name_prefix = get... 28 Feb 2010 23:21
bootci usage for a newbie to bootstrap methods
I need to make a confidence interval using bootstrap methods for some non-parametric data. The remainder of the statistical analysis I have done in MATLAB, so I want to do this part in MATLAB too to save some time. I know bootci is what I want to use in MATLAB. Unfortunately, my knowledge of bootstrap methods ends ... 1 Mar 2010 11:22
Exit Debug Mode clears breakpoints (sometimes)
Does anyone know why sometimes the icon for "Exit Debug Mode" stops debugging and clears the breakpoints and sometimes it just stops debugging (the way I want it to work)? Thanks, -Jeff ... 28 Feb 2010 21:09